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


>...
>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



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