On 1/18/07, Curran, Dominic <dcurran@xxxxxx> wrote:
> >Perhaps you forgot to add debug information to the kernel (-g)? You >can also try to turn off all optimizations (-O0) while compiling the >kernel. > >Regards, >Rajat > I removed the CC_OPTIMIZE_FOR_SIZE option in the .config. This removed the "-Os" option, but replaced it with "-O2". What do I have to do to turn off all optimizations (-O0) ?
You just have to add the gcc option -O0 in the CFLAGS or the EXTRA_CFLAGS. Thanks, Rajat
thanks dom -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/