Date: Wed, 21 Feb 2001 12:45:52 -0800 From: Kris Kennaway <kris@obsecurity.org> To: arch@FreeBSD.org Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20010221124552.A59188@mollari.cthul.hu> In-Reply-To: <20010221114805.A96924@dragon.nuxi.com>; from TrimYourCc@NUXI.com on Wed, Feb 21, 2001 at 11:48:05AM -0800 References: <Pine.BSF.4.21.0102211415050.25100-100000@besplex.bde.org> <200102211827.f1LIRuv32516@misha.privatelabs.com> <20010221114805.A96924@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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)
> processor you specify. If you do not specify a processor type, GCC
> will default to the processor on which the compiler was built.
This would be taken care of by the default settings of
MACHINE_CPU=ev4, which would (if we went down this path, see my
previous mail) add an explicit -mcpu=ev4 to the release (and all
other) builds. If you know your builds are only ever going to be used
on an ev5 or whatever, you can set MACHINE_CPU=ev5 ev4 in
/etc/make.conf and the hypothetical makefile logic would use -mcpu=ev5
instead.
Kris
P.S. Moving to arch for a 4th or 5th time. cvs-all isn't a discussion
list, remember? :)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE6lCj/Wry0BWjoQKURAk/rAJ0TZePQgzMvycuurT3HXj4scmqvTQCeKtbS
rAt0T3PJdj2rfxHi+fY+E2c=
=pGo+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010221124552.A59188>
