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: How to build a cross-ld that behaves like a native ld?


On Fri, Jan 27, 2006 at 04:02:44PM -0500, Jon Ringle wrote:
> Hello,
> 
> I'm building a cross toolchain for use inside scratchbox 
> (http://scratchbox.org). One thing that scratchbox does is go to great pains 
> to make your cross toolchain looks and acts like a native toolchain. One 
> thing that they did in previous versions of binutils is to patch 
> ld/genscripts.sh so that NATIVE=yes. This approach doesn't seem to work with 
> binutils-2.16.1.
> 
> Can I get any advice as to how I can generate a cross ld that acts like a 
> native ld in terms of how it searches for libraries.

Use --with-sysroot.

-- 
Daniel Jacobowitz
CodeSourcery


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