Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2010 12:21:25 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Using "march=native" in "/etc/make.conf"
Message-ID:  <20100223122125.1b03f0ec@gumby.homeunix.com>
In-Reply-To: <BLU0-SMTP33922A15BBF65DB9FDE88493420@phx.gbl>
References:  <BLU0-SMTP33922A15BBF65DB9FDE88493420@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Feb 2010 06:41:04 -0500
Carmel <carmel_ny@hotmail.com> wrote:

> I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
> dual processor. I want to set it up as a sort of test machine. There
> does not seem to be a specific setting for 'cpu-type' or 'march' for
> this machine. I have notices on some Linux forums that they recommend
> using the 'native' keyword; i.e., "march=native" in the 'make.conf'
> file to get the most optimization out of the CPU. Would that be
> correct for FreeBSD also? Would it also be appropriate for other CPUs
> as well?

FreeBSD sets "march" and other default settings based on CPUTYPE. It's
probably better to set that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100223122125.1b03f0ec>