Re: Qeustion about the optimize option

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

 



Victor <vic7tor@xxxxxxxxx> writes:

> I want to build the linux kernel at O0 optimize level. The first problem
> that I face was something about constant.

You will face many other problems once you solve that one.  This is not
a gcc issue; the Linux kernel source code is written such that it must
be compiled with optimization in order to work correctly.

> Because I want to debug the linux kernel, how can compile the test
> program above don't use O1 O2 O3.

You can debug code compiled with optimization, it's just more annoying.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux