This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How to build a cross-ld that behaves like a native ld?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jon Ringle <jringle at vertical dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 27 Jan 2006 16:06:07 -0500
- Subject: Re: How to build a cross-ld that behaves like a native ld?
- References: <200601271602.44994.jringle@vertical.com>
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