Building kernel with DEBUG

Gerard gerard at
Fri Feb 1 07:06:28 PST 2008

Near the top of the /usr/src/sys/i386/GENERIC file, is the line:

makeoptions     DEBUG=-g  # Build kernel with gdb(1) debug symbols

Is this line really necessary? If I don't intend to ever debug a
kernel, why should I leave it? It would seem like I could
save some time compiling a kernel if I just remove or commented out
that line.


gerard at

Beware of Programmers who carry screwdrivers.

	Leonard Brandwein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list