unrecognized option '-mcpu=r4600'
Xu, Jiang
Jiang.Xu@echostar.com
Fri Jan 30 15:13:00 GMT 2004
Though I am new to cross compiling, if you try to build binutils-2.14.90.0.5
and run "as --help", you saw "-mCPU", NOT "-mcpu". However, as in the
message I sent last time, I think this paticular version does not support
"-mcpu". I think this is the reason why "-mcpu" is recognized by cc1, not
as.
John
-----Original Message-----
From: Roman Duka [mailto:rduka@mail.ru]
Sent: Friday, January 30, 2004 6:59 AM
Cc: crossgcc@sources.redhat.com
Subject: Re: unrecognized option '-mcpu=r4600'
Peter Barada wrote:
>>>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%20O
> ptions
>
> for mor info on the mips commmandline options.
>
> Remember, we were all newbies at one time...
>
sorry if i came as a grumpy sort of person, but i think it's important
to do your own personal research before asking the obvious. i'd hate to
be the person who, for example, joins Linux kernel hackers mailing list
and then asks things like "So what is Linux anyway?"
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.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