LinuxQuestions.org
Register a domain and help support LQ
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 09-25-2003, 12:18 PM   #1
joelf
LQ Newbie
 
Registered: Sep 2003
Location: Ohio
Distribution: Redhat (Currently Severn)
Posts: 7

Rep: Reputation: 0
Question How do you compile your software using optimization options (during the ./configure)


QUESTION: How do you optimize everyday software using hardware specific optimizations?

EXAMPLE: I just downloaded the source code to Midnight
Commander. I wondered how you can add 3-4 optmizations
such as -march=athlon or -O3.

Thank you!
 
Old 09-25-2003, 12:37 PM   #2
Panzerfrost
Member
 
Registered: Aug 2003
Distribution: RedHat 9, Mandrake 9.1, Slackware 9.1
Posts: 81

Rep: Reputation: 15
I'm not too sure about this, but isn't the purpose of compiling is in order to optimize it for your own machine?

I don't think there's such an option, because when you compile it a machine, it's optimized to it already due to the process of compiling.
 
Old 09-25-2003, 01:14 PM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
That was my thought as well. There are, however, certain options some apps will give you. They vary from program to program. Read the README file or try ./configure --help for command line argument you're allowed to enter.
 
Old 09-25-2003, 01:19 PM   #4
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
Some hints from LFS

http://www.linuxfromscratch.org/hint...ipped-down.txt
http://www.linuxfromscratch.org/hint...timization.txt
 
  


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
no effect for ./configure options to install a software cdsnithi Linux - Software 2 06-23-2005 09:48 PM
kernel compile options keysoft Linux - Newbie 4 02-24-2005 01:01 AM
./Compile options for Slackware redjokerx Slackware 6 08-31-2004 03:33 PM
emerge compile options MrJoshua Linux - Software 0 06-07-2004 04:58 PM
./configure - which options? Zingaro2002 Linux - General 4 01-24-2003 02:18 PM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration