From owner-freebsd-questions Mon Mar 26 17:54:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lsmls02.we.mediaone.net (lsmls02.we.mediaone.net [24.130.1.15]) by hub.freebsd.org (Postfix) with ESMTP id B24DB37B718; Mon, 26 Mar 2001 17:54:29 -0800 (PST) (envelope-from ericmlogan@mediaone.net) Received: from mediaone.net (we-24-130-92-248.we.mediaone.net [24.130.92.248]) by lsmls02.we.mediaone.net (8.11.1/8.11.1) with ESMTP id f2R1rbS12237; Mon, 26 Mar 2001 17:53:38 -0800 (PST) Message-ID: <3ABFF173.7D995E82@mediaone.net> Date: Mon, 26 Mar 2001 17:48:35 -0800 From: Eric M Logan X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ilya Martynov Cc: FreeBSD Questions , FreeBSD stable Subject: Re: make.conf.... References: <3ABFEA7A.14086477@mediaone.net> <867l1cf0ym.fsf@juil.domain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG thanks for responding so quickly. Just a couple of things. When using man gcc I see that i586=pentium and i686=pentiumpro. Using info gcc as you suggested, I see even more options. Does i586=pentium and i686=pentiumpro still hold true? If yes, why the separate options of i586=pentium? Or are they separate? And also, does the k6 option include k6-2 and 3? And finally, when building for the k6*, it's it more optimal to use the k6 option or the pentium/i586 option (as k62-3 is more advance than just k6)? Thanks. Ilya Martynov wrote: > >>>>> "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-stable" in the body of the message -- ***************************** Eric M Logan ericmlogan@mediaone.net eric_m_logan@yahoo.com ***************************** Flames to /dev/null plz. :) ***************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message