This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: teaching ld to look under 64 bit libraries when cross compiling
- From: Nick Clifton <nickc at redhat dot com>
- To: Hector Oron <hector dot oron at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 24 Dec 2007 17:27:25 +0000
- Subject: Re: teaching ld to look under 64 bit libraries when cross compiling
- References: <dd0a3d700711281110g70e60ea6v91fa84c585284744@mail.gmail.com>
Hi Hector,
I have been patching binutils since version 2.15 with the following
patch so ld looks under 32-64 bit libraries (tested on Debian
distribution).
There is one small bug in your patch:
++ if [ "${TOOL_LIB}" != x ]; then
This should be:
if [ "x${TOOL_LIB}" != "x" ]; then
otherwise the patch is fine and I have applied it as such, along with this
ChangeLog entry.
Cheers
Nick
ld/ChangeLog
2007-12-24 Hector Oron <hector.oron@gmail.com>
* genscripts.sh (LIB_PATH): Include both {target_alias} and
{TOOL_LIB} in the search paths for multilibbed targets.