1 |
Roman Zilka <rzilka@××××.cz> posted 20060811190148.A25483@××××××××××.cz, |
2 |
excerpted below, on Fri, 11 Aug 2006 19:01:48 +0200: |
3 |
|
4 |
> IMHO the USE flags setting is what differentiates me from mostly |
5 |
> everyone else - some kind of a DNA of a Gentoo user. I think you'll |
6 |
> have to make yourself a cup of coffee, read the whole of |
7 |
> /usr/portage/profiles/use.desc and decide on your own. Maybe someone |
8 |
> might come up with a set of flags your would probably want to have set, |
9 |
> but you're apparently interested in disabling features to get rid of |
10 |
> some unwanted stuff. And I think there's no telling what flags should be |
11 |
> disabled generally. You have to decide what you want your system to look |
12 |
> like, only you know the environment (network, HW, ...), the apps you'd |
13 |
> like to use, etc. |
14 |
> |
15 |
> To give you an impression, here's my set of flags and its background: |
16 |
|
17 |
Seconded, and here are mine (the profile defaults may of course add a few |
18 |
others): |
19 |
|
20 |
$cat /etc/portage/make.conf/use |
21 |
################################################################################ |
22 |
#### make.conf USE flags (only) (USE incremental, thus including defaults) |
23 |
################################################################################ |
24 |
|
25 |
USE=" |
26 |
7zip a52 aac -aalib acpi audiofile alsa amr -apache2 apm arts asf avi |
27 |
bash-completion bitmap-fonts berkdb bzip2 |
28 |
caps css cdparanoia cdr crypt cups curl |
29 |
dga divx4linux dlloader dri dts dv dvd dvdr dvdread |
30 |
encode -esd expat extrafilters |
31 |
-f77 fam fame ffmpeg flac font-server foomaticdb -fortran |
32 |
gcc64 -gcj gdbm gif glibc-omitfp -gnome gpm -gstreamer -gtk gtk2 |
33 |
idn imagemagick imlib -ipv6 ithreads |
34 |
-java jp2 jpeg jpeg2k |
35 |
kde kdeenablefinal kdehiddenvisibility |
36 |
lcms -libcaca -libg++ libwww linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff |
37 |
mad maildir mikmod mjpeg mng motif mp4 mpeg multilib -multislot musicbrainz |
38 |
-nas ncurses network -nls |
39 |
nolvm1 nomirrors no-old-linux nptl nptlonly |
40 |
ogg offensive openexr opengl oss |
41 |
pam pcre pdf -perl pic png ppds profile python |
42 |
qt3 -qt4 quicktime |
43 |
radeon readline |
44 |
scanner -sdl slang smime speex spell ssl |
45 |
tcltk -tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts |
46 |
usb userlocales |
47 |
vcd vorbis |
48 |
X x264 xcomposite xine xinerama xml xml2 xmms xpm xrandr xosd xv xvid |
49 |
yv12 |
50 |
zlib |
51 |
" |
52 |
|
53 |
(My make.conf simply includes one file. That way, if it gets overwritten, |
54 |
it's very easy to fix. =8^) That file then serves as a master file, |
55 |
simply including several other files, split out by functionality.) |
56 |
|
57 |
$cat /etc/make.conf |
58 |
source /etc/portage/make.conf/master |
59 |
|
60 |
$cat /etc/portage/make.conf/master |
61 |
source /etc/portage/make.conf/cflags |
62 |
source /etc/portage/make.conf/features |
63 |
source /etc/portage/make.conf/fs |
64 |
source /etc/portage/make.conf/jed |
65 |
source /etc/portage/make.conf/ldflags |
66 |
source /etc/portage/make.conf/log |
67 |
source /etc/portage/make.conf/makeopts |
68 |
source /etc/portage/make.conf/mirrors |
69 |
source /etc/portage/make.conf/net |
70 |
source /etc/portage/make.conf/use |
71 |
source /etc/portage/make.conf/other |
72 |
|
73 |
One more, FWIW: |
74 |
|
75 |
$cat /etc/portage/make.conf/cflags |
76 |
######################### |
77 |
#### make.conf C(XX)FLAGS |
78 |
######################### |
79 |
# Default "-O2 -pipe" |
80 |
|
81 |
# normal |
82 |
CFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -freorder-blocks-and-partition -combine -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants" |
83 |
# plus -fPIC |
84 |
#CFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -freorder-blocks-and-partition -combine -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -fPIC" |
85 |
# basic |
86 |
#CFLAGS="-march=k8 -Os -pipe -frename-registers" |
87 |
# very basic |
88 |
#CFLAGS="-march=k8 -O2 -pipe" |
89 |
# unoptimized |
90 |
#CFLAGS="-march=k8 -pipe" |
91 |
|
92 |
# CXXFLAGS: C++ doesn't like -freorder-blocks-and-partition or -combine, so the above minus that for it |
93 |
# normal |
94 |
CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants" |
95 |
# plus -fPIC |
96 |
#CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -fPIC" |
97 |
# basic |
98 |
#CXXFLAGS="${CFLAGS}" |
99 |
|
100 |
-- |
101 |
Duncan - List replies preferred. No HTML msgs. |
102 |
"Every nonfree program has a lord, a master -- |
103 |
and if you use the program, he is your master." Richard Stallman |
104 |
|
105 |
-- |
106 |
gentoo-amd64@g.o mailing list |