Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CFLAGS] need a few more details Celeron 466MHz (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Fri Feb 25, 2005 2:55 pm    Post subject: [CFLAGS] need a few more details Celeron 466MHz (solved) Reply with quote

I'm installing gentoo on a celeron 466MHz at the moment, as I'd like to use this old machine as a router, web/mail/ftp server and firewall. 8)
At the moment I'm asking myself some questions about the -march CFLAG. I found this in the forum and this quote is also about a Celeron 466 MHz :

Twist wrote:
Code:
CFLAGS="-O2 -march=pentium4 -momit-leaf-frame-pointer -pipe"
would be a good start. I don't recommend -O3, and it will increase your compilation time besides. omit-leaf-frame-pointer is the safe version of omit-frame-pointer. And yes, a Celeron is an "pentium4".


The fact is I already start compiling the system with CFLAG: -march=i686 ! :roll:
Is it going to change much about performances if I leave as is ? Would it really be better to put -march=pentium4 instead? :roll:

If some of you experienced these differents CFLAGS or know more than I do about CFLAGS (which is quite possible :P) I'll be glad to hear you! :D

regards,


Last edited by Adrien on Fri Feb 25, 2005 3:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Feb 25, 2005 3:00 pm    Post subject: Reply with quote

Compiling with march=pentium4 for a Celeron 466 (which is internally a Pentium-2) is not actually possible.
Use the P2 settings recommended by the guide you can Google in about 3 seconds.
There is, however, a difference between march=686 and march=pentium2.
The 686 is a Pentium Pro, so using that arch will not utilise everything the Pentium2 has to offer.
Just use march=pentium2.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Fri Feb 25, 2005 3:03 pm    Post subject: Reply with quote

adaptr wrote:
Use the P2 settings recommended by the guide you can Google in about 3 seconds.

Definitely but, this -march=pentium4 is the reason why I'm writing, it just surprised me a little bit!
adaptr wrote:
Just use march=pentium2.

Thanks for this :wink:
cheers! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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