From owner-freebsd-questions Wed Feb 27 14:35: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-107-10.dsl.lsan03.pacbell.net [64.169.107.10]) by hub.freebsd.org (Postfix) with ESMTP id 5B58737B405 for ; Wed, 27 Feb 2002 14:34:57 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3729766C80; Wed, 27 Feb 2002 14:34:56 -0800 (PST) Date: Wed, 27 Feb 2002 14:34:56 -0800 From: Kris Kennaway To: Toomas Aas Cc: freebsd-questions@freebsd.org Subject: Re: cputype for Pentium II Message-ID: <20020227143455.A90724@xor.obsecurity.org> References: <200202271456.g1REuRR06212@lv.raad.tartu.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200202271456.g1REuRR06212@lv.raad.tartu.ee>; from toomas.aas@raad.tartu.ee on Wed, Feb 27, 2002 at 04:55:37PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 04:55:37PM +0200, Toomas Aas wrote: > Hello! >=20 > I'm about to build world on my dual PII/233 machine. I was=20 > wondering which cputype (if any) should I use in /etc/make.conf.=20 > Should I use p2 or i686? You should use p2 and the build infrastructure will choose the appropriate flags to actually pass to the compiler. Current versions of gcc do not support pentium II specific optimizations, so CPUTYPE=3Dp2 has the same effect as i686 for general gcc work, but there are some ports which have MMX asm optimizations which would not be activated if you specified CPUTYPE=3Di686 (since not all i686 chips support MMX, e.g. pentium pros). Future versions of gcc may of course have additional optimizations for the newer intel cpus. Kris --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8fV8PWry0BWjoQKURAiWxAJ9og1cfg48YUOIUYDuhZOFsfSRnBACffBfT lBKIfZgnEMcpt3w9+gzTTrM= =XtWO -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message