View previous topic :: View next topic |
Author |
Message |
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Fri Feb 25, 2005 2:55 pm Post subject: [CFLAGS] need a few more details Celeron 466MHz (solved) |
|
|
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.
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 !
Is it going to change much about performances if I leave as is ? Would it really be better to put -march=pentium4 instead?
If some of you experienced these differents CFLAGS or know more than I do about CFLAGS (which is quite possible ) I'll be glad to hear you!
regards,
Last edited by Adrien on Fri Feb 25, 2005 3:04 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Feb 25, 2005 3:00 pm Post subject: |
|
|
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 |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Fri Feb 25, 2005 3:03 pm Post subject: |
|
|
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
cheers! |
|
Back to top |
|
|
|