teaching ld to look under 64 bit libraries when cross compiling

Hector Oron hector.oron@gmail.com
Fri Nov 30 11:42:00 GMT 2007


Hello Greg,

  Yes, that is what it does. Maybe you could try it.
Is there any chance to get it in binutils sources?

2007/11/29, Greg Schafer <gschafer@zip.com.au>:
> Hector Oron wrote:
>
> >   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).
> >
> >   Comments are welcome
>
> I have no authority to comment on the actual patch, but I'd just like to
> chime in and say that I've noticed when using `--with-lib-path=/foo/bar'
> in an x86_64 multilib configuration, the 64-bit dirs are not added to the
> ld SEARCH_DIRS statements as one would expect. This would appear to be a
> deficiency in ld/genscripts.sh. I'm not sure whether your patch addresses
> this particular issue.
>
> Regards
> Greg
>
>
>


-- 
 Héctor Orón



More information about the Binutils mailing list