This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross x86->mips
- To: Per Fransson <dat98pfr at ludat dot lth dot se>
- Subject: Re: cross x86->mips
- From: Bo Thorsen <bo at sonofthor dot dk>
- Date: Thu, 12 Apr 2001 12:58:09 +0100 (BST)
- Cc: <gcc at gcc dot gnu dot org>
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