Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 21:57:28 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Eric M Logan <ericmlogan@mediaone.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, FreeBSD stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: make.conf....
Message-ID:  <20010326215728.A13582@xor.obsecurity.org>
In-Reply-To: <3ABFEA7A.14086477@mediaone.net>; from ericmlogan@mediaone.net on Mon, Mar 26, 2001 at 05:18:50PM -0800
References:  <3ABFEA7A.14086477@mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 26, 2001 at 05:18:50PM -0800, Eric M Logan wrote:
> Perhaps somebody can shed some light on this.  Doing a "man gcc", I see
> that the "march=3D" variable supports i386, i486, pentium, and
> pentiumpro.  I'm trying to build for a k6-2 and a k6-3 cpu.  I would,
> and can only, use march=3Dpentium right?  I ask because I've seen some
> people specify march=3Dk6 but looking through the man pages, I see nothing
> about the k6*.  Any help would be great, thanks.
>=20
> PS and yes, I've searched throughly through the list archives w/o
> success about this topic so that's not an option.  Thanks.

Set CPUTYPE=3D<whatever> in /etc/make.conf if you're using 4.3-BETA or
later.  The list of valid <whatever>s is in /etc/defaults/make.conf.

For older releases, add -march=3Dk6 to your CFLAGS and/or COPTFLAGS as
appropriate, by hand.

Kris

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6wCvIWry0BWjoQKURAmdMAKD3oBKdY2DGL7ACaeBnDDr90thXogCg5JEE
KdtmGzsqdwXhSjpYEELJtZ0=
=r2YG
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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