This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cross x86->mips


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]