Gentoo Archives: gentoo-user

From: Justin <justin@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc-4.3.x and Core 2 Duo, safe way
Date: Mon, 09 Jun 2008 07:17:48
Message-Id: 484CD918.7000206@j-schmitz.net
In Reply to: Re: [gentoo-user] gcc-4.3.x and Core 2 Duo, safe way by Graham Murray
1 Graham Murray schrieb:
2 > Andrew Gaydenko <a@××××××××.com> writes:
3 >
4 >
5 >> gcc-4.3.1 is umasked now. I'm on ~amd64 with Core 2 Duo CPU. Is it
6 >> sufficient just to set
7 >>
8 >> CFLAGS="-O2 -march=core2 -mtune=core2 -pipe"
9 >>
10 >> instead of
11 >>
12 >> CFLAGS="-O2 -march=native -mtune=native -pipe"
13 >>
14 >> which I have in make.conf now? Are there any other things to do?
15 >>
16 >
17 > Should the two not be equivalent? On a core2 processor, should
18 > -march=native not generate code for the core2?
19 >
20 I can't remember where (but it could only be in the wiki or the official
21 gcc docs), I read that using -march="YOURARCH" should be preferred over
22 -march=native.

Attachments

File name MIME type
signature.asc application/pgp-signature