unrecognized option '-mcpu=r4600'

Xu, Jiang Jiang.Xu@echostar.com
Thu Jan 29 22:28:00 GMT 2004

Hi, All,

I am frustrated these days by a compiling error when I try to cross compile
Here are the data I used to compile the toolchain:
crosstool 0.26

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'

I even tweaked the mips.config a little bit to support MIPS32=y, still does
not work.
I tried other options as well, no luck at all.

Here is the compile command that results in error:
nown-linux-gnu-gcc -D__KERNEL__ -I/home/build/test/linux/include  -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -g
-fomit-frame-pointer -I /home/build/test/linux/include/asm/gcc -G 0
-mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap
-DKBUILD_BASENAME=main -c -o init/main.o init/main.c

Any help is greatly appreciated.



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