Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 17:48:35 -0800
From:      Eric M Logan <ericmlogan@mediaone.net>
To:        Ilya Martynov <m_ilya@agava.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, FreeBSD stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: make.conf....
Message-ID:  <3ABFF173.7D995E82@mediaone.net>
References:  <3ABFEA7A.14086477@mediaone.net> <867l1cf0ym.fsf@juil.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ericmlogan@mediaone.net> 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-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABFF173.7D995E82>