Problems with gcc.
DJ Delorie
dj@delorie.com
Wed Sep 13 11:32:00 GMT 2000
> $ gcc prova.cc
> /cygdrive/c/TEMP/ccTSU)Ej.o(.text+0x20):prova.cc: undefined reference to
> 'cout'
> /cygdrive/c/TEMP/ccTSU)Ej.o(.text+0x20):prova.cc: undefined reference to
> 'ostream::operator<<(char const *)''
This isn't a cygwin problem. When you build a C++ program, you either
have to use the C++-aware version of gcc (g++) or manually specify
-lstdc++ on the command line to link the C++ libraries.
> The directories c:/cygwin/usr/bin and c:/cygwin/usr/local/bin are void.
> Is that normal?
If you are looking with explorer, yes. The first has /bin mounted
over it and the second is intentionally empty.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list