This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unrecognized option '-mcpu=r4600'


>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


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