* Clarification on mcpu/tune/arch options
@ 2007-12-14 0:09 NightStrike
2007-12-14 0:24 ` John (Eljay) Love-Jensen
0 siblings, 1 reply; 3+ messages in thread
From: NightStrike @ 2007-12-14 0:09 UTC (permalink / raw)
To: gcc-help
The gcc manual defines the options mcpu, mtune, and march as being
optimizers for various ARM targets. It lists viable options, and they
are all ARM related. However, I often see people using options that
aren't in the manual for targets that the manual says aren't
supported. For instance, -mcpu=i686, or -march=native. What is the
nature of this discrepancy between the documentation and what I see as
common usage?
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Clarification on mcpu/tune/arch options
2007-12-14 0:09 Clarification on mcpu/tune/arch options NightStrike
@ 2007-12-14 0:24 ` John (Eljay) Love-Jensen
2007-12-14 0:45 ` NightStrike
0 siblings, 1 reply; 3+ messages in thread
From: John (Eljay) Love-Jensen @ 2007-12-14 0:24 UTC (permalink / raw)
To: NightStrike, gcc-help
Hi NightStrike,
> What is the nature of this discrepancy between the documentation and what I see as common usage?
There are different -m options for different hardware models & configurations, that are particular to that hardware model.
http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Submodel-Options.html
I suspect you are looking at the ARM information:
http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/ARM-Options.html
HTH,
--Eljay
PS: I think the "m" in "-m" is "machine". But that's just a guess.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Clarification on mcpu/tune/arch options
2007-12-14 0:24 ` John (Eljay) Love-Jensen
@ 2007-12-14 0:45 ` NightStrike
0 siblings, 0 replies; 3+ messages in thread
From: NightStrike @ 2007-12-14 0:45 UTC (permalink / raw)
To: John (Eljay) Love-Jensen; +Cc: gcc-help
On Dec 13, 2007 7:21 PM, John (Eljay) Love-Jensen <eljay@adobe.com> wrote:
> Hi NightStrike,
>
> > What is the nature of this discrepancy between the documentation and what I see as common usage?
>
> There are different -m options for different hardware models & configurations, that are particular to that hardware model.
>
> http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Submodel-Options.html
>
> I suspect you are looking at the ARM information:
>
> http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/ARM-Options.html
>
> HTH,
> --Eljay
>
> PS: I think the "m" in "-m" is "machine". But that's just a guess.
>
>
Ah, jeez... So basically, I totally misread the manual. Or, more
accurately, I didn't read far enough. Many thanks for clearing up my
mistake!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-14 0:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-14 0:09 Clarification on mcpu/tune/arch options NightStrike
2007-12-14 0:24 ` John (Eljay) Love-Jensen
2007-12-14 0:45 ` NightStrike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).