cross x86->mips
Bo Thorsen
bo@sonofthor.dk
Thu Apr 12 05:00:00 GMT 2001
On Thu, 12 Apr 2001, Per Fransson wrote:
> I'm (still) having problems compiling gcc as an x86-hosted mips cross
> compiler. I configure like this:
>
> '../gcc-2.95.3/configure --with-gnu-as --with-gnu-ld --target=mips
> --prefix=foo'
>
> ...
> Can anyone help me? Pleeeeeeeeease...
This might be a stupid question, but as you didn't say so: Have you built
and installed (in foo like gcc) a crosscompiled binutils package?
Also, have you tried --target=mips-unknown-linux? For crosscompilation to
x86-64 we use --target=x86_64-unknown-linux, so this might apply to you
too.
And last tip: Try building just c support at first.
You might find it helpful to take a look at this page:
http://www.x86-64.org/documentation_folder/build
This gives full instructions on how to build (crosscompilation) a complete
x86-64 gnu tool chain.
Bo.
--
Bo Thorsen | 28 Merton Road
Free software developer | Slough, SL1 1QW
SuSE Labs | England
More information about the Gcc
mailing list