This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld giving problems when trying to build a cross-compiler.
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