This is the mail archive of the
mailing list for the binutils project.
Setting LD tool default to ld breaks configure check for ld used by GCC
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sources dot redhat dot com
- Date: Mon, 16 Dec 2002 17:08:28 -0500 (EST)
- Subject: 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.
J. David Anglin firstname.lastname@example.org
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)