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'


>> 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:

http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/MIPS-Options.html#MIPS%20Options

for mor info on the mips commmandline options.

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

-- 
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]