CPU TYPE in /etc/default/make.conf
are-harald.brenne at econ.uib.no
Mon Apr 14 12:25:22 PDT 2003
On Sun, 13 Apr 2003 23:51:20 -0700 (PDT)
FLYING LI <apassingtraveller at 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.
More information about the freebsd-questions