* -mcpu vs -march
@ 2004-08-05 15:11 Demeter Ákos
0 siblings, 0 replies; only message in thread
From: Demeter Ákos @ 2004-08-05 15:11 UTC (permalink / raw)
To: gcc-help
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
Hello!
I searched the man to find that if for gcc multiple -O options are given
then the last one will be used.
for example:
gcc -O3 -O2 is the same as gcc -O2
but I was searching for the -march and -mcpu.
If both is given like:
gcc -march=pentium3 -mcpu=pentium3 then what will it be?
I found that -march implies -mcpu (like -O3 implies -O2) so I thought
that then -mcpu will be used, but so said no. Some said, no matter the
order of the two flags mcpu will be used. So I got confused.
Thanks for your help!
ps.: I'm not signed onto this mailinglist, so if you be so kind to CC
the answer to my address as well.
--
Demeter Ákos <squareroot2@freemail.hu>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-05 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-05 15:11 -mcpu vs -march Demeter Ákos
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).