Date: Tue, 30 Jul 1996 17:50:33 +0200 (IST) From: Eli Zaretskii To: Jasper Hendriks Cc: djgpp AT delorie DOT com Subject: Re: Problem with undefined references in DJGPP v2.0 In-Reply-To: <4tfrbc$5e7@dinkel.civ.utwente.nl> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 28 Jul 1996, Jasper Hendriks wrote: > Im experiencing a problem when i compile (gcc test.cc) the following > program: > > #include > void main() > { > cout << "hello world!"; > } > > I get the following message: > test.cc(.text+0x37): undefined reference to `cout' > test.cc(.text+0x3c): undefined reference to `ostream::operator<<(char const > *)' Please download the DJGPP FAQ list (v2/faq201b.zip from the same place you get DJGPP) and read section 8.7 of the FAQ, which explains this.