Date: Tue, 29 Aug 2000 18:49:35 +0300 From: Nimrod Mesika <nimrodm@bezeqint.net> To: "questions@FreeBSD.ORG" <questions@FreeBSD.ORG> Subject: Re: CFLAGS -O, if I am running a 686, does it automatically target my cpu? Message-ID: <20000829184935.A3768@localhost.bsd.net.il> In-Reply-To: <39AAC54D.64475D0F@home.com>; from europax@home.com on Mon, Aug 28, 2000 at 08:02:22PM %2B0000 References: <39AAC54D.64475D0F@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 28, 2000 at 08:02:22PM +0000, rob wrote: > I am curious about whether make automatically tells gcc to optimize to > my machine's cpu, a 686, or does it optimize to a 386? Reading though > the manuals, I can see that gcc can target a 686 or any other cpu, but I > have no idea what happens when I use make to compile my system or a > port. Rob. In your /etc/make.conf put a line like this: CFLAGS= -O -pipe -march=i686 COPTFLAGS= -O -pipe -march=i686 -- Nimrod. http://www.geocities.com/rodd_27 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000829184935.A3768>