From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFWrH-0002mA-Ng for garchives@archives.gentoo.org; Thu, 17 Jan 2008 15:40:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6950BE0B31; Thu, 17 Jan 2008 15:40:08 +0000 (UTC) Received: from ro-out-1112.google.com (ro-out-1112.google.com [72.14.202.179]) by pigeon.gentoo.org (Postfix) with ESMTP id D0D84E0860 for ; Thu, 17 Jan 2008 15:40:07 +0000 (UTC) Received: by ro-out-1112.google.com with SMTP id o32so397345rog.12 for ; Thu, 17 Jan 2008 07:40:07 -0800 (PST) Received: by 10.35.12.10 with SMTP id p10mr2465746pyi.36.1200584407089; Thu, 17 Jan 2008 07:40:07 -0800 (PST) Received: by 10.35.102.6 with HTTP; Thu, 17 Jan 2008 07:40:07 -0800 (PST) Message-ID: <3b5772b30801170740v558a1552v749c1d5633ba2732@mail.gmail.com> Date: Thu, 17 Jan 2008 13:40:07 -0200 From: "Ricardo Saffi Marques" Sender: rsaffi@rsaffi.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] CFLAGS In-Reply-To: <20080117103651.5093c6b9@Midori.localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_975_27646591.1200584407079" References: <478E5F85.3030707@club-internet.fr> <200801171027.35269.peter@humphrey.ukfsn.org> <478F3F2D.8070108@siemens.com> <200801171238.47540.peter@humphrey.ukfsn.org> <20080117103651.5093c6b9@Midori.localhost> X-Google-Sender-Auth: 8b074a2c0d91af46 X-Archives-Salt: 9d237746-531e-4f6a-9092-d52f40422821 X-Archives-Hash: 5292b09b1a96c65062c6d4ed47bb69a4 ------=_Part_975_27646591.1200584407079 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline http://gentoo-wiki.com/Safe_Cflags > Intel Core 2 Duo/Quad / Xeon 51xx/53xx > > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Core(TM)2 CPU XXXX @ XXXGHz > > *32 bit profile (x86)* > > CHOST="i686-pc-linux-gnu" > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" > CXXFLAGS="${CFLAGS}" > > *64 bit profile (amd64)* > > CHOST="x86_64-pc-linux-gnu" > CFLAGS="-march=nocona -O2 -pipe" > CXXFLAGS="${CFLAGS}" > > *Note:* > > - GCC 4.3 has -march=core2[1], > but Gentoo has nothing above 4.2 in portage. > > ------=_Part_975_27646591.1200584407079 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline http://gentoo-wiki.com/Safe_Cflags

Intel Core 2 Duo/Quad / Xeon 51xx/53xx

vendor_id  : GenuineIntel
cpu family  : 6
model  : 15
model name  : Intel(R) Core(TM)2 CPU XXXX @ XXXGHz

32 bit profile (x86)

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

64 bit profile (amd64)

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Note:

  • GCC 4.3 has -march=core2[1], but Gentoo has nothing above 4.2 in portage.
------=_Part_975_27646591.1200584407079-- -- gentoo-user@lists.gentoo.org mailing list