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
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 13 Mar 2003 23:05:32 -0500
- Subject: Re: Wrong as/ld picked by gcc configure
- References: <20030313171309.A23745@lucon.org>
On Thu, Mar 13, 2003 at 05:13:09PM -0800, H. J. Lu wrote:
> When I have /usr/local/bin in PATH, new as/ld in /usr/local/bin and
> configure gcc with --prefix=/usr/gcc-3.3, gcc configure won't find
> as/ld in /usr/local/bin and get the wrong ones instead since it won't
> check /usr/local/bin for as/ld. However, the resulting gcc does use
> as/ld in /usr/local/bin. What is the best way to fix it?
I think that configure should search $PATH, personally. I've just
given up and I specify AS=`which as` in the environment.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer