unrecognized option '-mcpu=r4600'

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

>> Results in Error:
>> cc1: invalid option 'CPU=r4600'
>> Any ideas? I appreciate any help.
>Huh? you don't know what you're doing, do you? if you read the gcc 
>manual you'll find that "-mcpu=" is the correct flag, NOT "-mCPU" or 
>"-mWHATEVER" and the error message above clearly tells you that, i.e. 
>INVALID OPTION If you don't know the basics like this, probably you 
>shouldn't attemp to cross compile Linux kernel without the sound knowledge.
>Here is a good start http://gcc.gnu.org/onlinedocs/ have a good read, 
>also search the net on how to cross compile Linux kernel etc, there is a 
>lot of information out there.

Sheesh, you didn't have to yell at the newbie....

You would have come across much better if you just stated that they 
might want to try -mcpu=r4600, and point them at:


for mor info on the mips commmandline options.

Remember, we were all newbies at one time...

Peter Barada

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