Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 21:25:17 +0200
From:      Are-Harald Brenne <are-harald.brenne@econ.uib.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: CPU TYPE in /etc/default/make.conf
Message-ID:  <20030414212517.00003f80.are-harald.brenne@econ.uib.no>
In-Reply-To: <20030414065120.79278.qmail@web15202.mail.bjs.yahoo.com>
References:  <20030414065120.79278.qmail@web15202.mail.bjs.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Apr 2003 23:51:20 -0700 (PDT)
FLYING LI <apassingtraveller@yahoo.com.cn> wrote:

> my CPU is AMD Duron 600.and it is said that FreeBSD
> can reconginze CPU TYPE such as AMD k7 k6 and Intel
> i686 i586... in /etc/default/make.conf .So,I set my
> CPU TYPE as k7 in make.conf.but when i run make world
> or compile else source code,the screen output always
> said"-O3 -march=k6".why not march=k7 ????  should I
> set CPU TYPE as i686 instead of k7?In addition,I set
> CPU as i686 in my kernel.
> thanks a lot!

You are using FreeBSD 4, which use a gcc-version (2.95?) that does not optimise for athlon cpus. 'k7' are therefore translated to 'k6'. 

FreeBSD 5 use a different gcc (3.2-something) that optimise for newer cpu's including various athlon variants.

i686 in the kernelconf is correct for durons.

Cheers,
Are-Harald 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414212517.00003f80.are-harald.brenne>