Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2006 15:56:04 -0500
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)
Message-ID:  <ef10de9a0606091356w21697b03i9fccd09a6174b153@mail.gmail.com>
In-Reply-To: <20060609132040.B3097B825@shodan.nognu.de>
References:  <20060609132040.B3097B825@shodan.nognu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/9/06, Frank Steinborn <steinex@nognu.de> wrote:
> Hello,
>
> can someone tell what the right choice for CPUTYPE in /etc/make.conf
> is for that CPU?
>

CPUTYPE?=pentium2
CFLAGS+= -mtune=prescott
COPTFLAGS+= -mtune=prescott

I find that this produces faster, and safer, code then
-march=pentium4, etc. alone. you can view all the gcc flags here:
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/i386-and-x86_002d64-Options.html

> And, is it safe to build kernel and world with --march= too?
>

With the gcc options I gave to you above yes.



-- 
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/



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