Date: Wed, 14 Mar 2001 22:54:02 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Tim Zingelman <zingelman@fnal.gov> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: can't build 4.3-BETA GENERIC kernel with -g Message-ID: <200103150654.f2F6s2N39409@earth.backplane.com> References: <Pine.GSO.4.30.0103142349240.14922-100000@nova.fnal.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
:
: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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103150654.f2F6s2N39409>
