This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: About prefix on linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]