From owner-freebsd-questions Mon Mar 26 17:36:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from unity.agava.ru (unity.agava.ru [213.59.3.227]) by hub.freebsd.org (Postfix) with ESMTP id 9018237B719; Mon, 26 Mar 2001 17:36:32 -0800 (PST) (envelope-from m_ilya@agava.com) Received: from relay2.agava.net.ru (unknown [193.125.142.2]) by unity.agava.ru (Postfix) with ESMTP id 7F8C227E973; Tue, 27 Mar 2001 05:36:30 +0400 (MSD) Received: from gw.office.agava.ru (2.oivt.mipt.ru [193.125.142.2]) by relay2.agava.net.ru (Postfix) with ESMTP id D6E5E4351D; Tue, 27 Mar 2001 05:36:04 +0400 (MSD) Received: from juil.domain (juil.domain [192.168.1.50]) by gw.office.agava.ru (Postfix) with ESMTP id 534435EA4; Tue, 27 Mar 2001 05:36:04 +0400 (MSD) Received: by juil.domain (Postfix, from userid 1001) id CF2B522B; Tue, 27 Mar 2001 05:35:30 +0400 (MSD) To: Eric M Logan Cc: FreeBSD Questions , FreeBSD stable Subject: Re: make.conf.... References: <3ABFEA7A.14086477@mediaone.net> From: Ilya Martynov Date: 27 Mar 2001 05:35:29 +0400 In-Reply-To: <3ABFEA7A.14086477@mediaone.net> Message-ID: <867l1cf0ym.fsf@juil.domain> Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "EML" == Eric M Logan writes: EML> Perhaps somebody can shed some light on this. Doing a "man EML> gcc", I see that the "march=" variable supports i386, i486, EML> pentium, and pentiumpro. I'm trying to build for a k6-2 and EML> a k6-3 cpu. I would, and can only, use march=pentium right? EML> I ask because I've seen some people specify march=k6 but EML> looking through the man pages, I see nothing about the k6*. EML> Any help would be great, thanks. EML> PS and yes, I've searched throughly through the list archives w/o EML> success about this topic so that's not an option. Thanks. Did you 'info gcc'? man is outdated. This is from 'info gcc': `-mcpu=CPU TYPE' Assume the defaults for the machine type CPU TYPE when scheduling instructions. The choices for CPU TYPE are: `i386' `i486' `i586' `i686' `pentium' `pentiumpro' `k6' While picking a specific CPU TYPE will schedule things appropriately for that particular chip, the compiler will not generate any code that does not run on the i386 without the `-march=CPU TYPE' option being used. `i586' is equivalent to `pentium' and `i686' is equivalent to `pentiumpro'. `k6' is the AMD chip as opposed to the Intel ones. -- Ilya Martynov AGAVA Software Company, http://www.agava.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message