compiling kernel with debug and optimization

devnetfs (devnetfs@yahoo.com)
Mon, 10 Feb 2003 03:11:51 -0800 (PST)


Hello,

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? Also does using -g AND -O2 cause some optimizations to be
missed out?

Thanks in advance,

Regards,
A.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/