Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to know which parameters to put on USE flags?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vm63310
n00b
n00b


Joined: 06 Mar 2003
Posts: 6

PostPosted: Mon Mar 10, 2003 11:18 am    Post subject: How to know which parameters to put on USE flags? Reply with quote

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
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Mon Mar 10, 2003 1:07 pm    Post subject: Reply with quote

Code:
emerge -vp <package>

To see what options a package has
Back to top
View user's profile Send private message
Accipiter
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2003
Posts: 87
Location: Buffalo, NY

PostPosted: Mon Mar 10, 2003 7:23 pm    Post subject: Ufed Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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