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


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