[PATCH] scan for i*86 directories on x86_64

Alan Modra amodra@bigpond.net.au
Mon Dec 10 01:32:00 GMT 2007

On Sun, Dec 09, 2007 at 08:38:15PM +0100, Robert Millan wrote:
> Hi!
> When building elf32 code on x86_64, you typicaly want to scan for all
> the corresponding i*86 directories instead of just i386.
> This patch extends genscripts.sh so that it is possible to specify
> multiple targets in the TOOL_LIB list, and uses that to enumerate
> them in ld/configure.tgt.

a) tool lib really is just one specific directory.
b) x86 binutils doesn't search multiple ${prefix}/*/lib without
specifying an option such as --with-lib-path, so it isn't appropriate
for an x86_64 target binutils to do so.

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list