unrecognized option '-mcpu=r4600'

Peter Barada peter@the-baradas.com
Thu Jan 29 23:33:00 GMT 2004


>I am frustrated these days by a compiling error when I try to cross
>compile
>linux. Here are the data I used to compile the toolchain: crosstool
>0.26
>gcc-3.2.3 glibc-2.3.2 linux-2.4.18
>
>I successfully compiled the toolchain, but when I try to use it to
>cross
>compile linux, the following error occurs:
>        .../.../as: unrecognized option '-mcpu=r4600'

What's the output of adding -v to the gcc compile line(just one
attempted compliation please)

It looks like the assembler that GCC is calling is not happy
with what cpu selection is is being passed from gcc.  Did you build a
binutils first for mips, and if so, what version of biuntils did you
build?  Does gcc even find the assembler that you built, or is it
finding the system assembler instead?

-- 
Peter Barada
peter@the-baradas.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list