[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-amd64
Subject:    Re: [gentoo-amd64] Correct -march in make.conf
From:       "Mark Haney" <mhaney () ercbroadband ! org>
Date:       2006-12-18 19:07:35
Message-ID: 4586E6F7.1070401 () ercbroadband ! org
[Download RAW message or body]

Etaoin Shrdlu wrote:
> On Monday 18 December 2006 19:06, Mark Haney wrote:
> 
>> I've been using -mcpu since I started using gentoo, but have been
>> noticing the '-mcpu is deprecated etc.' messages when updating.  Being
>> the paranoid I am, I'd like to get rid of those, but haven't found the
>> correct option to use for -march.  Is it the same as -mcpu?  Or what's
>> the correct one for amd64?
> 
> You can use -mtune in place of -mcpu. If you don't need binary 
> compatibility with other CPUs, you should use -march. Speaking of 
> which...that really depends. "amd64" means a lot of CPUs, including AMD 
> and Intel models. What's your CPU?
> 
> According to [1], you should set -march=k8 for AMD CPUs (non-EM64T) 
> and -march=nocona for Intel ones (EM64T). But, for AMD athlon64 X2, you 
> can also use -march=athlon64. [2] is a good reference, IMHO.
> 
> If you want to optimize further, the forums have lots of threads devoted 
> to CFLAGS optimization.
> 
> [1] http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#cflags
> [2] http://gentoo-wiki.com/Safe_Cflags

All the suggestions I have received have been great.  As for my CPU it's
a standard Athlon64 sitting in a Compaq laptop.  Nothing particularly
outside the norm.

Thanks again for all the answers.



-- 
Ita erat quando hic adveni.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
-- 
gentoo-amd64@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic