[Soekris] /etc/make.conf for 5501 under FreeBSD ?

Bernd Walter ticso at cicely12.cicely.de
Sat Dec 29 06:39:12 UTC 2007


On Fri, Dec 28, 2007 at 05:22:31PM +0000, Martin Johnson wrote:
> Hello,
> 
> I like to build FreeBSD and its applications from source, since "make  
> buildworld", "make buildkernel" and the Ports system are so easy.  So  
> I may as well use the correct build settings to squeeze the best  
> performance from the low-energy hardware - although I've never known  
> how much difference this really makes ;-)
> 
> Before I spend a day with trial and error, does anyone know the  
> correct CPU optimization settings for FreeBSD 6 and 7?
> 
> How's about:
>      CPUTYPE?=pentium-mmx

Either this or k6, since it also has 3Dnow support.
Don't know which one is better.
Since in fact it is neither a K6 nor a Pentium-MMX the pipeline
tuning will be incorrect anyway.
I've just used pentium-mmx so far.

>      CFLAGS= -O -pipe
>      COPTFLAGS= -O -pipe

You shouldn't set C*FLAGS, since it overwrites the defaults with
possibly slower tuning.
At least 7.x has -O2 -no-strict-aliasing -pipe as default.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd at bwct.de           info at bwct.de            support at fizon.de


More information about the Soekris-tech mailing list