I have down loaded 'gcc-4.1.2.tar.bz2' and build the
default version and installed in in /usr/local on
my system. I'm running on Kubuntu Linux and used gcc
version 3.4.6 to compile gcc-4.1.2.
I tried compiling a C++ program that I have. All of the
C++ files compile ok, but during the linking phase,
I get numerous error messages. The first of which is:
>>> test.o: In function
`__static_initialization_and_destruction_0':/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iostream:76:
undefined reference to `std::ios_base::Init::Init()'
It looks to me like the libraries are not being found right.
Can anyone help me on how to go about getting the program
to link properly?
Thank you in advance for any suggestions.
Jim Anderson
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus