Building Kernel in Debug Mode

Timothy Murphy tim at birdsnest.maths.tcd.ie
Sat Aug 19 14:26:44 UTC 2006


bruce wrote:

> i'm looking to build the kernel from source - both regular, and in debug.
> any pointers, sites, or instructions would be helpful...

Is there such a thing as a "debug" kernel?

You can get the "vanilla" kernel sources from http://www.kernel.org .
On de-tarring this, you say "make xconfig"
and you are offered a million options,
some of which give greater debug output.
This creates a file .config, and then you say
"make", "make modules_install", "make install".

Your distribution probably supplies a model config file to start from.

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the fedora-list mailing list