Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2008 11:13:39 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Yavuz Maslak <maslak@ihlas.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Do I put down cputype in make.conf ?
Message-ID:  <4871EC53.8020502@infracaninophile.co.uk>
In-Reply-To: <005e01c8e013$bcab1bf0$dc96eed5@ihlasnetym>
References:  <005e01c8e013$bcab1bf0$dc96eed5@ihlasnetym>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4871EC53.8020502>