2008-09-07 22:26:42 Can I build the kernel with -O3?
david wang (CHINA)
I have noticed that the compile option in the kernel Makefile is O2 if not define CONFIG_CC_OPTIMIZE_FOR_SIZE. I tried modified this option to O3, but failed when I load the image in uboot. Does the O3 work with the kernel? Is there anyone have tried this? Thanks!
2008-09-07 22:35:56 Re: Can I build the kernel with -O3?
Mike Frysinger (UNITED STATES)
there isnt any real reason why it wouldnt work. -O2 is the default because it tends to be the best speed/size compromise and it tends to avoid bugs in code generation which sometimes occurs with -O3.