This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure problem for cross compilers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]