make.conf question

Kris Kennaway kris at obsecurity.org
Mon Apr 11 02:33:32 PDT 2005


On Mon, Apr 11, 2005 at 11:27:22AM +0200, Piotr Gnyp wrote:
> Hi.
> My 4.11 boxes:
> uname -r
> 4.11-RELEASE-p1
> CPU:
> 1. CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.30-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
> 
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,
> SSE2,SS,HTT,TM,PBE>
>   Hyperthreading: 2 logical CPUs
> 
> 2. CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2798.66-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
> 
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
> MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> 
> make.conf:
> CPUTYPE=p4
> 
> During build i can see:
> -march=pentiumpro
> 
> instead of pentium4. On my 5.3 box everything works great. Is this 
> setting not working on FreeBSD 4.x? Or maybe i should set it somewhere 
> else also.

The version of gcc that comes with FreeBSD 4.x can't do better than
this, i.e. it doesn't know about optimizations for newer CPUs.  In
practise this isn't important.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050411/18812423/attachment.bin


More information about the freebsd-questions mailing list