* [gentoo-user] Re: Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?
@ 2007-08-02 19:41 99% ` Alexander Skwar
0 siblings, 0 replies; 1+ results
From: Alexander Skwar @ 2007-08-02 19:41 UTC (permalink / raw
To: gentoo-user
· Jan Seeger <jan.seeger@gmail.com>:
> I'd think that using -march overrides -mtune. You cannot at the same time tune
> for two architectures.
Hm, what's an "architecture"? From my understanding, I'd need crossdev
if I'd try to compile for, lets say, PA-RISC on a x86 system. But that's
not what I'm trying to do - I'm trying to compile for x86 on a x86
system.
Indeed, I think that I just have mixed up -march and -mtune (aka. -mcpu).
The GCC 3.4.6 docs have it quite clear:
,----[ http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options ]
| -mcpu=cpu-type
| [...]
| While picking a specific cpu-type will schedule things appropriately
| for that particular chip, the compiler will not generate any code that
| does not run on the i386 without the -march=cpu-type option being used.
`----
That's for -mcpu, which is, in 4.x, a deprecated synonym for -mtune.
Well, I'll just give it a try.
Alexander Skwar
--
Another dream that failed. There's nothing sadder.
-- Kirk, "This side of Paradise", stardate 3417.3
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-08-02 18:15 [gentoo-user] Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags? Alexander Skwar
2007-08-02 18:21 ` Jan Seeger
2007-08-02 19:41 99% ` [gentoo-user] " Alexander Skwar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox