Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Pentium 4 (Prescott): Which CFLAGS are better?

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
westves
n00b
n00b
Posts: 6
Joined: Fri Aug 03, 2007 7:22 pm

Pentium 4 (Prescott): Which CFLAGS are better?

  • Quote

Post by westves » Mon Mar 31, 2008 12:19 pm

Hi.
Could anybody say which CFLAGS for Intel Pentium 4 630 (Prescott) have better performance :

Code: Select all

32-bit profile (x86)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
or

Code: Select all

64-bit profile (amd64)
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Thanks for any advices!
Top
Scratalacha
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Tue Feb 24, 2004 4:39 pm

  • Quote

Post by Scratalacha » Mon Mar 31, 2008 2:03 pm

Assuming you are using gcc 4.2 or greater (I'm pretty sure about this...), you can use -march=native and GCC will choose for you.
Anime ate my computer
Top
ShinyThings
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Tue Jul 03, 2007 5:47 pm
Location: Ontario

  • Quote

Post by ShinyThings » Mon Mar 31, 2008 10:13 pm

Well, the second option (the x86-64 one) will give you a 64bit system. The performance increase will probably be negligible unless you are doing anything scientific or perhaps statistics-related. It also comes with a few minor software issues that you may want to avoid.

That being said, I use a 64bit system, and I have no complaints.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic