compiling kernel with debug and optimization
A message that is not in the archive (sent off-list or not yet received): 20030210111151.31800.qmail@web20418.mail.yahoo.com.suse.lists.linux.kernel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Pavel Machek
Hi!
Quoted 4 lines
Does compiling with -g option degrade performance? IMO it should NOT.
If that's true, then why dont we compile kernels with both -g and -O2 always?
Build with -g takes *a lot* of diskspace, like 1Gig.
With gcc 3.x and its dwarf2 default.
It's a lot smaller when you compile with -gstabs (on i386) stabs works as well for 32bit, but is much more compact.
-Andi