Setting LD tool default to ld breaks configure check for ld used by GCC

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Dec 16 14:14:00 GMT 2002


The toplevel configure script sets "LD=ld".  The ld used by GCC check
in the opcodes directory has the line 

  test -z "$LD" && LD="$ac_prog"

Thus, LD is never set to the linker used by GCC.  This causes problems
in cases where there are multiple linkers in use, and in my particular
case a link error building the shared libbfd.

Should LD not be set in the toplevel?  I imagine this will be a problem
for other packages as well.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Binutils mailing list