This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cout not in libg ++ simple hello world does not work ?
- To: zefrench at hotmail dot com (Martin Giguere)
- Subject: Re: cout not in libg ++ simple hello world does not work ?
- From: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Date: Sun, 6 Sep 1998 16:13:03 +0200 (CEST)
- Cc: egcs at cygnus dot com (egcs at cygnus dot com)
| 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>