From owner-freebsd-questions@FreeBSD.ORG Fri Mar 9 00:45:07 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 4C10B16A401 for ; Fri, 9 Mar 2007 00:45:07 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4BB13C47E for ; Fri, 9 Mar 2007 00:45:06 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so635812wxc for ; Thu, 08 Mar 2007 16:45:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=am3j8pA7puEQcSSKwMY1XHTn2tpx1T2uBoSMIThrMQqQ4mpUVy7g3IkrP0vBDANgMNp3Wj2H10EV+6LLKrymK29s+tOfkFLHU9TRMze2ztjMxOSqxu29Z/7LEXykrsJU6OIWJT9BK+8wnz5BQVFW/DhjR6v8W32PRbDJl9uhq04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UNd5wSBBg7TaNsHbn98Yk9RzE/DDgQPeU0kADksSdyYhrqx4HRXYjn1ZOdnDaICZEDVVDAofR7UJjWP4Q5PaTW9vFmlf6Ybob9UB+6QC0ZZ94fgpsDzJhCWHtrRocXAK37TQQ4mYMl2CwM1LQZmLOknk3uF0rHmgb5yXpZp86jE= Received: by 10.70.40.1 with SMTP id n1mr1919951wxn.1173401106501; Thu, 08 Mar 2007 16:45:06 -0800 (PST) Received: by 10.70.39.18 with HTTP; Thu, 8 Mar 2007 16:45:06 -0800 (PST) Message-ID: <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> Date: Fri, 9 Mar 2007 00:45:06 +0000 From: "Christian Walther" To: "White Hat" In-Reply-To: <989294.46444.qm@web34411.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <989294.46444.qm@web34411.mail.mud.yahoo.com> Cc: FreeBSD Users Questions 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 00:45:07 -0000 On 08/03/07, White Hat wrote: > What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set > > CFLAGS=Os > > as opposed to the default setting? > 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 HTH Christian