This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


|  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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]