Date: Tue, 23 Feb 2010 14:05:56 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: Using "march=native" in "/etc/make.conf" Message-ID: <hm0jrh$hmm$1@dough.gmane.org> In-Reply-To: <20100223122125.1b03f0ec@gumby.homeunix.com> References: <BLU0-SMTP33922A15BBF65DB9FDE88493420@phx.gbl> <20100223122125.1b03f0ec@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/23/10 13:21, RW wrote: > 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. Yes but the old version of gcc in FreeBSD (4.2) is lacking support for modern CPUs. Using march=native is fine.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hm0jrh$hmm$1>