About prefix on linux

Bo Johansson bo.johansson@mbox2.swipnet.se
Fri Sep 12 08:06:00 GMT 1997


hjl@lucon.org (H.J. Lu) writes:

> 2. Nothing is overridden. You can always get back your old compiler
> by
> 
> # gcc -V version -b xxxx

This doesn't work if your old compiler supports ada and/or pascal because
they aren't supported by egcs yet. I know this because I accidentaly
overwrote my old gcc with the egcs one this morning :) and found
my self without a working ada compiler.

> BTW, one thing comes to mind is now you have to add -L/usr/local/lib
> just to get the right libstdc++.
I solved this by moving the libstdc++.so link and libstdc++.a to the compiler
directory ie. /usr/local/lib/gcc-lib/i586-linux/egcs-2.90.07 .

Regards Bosse



More information about the Gcc mailing list