From owner-freebsd-stable Wed Mar 14 22:54: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 9380937B726 for ; Wed, 14 Mar 2001 22:54:03 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2F6s2N39409; Wed, 14 Mar 2001 22:54:02 -0800 (PST) (envelope-from dillon) Date: Wed, 14 Mar 2001 22:54:02 -0800 (PST) From: Matt Dillon Message-Id: <200103150654.f2F6s2N39409@earth.backplane.com> To: Tim Zingelman Cc: Subject: Re: can't build 4.3-BETA GENERIC kernel with -g References: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : :Am I missing something here... is this the wrong way to build a kernel :with debug symbols? Any help is appreciated. The correct solution is to add the following to your kernel configuration file. That is, the file /usr/src/sys/i386/conf/YOURKERNEL, NOT make.conf. makeoptions DEBUG="-g" You can also set kernel-specific optimization flags with: makeoptions COPTFLAGS="-O -pipe" -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message