From owner-freebsd-questions Mon Nov 4 20:32:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08D6937B401 for ; Mon, 4 Nov 2002 20:32:31 -0800 (PST) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D43B43E77 for ; Mon, 4 Nov 2002 20:32:29 -0800 (PST) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 86158 invoked by uid 82); 5 Nov 2002 04:31:02 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by mail.au.darkbluesea.com with SMTP; 5 Nov 2002 04:31:02 -0000 Subject: Re: kernel optimization From: Duncan Anker To: James McNaughton Cc: Kris Kennaway , Lowell Gilbert , Walter , "freebsd-questions@FreeBSD.org" In-Reply-To: <86u1iwmz3d.fsf@jamestown.21stcentury.net> References: <3DB80AF6.4559ED25@earthlink.net> <44bs5j24kb.fsf@be-well.ilk.org> <20021024213548.GA54124@xor.obsecurity.org> <86u1iwmz3d.fsf@jamestown.21stcentury.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 05 Nov 2002 14:32:18 +1000 Message-Id: <1036470738.6619.15.camel@duncan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-11-05 at 14:15, James McNaughton wrote: > > Do the options > > CPUTYPE=i586/mmx > CFLAGS= -O -pipe > NOPROFILE=true > > in /etc/make.conf do anything for the kernel, or do they just affect > userland? > > Just wondering... I believe the CPUTYPE will affect the kernel, but you should use COPTFLAGS to pass compiler flags through to the kernel, or at least some parts of it. (You can also specify these in your kernel config file.) NOPROFILE just says not to build profiled libraries, and as such has very little to do with the kernel. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message