Thread: make.conf
View Single Post
Old 8th September 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Just stick to the processor family.

Don't try to be all "oooh, I'm super-leet" and try to be awesome with your optimisations. Especially if you don't understand the Mk system in FreeBSD, how it uses CPUTYPE and CFLAGS, what the defaults are (and why they are that way), what the available options are, and how each different value affects the rest.

Read the CPUTYPE section in /usr/share/examples/etc/make.conf, find the one that's closest to your CPU family, and let the Mk system handle the rest. There's a lot of "magic" in /usr/share/mk/bsd.cpu.mk that depends on you getting CPUTYPE at least close to right, and to automatically fill in the rest.

For you, CPUTYPE=p4 is all you need.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote