gcc optimization
首先,去掉"-O"。既然不用optimization,“-O0”就像“XX脱裤子”,多余。其次,GCC有好多OPTIMIZATION OPTIONS,如OPTIMIZED FOR CPU,SIZE,CODE。。。建议你在compile .c/.cpp/.C时, catch the line "gcc ....." and then see what options are turned on. If you need to see the details about each option,
$man gcc
or, check
http://gcc.gnu.org/onlinedocs/
Good luck.