GCC compiler in a cygwin environment.
Johansson Mikael (mj)
mikael.mj.johansson@volvo.com
Tue Mar 19 04:55:00 GMT 2002
Hello.
I have gcc installed in a cygwin environment on win NT.
I cant compile c++ -code to executables in that environment.
>From the linker stage I get the following error message:
/usr/tmp/ccRILazb.o(.text+0x1f):Hello.cc: undefined reference to `endl(ostream &)'
/usr/tmp/ccRILazb.o(.text+0x2c):Hello.cc: undefined reference to `cout'
/usr/tmp/ccRILazb.o(.text+0x31):Hello.cc: undefined reference to `ostream::operator<<(char const *)'
/usr/tmp/ccRILazb.o(.text+0x44):Hello.cc: undefined reference to `getch'
If anyone has a clue on this please let me know.
Best regards.
MJ
More information about the Gcc-help
mailing list