Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ideal CFLAGS for pentium4 from stage1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Wed Feb 15, 2006 8:59 am    Post subject: Ideal CFLAGS for pentium4 from stage1 Reply with quote

Hello everyone :)

Hopefully isn`t off-topic. I want ask you (newbie) some questions about CFLAGS for architecture pentium4. I found this page: http://gentoo-wiki.com/TIP_Acovea that this is ideal flags for Penium4. What do you think about it?

Code:

My CFLAGS:
CFLAGS="-O3 -march=pentium4 -pipe --fno-if-conversion2 -foptimize-sibling-calls -fcse-follow-jumps -fgcse -frerun-cse-after-loop -fschedule-insns -fstrict-aliasing -freorder-functions -frename-registers -mno-align-stringops -minline-all-stringops"


I want optimize my computer for speed. I have 1.6 GHz processor Penium4, 512 RIMM memory. Please, why is rated as negative standard flags like -fomit-frame-pointer, -momit-leaf-frame-pointer, ffast-math, etc? Anybody know? Now I`m in bootstrap.sh process. Should I stop it? :) Please. Thank you.

PS: Sorry for off-topic
_________________
Many regards
Back to top
View user's profile Send private message
coco-loco
Apprentice
Apprentice


Joined: 30 Oct 2005
Posts: 249

PostPosted: Wed Feb 15, 2006 9:03 am    Post subject: Reply with quote

Check this one out:
http://gentoo-wiki.com/Safe_Cflags
_________________
In 2007 Windows will come with command-line tools - an attempt to behave like a real OS?
Back to top
View user's profile Send private message
zrebec
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2004
Posts: 129
Location: Bratislava / Slovakia

PostPosted: Wed Feb 15, 2006 9:10 am    Post subject: Checked Reply with quote

I checked it but it`s only safe flags, isn`t? I want optimize for speed. I want gentoo linux on my desktop now :) Not for server.
_________________
Many regards
Back to top
View user's profile Send private message
coco-loco
Apprentice
Apprentice


Joined: 30 Oct 2005
Posts: 249

PostPosted: Wed Feb 15, 2006 9:46 am    Post subject: Reply with quote

If you feel like toying around, here's a complete list with several explanations:
http://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/Optimize-Options.html#Optimize%20Options/
_________________
In 2007 Windows will come with command-line tools - an attempt to behave like a real OS?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 15, 2006 9:03 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-333123-highlight-cflags+central.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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