Roman Zilka <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on  Fri, 11 Aug 2006 19:01:48 +0200:

> IMHO the USE flags setting is what differentiates me from mostly
> everyone else - some kind of a DNA of a Gentoo user. I think you'll
> have to make yourself a cup of coffee, read the whole of
> /usr/portage/profiles/use.desc and decide on your own. Maybe someone
> might come up with a set of flags your would probably want to have set,
> but you're apparently interested in disabling features to get rid of
> some unwanted stuff. And I think there's no telling what flags should be
> disabled generally. You have to decide what you want your system to look
> like, only you know the environment (network, HW, ...), the apps you'd
> like to use, etc.
> 
> To give you an impression, here's my set of flags and its background:

Seconded, and here are mine (the profile defaults may of course add a few
others):

$cat /etc/portage/make.conf/use
################################################################################
#### make.conf USE flags (only) (USE incremental, thus including defaults)
################################################################################

USE="
7zip a52 aac -aalib acpi audiofile alsa amr -apache2 apm arts asf avi
bash-completion bitmap-fonts berkdb bzip2
caps css cdparanoia cdr crypt cups curl
dga divx4linux dlloader dri dts dv dvd dvdr dvdread
encode -esd expat extrafilters
-f77 fam fame ffmpeg flac font-server foomaticdb -fortran
gcc64 -gcj gdbm gif glibc-omitfp -gnome gpm -gstreamer -gtk gtk2
idn imagemagick imlib -ipv6 ithreads
-java jp2 jpeg jpeg2k
kde kdeenablefinal kdehiddenvisibility
lcms -libcaca -libg++ libwww linuxthreads-tls lm_sensors logitech-mouse 
logrotate lzo lzw lzw-tiff
mad maildir mikmod mjpeg mng motif mp4 mpeg multilib -multislot musicbrainz
-nas ncurses network -nls
nolvm1 nomirrors no-old-linux nptl nptlonly
ogg offensive openexr opengl oss
pam pcre pdf -perl pic png ppds profile python
qt3 -qt4 quicktime
radeon readline
scanner -sdl slang smime speex spell ssl
tcltk -tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts
usb userlocales
vcd vorbis
X x264 xcomposite xine xinerama xml xml2 xmms xpm xrandr xosd xv xvid
yv12
zlib
"

(My make.conf simply includes one file.  That way, if it gets overwritten,
it's very easy to fix.  =8^)  That file then serves as a master file,
simply including several other files, split out by functionality.)

$cat /etc/make.conf
source /etc/portage/make.conf/master

$cat /etc/portage/make.conf/master
source /etc/portage/make.conf/cflags
source /etc/portage/make.conf/features
source /etc/portage/make.conf/fs
source /etc/portage/make.conf/jed
source /etc/portage/make.conf/ldflags
source /etc/portage/make.conf/log
source /etc/portage/make.conf/makeopts
source /etc/portage/make.conf/mirrors
source /etc/portage/make.conf/net
source /etc/portage/make.conf/use
source /etc/portage/make.conf/other

One more, FWIW:

$cat /etc/portage/make.conf/cflags
#########################
#### make.conf C(XX)FLAGS
#########################
# Default "-O2 -pipe"

# normal
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"
# plus -fPIC
#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"
# basic
#CFLAGS="-march=k8 -Os -pipe -frename-registers"
# very basic
#CFLAGS="-march=k8 -O2 -pipe"
# unoptimized
#CFLAGS="-march=k8 -pipe"

# CXXFLAGS: C++ doesn't like -freorder-blocks-and-partition or -combine, so the 
above minus that for it
# normal
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"
# plus -fPIC
#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"
# basic
#CXXFLAGS="${CFLAGS}"

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list

Reply via email to