+ -
当前位置:首页 → 问答吧 → -fomit-frame-pointer 这个开关 64位的CORE2 需要加吗?

-fomit-frame-pointer 这个开关 64位的CORE2 需要加吗?

时间:2009-02-17

来源:互联网

如题,我看了一些设置,64位的CORE2 CPU都没有加这些,32位的却加了,为什么呢?

作者: liutao6   发布时间: 2009-02-17

你自己试试,加和不加编译出来的程序大小有什么不同

作者: zhllg   发布时间: 2009-02-17

谢谢,我还想问一下 , -march=core2 - mtune=core2 这里的-mtune-core2 这个参数是干嘛用的哦

作者: liutao6   发布时间: 2009-02-17

引用:
作者: liutao6
谢谢,我还想问一下 , -march=core2 - mtune=core2 这里的-mtune-core2 这个参数是干嘛用的哦
请 man gcc

查找 -mtune

作者: poet   发布时间: 2009-02-17

引用:
作者: poet
请 man gcc

查找 -mtune
谢谢,我现在没有linux系统

作者: liutao6   发布时间: 2009-02-17

引用:
作者: liutao6
谢谢,我现在没有linux系统
不是借口,win 下的 gcc 也是一样的。

何况还可以 google man gcc 4

作者: poet   发布时间: 2009-02-17