cout not in libg ++ simple hello world does not work ?

Carlo Wood carlo@runaway.xs4all.nl
Sun Sep 6 07:49:00 GMT 1998


|  here is the error[root@maitre dump]# egcs -o bit bit.cpp
| /tmp/cc09NfV8.o(.text+0x9): undefined reference to `cout'

Use the C++ compiler, not the C compiler.

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>



More information about the Gcc mailing list