Subject: Re: Building with debug symbols
To: Andreas Gustafsson <>
From: Lubomir Kundrak <>
List: current-users
Date: 03/19/2007 13:19:08
Hi Andreas,

On Mon, 2007-03-19 at 11:31 +0200, Andreas Gustafsson wrote:
> What is the correct way to build NetBSD-current with debug symbols?
> Is " -V DBG=-g release" supposed to work?

Maybe it is. Try yourself. I used to build with COPTS=-g, now I use
separate debugging packages with debugging symbols that you can enable
with MKDEBUG=Yes.

Please note, that attempt to create a boot floppy will probably fail,
because binaries with debugging symbols won't fit.

Lubomir Kundrak (Red Hat Security Response Team)