Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我注意到 OSX Snow Leopard 上的 gcc 不支持 -march=native。我可以在配置脚本中输入什么命令来检测该选项是否可用?
以下似乎有效:
echo "" | gcc -fsyntax-only -march=native -xc -