Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
求优化CFlags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
sexiszero
n00b
n00b


Joined: 22 Sep 2003
Posts: 9

PostPosted: Wed Feb 02, 2005 1:54 am    Post subject: 求优化CFlags Reply with quote

4 Xeon(with HT) 2.2GHz, 4GB memory
如何在make.conf设置中优化呢?
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer -funroll-loops"
据说-march=i686会比-march=pentium4快?
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Fri Feb 04, 2005 4:31 am    Post subject: Reply with quote

请看该贴里关于 CFLAGS 设置的部分, 有一些有用的链接 :)
另外, 可以使用 acovea 来检测, 获得针对你的机器的 CFLAGS, 不过据说运行一次检测要 n 多时间 (数个小时以上吧..)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum