Correct CPUTYPE= for Intel Celeron 2.50GHz (2500.10-MHz 686-class CPU)

Nikolas Britton nikolas.britton at gmail.com
Fri Jun 9 20:56:06 UTC 2006


On 6/9/06, Frank Steinborn <steinex at 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/


More information about the freebsd-questions mailing list