This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

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


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)


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