|
发表于 2011-3-4 16:59:21
|
显示全部楼层
Post by adam8157;2129851
As of version 4.3.0, the gcc compiler offers the -march-native switch that enables CPU auto-detection and automatically selects optimizations supported by the local machine at gcc runtime.
不是很熟悉gentoo, 这样直接改cflags, 不动use flag是不是就达到效果了?
应该不行,
use是编译过程中打开或者关闭某个选项,比如说打开或关闭对python的支持。
cflag是编译时的参数,不负责打开或关闭某个选项,只负责生成和cpu相互符合的机器码。 |
|