From owner-freebsd-questions Tue Aug 29 8:57: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.bezeqint.net (mail-a.bezeqint.net [192.115.106.23]) by hub.freebsd.org (Postfix) with ESMTP id 343C537B422 for ; Tue, 29 Aug 2000 08:57:00 -0700 (PDT) Received: from bsd.net.il (bzq-167-206.bezeqint.net) by mail.bezeqint.net (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0G0200GZV9HXSD@mail.bezeqint.net> for questions@FreeBSD.ORG; Tue, 29 Aug 2000 18:53:57 +0300 (GMT) Received: (from nimrodm@localhost) by bsd.net.il (8.9.3/8.9.3) id SAA03959 for questions@FreeBSD.ORG; Tue, 29 Aug 2000 18:49:35 +0300 (IDT envelope-from nimrodm) Date: Tue, 29 Aug 2000 18:49:35 +0300 From: Nimrod Mesika Subject: Re: CFLAGS -O, if I am running a 686, does it automatically target my cpu? In-reply-to: <39AAC54D.64475D0F@home.com>; from europax@home.com on Mon, Aug 28, 2000 at 08:02:22PM +0000 To: "questions@FreeBSD.ORG" Reply-To: nimrodm@email.com Message-id: <20000829184935.A3768@localhost.bsd.net.il> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Mail-Followup-To: "questions@FreeBSD.ORG" User-Agent: Mutt/1.2i References: <39AAC54D.64475D0F@home.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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