Date: Mon, 19 Jan 2004 10:33:04 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Chris Knight <chris@e-easy.com.au> Cc: freebsd-current@freebsd.org Subject: Re: Release Building and /etc/make.conf Message-ID: <20040119083303.GF39956@FreeBSD.org.ua> In-Reply-To: <200401190738.i0J7ccF3020266@postoffice.e-easy.com.au> References: <200401190738.i0J7ccF3020266@postoffice.e-easy.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--B0nZA57HJSoPbsHY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 19, 2004 at 06:23:30PM +1100, Chris Knight wrote: > Howdy, >=20 > I'm just doing a release build of 5.2 and have noticed that > from Stage 4.2 onwards, -mcpu=3Dpentiumpro is added to the cc > command line. > The only place I can see this being set is in /etc/make.conf > which is outside the sandbox. > I was expecting the release build to be CPU agnostic, but > this doesn't appear to be the case. Any way of overriding > this without modifying /etc/make.conf? >=20 There's a substantional difference between -mcpu and -march: : -mcpu=3Dcpu type : Assume the defaults for the machine type CPU TYPE when schedul- : ing instructions. The choices for CPU TYPE are: i386, i486, : i586 (pentium), pentium, i686 (pentiumpro), and pentiumpro. : While picking a specific CPU TYPE will schedule things appropri- : ately for that particular chip, the compiler will not generate ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : any code that does not run on the i386 without the -march=3Dcpu ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ : type option being used. :=20 : -march=3Dcpu type : Generate instructions for the machine type CPU TYPE. The choic- : es for CPU TYPE are: i386, i486, pentium, and pentiumpro. Spec- : ifying -march=3Dcpu type implies -mcpu=3Dcpu type. Please also see the commit log for bsd.cpu.mk,v 1.13. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --B0nZA57HJSoPbsHY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAC5Y/Ukv4P6juNwoRAjFNAJ4y/BCcWKXipp4jDOGyhGymMRzkCACePgwZ 9hQ0CnOX1DkwiYh+lxt8Uyc= =v8wz -----END PGP SIGNATURE----- --B0nZA57HJSoPbsHY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119083303.GF39956>