From owner-freebsd-arch Thu Feb 22 2:58:15 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 5946337B401 for ; Thu, 22 Feb 2001 02:58:12 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA26769; Thu, 22 Feb 2001 21:58:05 +1100 Date: Thu, 22 Feb 2001 21:50:13 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Kris Kennaway Cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk sys.mk In-Reply-To: <20010221124552.A59188@mollari.cthul.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21 Feb 2001, Kris Kennaway wrote: > On Wed, Feb 21, 2001 at 11:48:05AM -0800, David O'Brien wrote: > > On Wed, Feb 21, 2001 at 01:27:54PM -0500, mi@aldan.algebra.com wrote: > > > BTW, may be -mcpu=${MACHINE_CPU} can be added to the default CFLAGS now? > > > > I am nervous about this on the Alpha unless very well tested. We all > > know that an ev4 system as the ev4 cannot handled ev56-only instructions. > > This applies to the i386 as well (i386 can't handle i586 instructions) -mcpu doesn't affect the instruction set used on i386's. It takes -march to affect it. Similarly for many other target machines. The alpha seems to be different here (it doesn't have -march). Our MACHINE, MACHINE_ARCH and MACHINE_CPU are sort rotated compared with the gcc -march and -mcpu: MACHINE is similar to -march MACHINE_ARCH is similar to -mcpu MACHINE_CPU is more specialized Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message