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: "Jan Beulich" <JBeulich at novell dot com>
- To: <wilson at specifixinc dot com>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 18 May 2004 09:04:09 +0200
- Subject: Re: configure problem for cross compilers
>...
>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.
While I understand the purpose, this seems a little redundant then:
DEFAULT_ASSEMBLER and DEFAULT_LINKER appear to serve the same purpose...
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).
Jan