View previous topic :: View next topic |
Author |
Message |
flywheelbot n00b
Joined: 12 Feb 2006 Posts: 12 Location: United States
|
Posted: Tue Sep 12, 2006 5:10 pm Post subject: Compile certain packages with -03, others with -02? |
|
|
I know the debate goes on as to if 03 is worth it or not--I'm not interested in all my binaries being larger, but for certain applications that I use regularly, I'd like to compile them (and their dependancies if necessary) with 03.
Is it possible to specify (like package.use?) that only certain packages should compile with -03 and others with -02?
Thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Tue Sep 12, 2006 6:41 pm Post subject: |
|
|
flywheelbot,
Per package CFLAGS are not supported yet. I know there is some work being done on it but I have no idea of timescales. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
flywheelbot n00b
Joined: 12 Feb 2006 Posts: 12 Location: United States
|
Posted: Tue Sep 12, 2006 6:53 pm Post subject: |
|
|
Thanks--I figured it wouldn't be as simple as the package.use yet.
I saw in the gentoo wiki:
Quote: |
It is very easy to get a system built using -O3 instead of -O2. A lot of packages that break with -O3 already replace the flag with -O2
|
at http://gentoo-wiki.com/CFLAGS
So, obviously some packages 'know' to step to -O2 from -O3 somewhere in the ebuild.
Again, the performance gains would probably be marginal at best--but for applications that I load only once, and use often (say, firefox, thunderbird, kdevelop), I wouldn't mind a slightly longer load time for any speed increase I can get. |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|