Skip site navigation (1)Skip section navigation (2)
Date:      27 Mar 2001 05:35:29 +0400
From:      Ilya Martynov <m_ilya@agava.com>
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:  <867l1cf0ym.fsf@juil.domain>
In-Reply-To: <3ABFEA7A.14086477@mediaone.net>
References:  <3ABFEA7A.14086477@mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "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




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