Do I put down cputype in make.conf ?

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jul 7 10:13:50 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Yavuz Maslak wrote:
| I have a quad-core intel 64 bit cpu.
| I got 7.0-STABLE-200806-amd64-disc1.iso from
| ftp://ftp3.freebsd.org/pub/FreeBSD/snapshots/200806/
| I installed freebsd7.0-stable from it.
| 
| the machine works well. But do I need to edit /etc/make.conf for cputype ?
| if it need to be edited What should I put down it in /etc/make.conf ?

You don't strictly /need/ to set the CPUTYPE in /etc/make.conf -- but
you can if you like.  It's a trade-off between getting some CPU specific
compiler optimizations (which may or may not result in better performance)
and being able to move compiled objects to machines with different CPUs.

An appropriate setting in your case would be:

~  CPUTYPE?= core2

but there are usually several alternatives which would work.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
~                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
~                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREDAAYFAkhx7FMACgkQ3jDkPpsZ+VY6lACfT6r8AULaRonO4SADaCgYB0uF
Pw8An0QDtl25omywbn3PKlm6MF7RB+Ue
=48An
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list