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 02:00:50AM -0600, Loren James Rittle wrote:
> > I believe the logic behind the gcc configure is flawed. Should it use
> > the same approach as the gcc driver? If the gcc driver uses $PATH, why
> > does the gcc configure do it differently? It doesn't make any senses
> > to me.
>
> Hi H.J.,
>
> The Fine Manual in gcc/doc/install.texi is extremely clear on what
> happens when you do not tell configure exactly which as/ld to use. It
> explicitly says that it doesn't search $PATH (nor does the gcc driver
> to my knowledge unless you go well out of your way to force it to do
> so). It explicitly says where it will search. It explicitly says what
> you should do if you don't like the default rules for a given system.
The gcc driver calls pexecute which will use PATH unless MD_EXEC_PREFIX
is defined. It has been this way for a long time. Did I miss something
here?
H.J.