LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-25-2003, 06:54 PM   #1
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Does -march=athlon help?


I've done a bit of googling and haven't turned up any useful information on this topic:

I've seen some info related to passing the -march=athlon flag to gcc for some performance enhancements (on the athlon architecture of course). Does anyone know what kind of performance benefits would come of this?

If there's significant advantage to be had by using it, I'd be interested in making it a default compiler flag (if there's a way to do that - anyone know?) and/or the default for rpm building (which apparently is hiding somewhere in /etc/rpmrc or /lib/rpm/rpmrc), since I'm probably not going to be compiling stuff for anything other than the CPU I'm running on.

If anyone has experience with this or knows a good source of additional information, I'd love to know more...
 
Old 02-26-2003, 02:57 AM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
A good source for info about compiler flags in general is the gcc website at htp://gcc.gnu.org Just go to documentation and check with the doc's for the version you use.
Your best bet to find out what CPU flag is right for yours is probably a search at the gentoo forum at http://www.gentoo.org for 'gcc flags'.
It is a little messy with AMD's - I got a duron and there is a duron flag but I need to use athlon-tbird.Depends on the actual core of the CPU not the name.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
March of the Penguins movie - Thumbs up! J.W. General 2 07-10-2005 07:04 PM
gcc march agdepus Programming 8 05-26-2004 09:11 AM
mcpu vs march Spaz17 Linux - Newbie 6 12-31-2003 12:28 AM
-march optimisation for kernel BenPope Linux - General 2 09-03-2003 11:36 AM
march 8th 2003 SeT General 11 03-10-2003 10:27 PM


All times are GMT -5. The time now is 01:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration