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

[-- Attachment #1 --]
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=" 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=pentium right?  I ask because I've seen some
> people specify march=k6 but looking through the man pages, I see nothing
> about the k6*.  Any help would be great, thanks.
> 
> 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=<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=k6 to your CFLAGS and/or COPTFLAGS as
appropriate, by hand.

Kris

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

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

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