This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Wrong as/ld picked by gcc configure
On Fri, Mar 14, 2003 at 12:36:07PM -0500, DJ Delorie wrote:
>
> > Even if it is on the same machine, PATH may be different for different
> > users.
>
> Right, so we don't use $PATH.
The gcc configure doesn't and the gcc driver does.
>
> > But right now the gcc configure may find a DIFFERENT as/ld which the
> > gcc driver actually uses.
>
> If there is an installed as/ld in the right place, they match. That's
Well, all I did for binutils are
# ..../configure
# make
# make install
But I do configure gcc with --prefix=/usr/gcc-3.3.
> what you're supposed to do. If you end up relying on $PATH, there's
> little we can do anyway, so we have to be as conservative as we can
> when configuring and as liberal as we can when running.
That doesn't mean anything. The gcc configure may find a newer ld than
the one used by the gcc driver.
>
> > The least we can do is to make the gcc configure to match the gcc
> > driver
>
> Not for cross-hosted builds we can't.
I never asked for that.
H.J.