From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 14:20:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 638E616A402 for ; Fri, 9 Mar 2007 14:20:45 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id CA42413C4B3 for ; Fri, 9 Mar 2007 14:20:43 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id A67FA51947 for ; Fri, 9 Mar 2007 09:20:42 -0500 (EST) Date: Fri, 9 Mar 2007 14:20:39 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070309142039.51a3470b@gumby.homeunix.com> In-Reply-To: <20070309075120.9879.GERARD-SEIBERT@seibercom.net> References: <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> <20070309075120.9879.GERARD-SEIBERT@seibercom.net> X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: DEFAULT CFLAGS SETTING X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 14:20:45 -0000 On Fri, 09 Mar 2007 07:53:00 -0500 Gerard wrote: > On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote: > > > > CFLAGS can be defined in /etc/make.conf > > My CFLAGS is set to -O2 -pipe. You might want to take a look at > > CPUTYPE, too. This can be set to match your CPU type, which means > > you'll get the most of it. > > You can find some examples in /usr/share/examples/etc/make.conf > > Thanks, but that is not exactly what I was looking for. I was > attempting to find out what the default setting is in FreeBSD-6.2. I > heard it was '02' but I have not been able to confirm that. > In my case: $ make -V CFLAGS -O2 -fno-strict-aliasing -pipe -march=athlon-mp but run it on your own machine as it depends on what you set as CPUTYPE in make.conf