Why does FBSD always assume it's on an 8080 CPU?

Chris H. chris# at 1command.com
Sat Jan 27 04:46:43 UTC 2007


Hello and thank you for your response...

Quoting Mike Jakubik <mikej at rogers.com>:

> Chris H. wrote:
>>
>> CPU: AMD Athlon(tm) XP (1102.51-MHz 686-class CPU)
>> Origin = "AuthenticAMD"  Id = 0x680  Stepping = 0
>> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD 
>> Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
>>
>> That I simply build world/kernel with an clean (empty) make.conf
>> and add the following during port(s) building to attain optimum results
>> given my CPU for this current biuld?
>>
>> CPUTYPE?=pentium4
>>
>> COPTFLAGS= -march=pentium4 -mmmx -m3dnow -m3dnow+ -msse -msse2
>
> Why are you using "pentium4" with an Athlon XP CPU? use "athlonxp" 
> instead. Also, don't modify the COPTFLAGS.
>

Ooops. I've changed it to:

CPUTYPE?=athlon-4
CFLAGS+= -march=athlon-4 -mmmx -m3dnow -m3dnow+ -msse -msse2

Look a little better? :)

--Chris


> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>



-- 
panic: kernel trap (ignored)



-----------------------------------------------------------------
FreeBSD 5.4-RELEASE-p12 (SMP - 900x2) Tue Mar 7 19:37:23 PST 2006
/////////////////////////////////////////////////////////////////



More information about the freebsd-stable mailing list