Telling gcc about the binutils
Jeffrey A Law
law@cygnus.com
Wed Jul 1 21:20:00 GMT 1998
In message < Pine.LNX.3.96.980701095106.7760A-100000@mailhost.sfb504.uni-mannheim.de >you write:
> after I have installed egcs 1.03a on a Sparc Solaris, I discovered that my
> installation was quite buggy. After this, I installed the binutils 2.9 but
> unfortunately gcc still uses the old utils it finds somewhere else.
> I changed my PATH in a way that egcs and the binutils are to be found
> first. But it did not help.
> After some grieving, I decided to do a complete reinstall (deleting
> objdir, new configure etc.), but gcc still uses the old binaries.
Use "gcc --print-search-dirs" to get a list of its internal search
paths. Those are checked before consulting the user's path environment
variables.
Odds are there's old binutils in one of the internal search directories.
jeff
More information about the Gcc
mailing list