This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: configure problem for cross compilers
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2004 14:59:14 -0700
- Subject: Re: configure problem for cross compilers
- References: <s0a894da.052@emea1-mh.id2.novell.com>
On Mon, 2004-05-17 at 02:33, Jan Beulich wrote:
> That would be my understanding, too. However, gcc/configure.ac at line
> 1691 (3.4.0 released code) uses LD (as well as AS a few lines earlier)
> to determine the linker to use for the target. I would call this
> incorrect (it should use LD_FOR_TARGET here instead
Yes, it should be LD_FOR_TARGET. This is already fixed in mainline
sources. Fixed by Alexandre Oliva on Feb 12. The AS use is still
broken though. It should be fixed the same as as the LD use has already
been fixed.
The AS and LD checks are there because users are allowed to override
these variables in special cases, just like one can specify CC=gcc when
configuring. Thus we must check if the environment variables are set.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com