Mail Archives: djgpp/1999/06/08/19:58:48
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
- Raw text -