|
发表于 2011-1-9 21:16:00
|
显示全部楼层
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
Gentoo wiki上有一篇文章,不过在最顶上提了一句:
Warning: GCC 4.2 and above support -march=native, which automatically detects the optimum settings to use based on your processor. -march=native also detects and applies additional settings beyond -march specific to your CPU, (eg. -msse4). Unless you have a specific reason not to (e.g. distcc cross-compiling), you should probably be using -march=native rather than anything listed below. Check your native options using gcc -c -Q -march=native --help=target |
|