This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: About prefix on linux
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: About prefix on linux
- From: Bo Johansson <bo dot johansson at mbox2 dot swipnet dot se>
- Date: 12 Sep 1997 17:00:37 +0200
- Cc: egcs at cygnus dot com
- References: <m0x9PRu-0004ecC@ocean.lucon.org>
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