compiling kernel with debug and optimization

From: devnetfs (
Date: Mon Feb 10 2003 - 06:11:51 EST


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,


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:26 EST