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: Robert Lipe <robertlipe at usa dot net>
- Date: Thu, 12 Apr 2001 01:07:48 -0500
- Cc: gcc at gcc dot gnu dot org
- References: <Pine.GSO.4.21.0104120125530.20364-100000@satie>
> I'm trying to build gcc-2.95.2 on an x86 machine as a cross compiler with
> mips-elf as the target platform. I configure it like this:
>
> ...and I get an error stating that 'mips-tfile' can't be found.
This question used to be frequently asked.
Add the flags to your configure line to tell it to use GNU as
(--with-gas or --with-gnu-as, I can't recall) and your life will be
better.
Why, after all this time, nobody has submitted a patch to deduce that
if you're doing a cross build you're certainly not using the mips assembler
is a mystery to me. Perhaps you'd like to propose an appropriate patch.
Signed,
He Who Used To Care About MIPS But Not Anymore. :-)