Building kernel with DEBUG

Gerard gerard at seibercom.net
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
gerard at seibercom.net

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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080201/83258c68/signature.pgp


More information about the freebsd-questions mailing list