Re: can you turn off compile-time optimization entirely?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Robert....

On Mon, Apr 19, 2010 at 02:48, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
>
>  for debugging purposes, is it even physically possible to compile
> the kernel with no optimization whatever?

IMO, by turning CONFIG_DEBUG_INFO=y, you actually disable the gcc
optimization (plus enabling the -g option). Or at least, you can
always do it by manually edit the CFLAGS.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux