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: 18 May 2004 00:47:15 -0700
- Subject: Re: configure problem for cross compilers
- References: <s0a9c36b.034@emea1-mh.id2.novell.com>
On Tue, 2004-05-18 at 00:04, Jan Beulich wrote:
> While I understand the purpose, this seems a little redundant then:
> DEFAULT_ASSEMBLER and DEFAULT_LINKER appear to serve the same purpose..
DEFAULT_LINKER is set by the --with-ld=X option. LD is an environment
variable. Yes, they are similar, but they were invented at different
times for different purposes, and neither is a complete replacement for
the other. We need both for now.
> I'd still think that this check should be protected by an additional
> check for a non-cross build (and then indeed use LD rather than
> LD_FOR_TARGET).
The code does this already, since Feb 12. Try looking at current
sources.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com