设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Gentoo Linux
›
cflags????
返回列表
查看:
636
|
回复:
5
cflags????
[复制链接]
Blahster
Blahster
当前离线
积分
682
IP卡
狗仔卡
发表于 2005-3-22 12:01:54
|
显示全部楼层
|
阅读模式
Pentium M de CPU, cflags该怎么写?
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
Jwing
Jwing
当前离线
积分
640
IP卡
狗仔卡
发表于 2005-3-22 13:20:19
|
显示全部楼层
safe:
-O3 -march=pentium-m -mtune=pentium-m -fomit-frame-pointer -pipe -funroll-loops -mfmpath=sse
复制代码
回复
支持
反对
使用道具
举报
显身卡
Jwing
Jwing
当前离线
积分
640
IP卡
狗仔卡
发表于 2005-3-22 13:24:57
|
显示全部楼层
PM是基於P3的,所以用P3的CFLAGS也是可以的
CFLAGS="-march=pentium3 -O2 -pipe -msse2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64"
复制代码
詳見:
http://www.peteleonard.com/gentoo-t41p/
回复
支持
反对
使用道具
举报
显身卡
Jwing
Jwing
当前离线
积分
640
IP卡
狗仔卡
发表于 2005-3-22 13:31:43
|
显示全部楼层
有必要補充一下,因爲gcc3.4以下的版本不支持PM,所以如果你的gcc是3.4以下而又不想昇級gcc的話,那就用P3的~
詳見:
http://www.frexx.de/m30gentoo/m30gentoo-main.html
回复
支持
反对
使用道具
举报
显身卡
Jwing
Jwing
当前离线
积分
640
IP卡
狗仔卡
发表于 2005-3-22 13:36:13
|
显示全部楼层
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
复制代码
當然這個是最保險的了,好像還有個比利時人說他用這個比用針對P3/PM的都要好 :ask
回复
支持
反对
使用道具
举报
显身卡
Blahster
Blahster
当前离线
积分
682
IP卡
狗仔卡
楼主
|
发表于 2005-3-24 12:59:32
|
显示全部楼层
谢了!!!
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
Debian Linux
服务器架设、应用、维护
SuSE Linux
Mandriva Linux
LFS(LinuxfromScratch)
Linux 输入开发与研究
Linux 程序设计专题讨论
BSD 讨论专题
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表