Running "gcc -o test.exe gcc test.cpp" on a VERY
std::cout << "Hello, world." << std::endl;
// End Test.cpp
causes the following errors:
(.text+0x1f):test.cpp: undefined reference to `endl
(.text+0x2c):test.cpp: undefined reference to
(.text+0x32):test.cpp: undefined reference to
`ostream::operator<<(char const *)'
What is the problem? I am relatively new to GCC, but
I have installed all the all the most up-to-date
parts. I also have Visual Studio 6 w/ Service Pack 5
installed. Before installing Service Pack 5, I did
not have any such problems. My only guess is that
there are incompatibiltiesbetween MinGW and libraries
installed by SP5? Can anyone confirm? And if this is
indeed a problem, when will a patch be made available?