I installed gcc 2.7.0 and the latest libg++ and with that, managed to
compile a number of C++ programs. Then I needed to recompile my kernel,
and gcc was unable to do that for some reason - I fixed it by upgrading
to the latest libc, ld.so and kernel. So now that I've got my kernel
rebuilt, I want to go back to work on my programs. But g++ gives me
an 'Internal Compiler Error' on just about every non-trivial C++ program.
If I use '-b i486-linuxaout', though it compiles the .o's just fine, but
when it goes to link, it gives me 'Undefined symbol: L1' in two of my
modules which happen to define large static arrays.
This is the first time I've installed libc, libg++ or ld.so - so I've
probably done something wrong. If anybody's got a configuration like
mine, could you possibly send me a 'ls -l ; file *' from /lib and
/usr/lib or otherwise give me a clue what's wrong?
- Steve