ld giving problems when trying to build a cross-compiler.

Eric Christopher echristo@redhat.com
Mon Apr 23 12:18:00 GMT 2001


Richard Lefebvre wrote:
> 
> I used the following for binutils:
> 
> ../binutils-2.10.1/configure --host=$HOST --target=$TARGET
> --prefix=/opt/cross-alpha
> 

For host cross host you also need to specify where the headers and
libraries for the target system reside.  For example, if you have them
in /targets/alpha/include,lib you would specify for configure:

.../configure --target=alpha-unknown-linux
--with-includes=/targets/alpha/include --with-libs=/targets/alpha/lib
--prefix=/where/to/install

-eric

-- 
I will not dissect things unless instructed



More information about the Binutils mailing list