Sender: nate AT cartsys DOT com Message-ID: <375DAE01.3B3FC75@cartsys.com> Date: Tue, 08 Jun 1999 16:57:53 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Beginner question References: <7jjtkc$4ts$1 AT news DOT netway DOT at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Christian Kastner wrote: > > I would like to know if somebody could help me with this problem: > > I always run the "Hello World" program to test a compiler I just installed, > but in DJGPP's case, I can't compile it, the compiler always says > > C:\WIN\TEMP\cccydbbl(.text+0x15):hello.cpp:undefined reference to 'cout' > C:\WIN\TEMP\cccydbbl(.text+0x1a):hello.cpp:undefined reference to > 'ostream::operator<<(char const *)' > > The program works with the Symantec-C++-Compiler, so I guess I goofed up the > installation somewhere allthough I did it according to the readme-file. Did you use `gxx' instead of `gcc' to compile? The readme does say to do that. If not, please post the complete command you did use. > I would also like to know which compiler you guys would prefer, Symantec or > GCC. This isn't exactly the best place to get an unbiased opinion. Yes, I prefer GCC. -- Nate Eldredge nate AT cartsys DOT com