From owner-freebsd-arch Thu Feb 22 12:55:56 2001 Delivered-To: freebsd-arch@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-53.dsl.lsan03.pacbell.net [64.165.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 337CE37B401 for ; Thu, 22 Feb 2001 12:55:53 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C80E766C34; Thu, 22 Feb 2001 12:55:52 -0800 (PST) Date: Thu, 22 Feb 2001 12:55:52 -0800 From: Kris Kennaway To: Alexander Leidinger Cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20010222125552.B6517@mollari.cthul.hu> References: <20010221123835.A59024@mollari.cthul.hu> <200102221150.f1MBopF07996@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102221150.f1MBopF07996@Magelan.Leidinger.net>; from Alexander@leidinger.net on Thu, Feb 22, 2001 at 12:50:50PM +0100 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 22, 2001 at 12:50:50PM +0100, Alexander Leidinger wrote: > On 21 Feb, Kris Kennaway wrote: >=20 > > .if ${MACHINE_CPU:Mi686} > > CFLAGS +=3D -mpentiumpro > > .elif ${MACHINE_CPU:Mi586} > > CFLAGS +=3D -mpentium > > ... > > .endif > >=20 > > which may be worthwhile to do. > >=20 > > The -march statement doesnt matter though, since some binaries built > > with MACHINE_CPU set will already be CPU-specific (e.g. if you specify > > i686 then openssl will use the i686 blowfish code) >=20 > You want to use "-mXXX -march=3DXXX". You are CPU-specific already, no > need to produce parts of code which run on an i386 too. Hmm, that's not what's documented in the gcc info docs. `-march=3DCPU TYPE' Generate instructions for the machine type CPU TYPE. The choices for CPU TYPE are the same as for `-mcpu'. Moreover, specifying `-march=3DCPU TYPE' implies `-mcpu=3DCPU TYPE'. `-m386' `-m486' `-mpentium' `-mpentiumpro' Synonyms for -mcpu=3Di386, -mcpu=3Di486, -mcpu=3Dpentium, and -mcpu=3Dpentiumpro respectively. These synonyms are deprecated. Kris --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6lXzYWry0BWjoQKURAlK6AJ49Sn5EGdd3oD79hnAUHOIfLoyPOwCgnWkc GZTJmOtmMVHNl81UMsa2lD8= =9u/z -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message