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
> Even if it is on the same machine, PATH may be different for different
> users.
Right, so we don't use $PATH.
> 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
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.
> The least we can do is to make the gcc configure to match the gcc
> driver
Not for cross-hosted builds we can't.