|
发表于 2008-11-27 11:49:16
|
显示全部楼层
Post by hritian;1914667
gentoo上面说在gcc4.0以后o3的效果并不大。
http://www.gentoo.org/doc/en/gcc-optimization.xml
In 3.x, -O3 has been shown to lead to marginally faster execution times over -O2, but this is no longer the case with gcc 4.x. Compiling all your packages with -O3 will result in larger binaries that require more memory, and will significantly increase the odds of compilation failure or unexpected program behavior (including errors). The downsides outweigh the benefits; remember the principle of diminishing returns. Using -O3 is not recommended for gcc 4.x.
我的内核是 2.9M
我还以为比起 40M来说很小了,没想到还搞成 1.x M,
无所谓,我内存多,费得起。 |
|