Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-13-2006, 01:21 PM   #1
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 923

Rep: Reputation: 111Reputation: 111
slackbuild question

Sorry if this has been answered before, but I couldn't find my answer using the search feature. Anyway, here it goes...I'm build a few packages using a provided slackbuild script. I have changed a few things in the script to optimize the package. Here is my question, in the O2 flag section, should I leave it as O2 or O3? What is the difference between the both of them? Thanks for the replies!!
Old 11-13-2006, 02:20 PM   #2
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
I suggest O2. Here's a good discussion about it:


"The choice: Summarised

-O2 smaller binary, faster to load from disk, less RAM usage, better cache usage in systems with moderate cpu cache, higher reliability;

-O3 slight to moderate speed increase for some applications, higher memory (RAM, cache and disk) usage, longer load times from disk, very occasional problems with compilation; expect less than 1% improvement in *overall* execution speed."


"Options That Control Optimization"
Old 11-13-2006, 02:24 PM   #3
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 923

Original Poster
Rep: Reputation: 111Reputation: 111
Thanks!!! Just what I was looking for!!


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
a generic SlackBuild shilo Slackware 46 06-19-2008 11:45 PM
xmame slackbuild Harp00 Slackware 17 04-27-2006 05:51 PM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM
KDE.SlackBuild spaceballs Slackware 8 04-01-2005 08:42 AM
SlackBuild system thegeekster Slackware 7 06-01-2004 06:59 PM

All times are GMT -5. The time now is 07:23 PM.

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