View previous topic :: View next topic |
Author |
Message |
vm63310 n00b
Joined: 06 Mar 2003 Posts: 6
|
Posted: Mon Mar 10, 2003 11:18 am Post subject: How to know which parameters to put on USE flags? |
|
|
I got I problem.. Because I like *always* overoptimize my system, I want total control of the build process. I can put optimizing parameters to GCC either writing them to /etc/make.conf or exporting them on command line. But again using USE="-X" etc.. is not so simple.. How do I know which parameters different packages can digest
Let's say I want to emerge lame.. It will definetly need some dependencies to fill out before installing. Ok, in case of lame (mp3 encoder) I said:
# emerge lame
Well, lame supports somekind of gui stuff so the process started to fill out missing deps. Few "little" programs like X and so on.. Well then I pressed CTRL-C and tried again:
# export USE="-X"
# emerge lame
and everything worked well.. No X support, just plain and simple binary.. Well, I guess these USE parameters are feed to configure script before compiling? Ok, is there an easy way to actually know every parameter I can put on the USE variable? In case of lame, there's more options than not to include gui support but how I can tell what they are?? Another scenario. I want to install program A which depends on programs B and C. By emerging A the system automagically install C and B. How can I tell emerge to feed different parameters to A, B and C.. Let's say I want to compile A without X support and B and C with X support.
Hard to explain in foreign language but hopefully someone understood
--
Wellu |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Mon Mar 10, 2003 1:07 pm Post subject: |
|
|
Code: | emerge -vp <package> |
To see what options a package has |
|
Back to top |
|
|
Accipiter Tux's lil' helper
Joined: 24 Feb 2003 Posts: 87 Location: Buffalo, NY
|
Posted: Mon Mar 10, 2003 7:23 pm Post subject: Ufed |
|
|
Another interesting tool you might want to consider:
Code: | emerge app-admin/ufed |
It is a very useful userland utility for configuring your USE flags, along with concise explanations of each possible flag. |
|
Back to top |
|
|
|