teaching ld to look under 64 bit libraries when cross compiling

Nick Clifton nickc@redhat.com
Mon Dec 24 17:27:00 GMT 2007


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.



More information about the Binutils mailing list