This is the mail archive of the binutils@sourceware.org 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]

Re: teaching ld to look under 64 bit libraries when cross compiling


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.


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