public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Duncan" <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: recommended USE flags
Date: Fri, 11 Aug 2006 22:01:08 +0000 (UTC)	[thread overview]
Message-ID: <ebiun3$tve$3@sea.gmane.org> (raw)
In-Reply-To: 20060811190148.A25483@eniac.gvid.cz

Roman Zilka <rzilka@gvid.cz> posted 20060811190148.A25483@eniac.gvid.cz,
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	other threads:[~2006-08-11 22:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 12:29 [gentoo-amd64] recommended USE flags Rafael Barrera Oro
2006-08-11 16:47 ` Ahmed Ammar
2006-08-11 17:03   ` Dan Clark
2006-08-11 18:31     ` Sam Barlow
2006-08-11 17:01 ` Roman Zilka
2006-08-11 22:01   ` Duncan [this message]
2006-08-11 22:01 ` Hemmann, Volker Armin
2006-08-12 10:13   ` Peter Humphrey
2006-08-12 12:39     ` [gentoo-amd64] " Duncan
2006-08-12 12:49       ` Simon Stelling
2006-08-12 18:44         ` [gentoo-amd64] " Duncan
2006-08-12 17:35       ` [gentoo-amd64] " Peter Humphrey
2006-08-12 18:35         ` [gentoo-amd64] " Duncan
2006-08-12 20:18           ` Hemmann, Volker Armin
2006-08-12 20:45             ` Vladimir G. Ivanovic
2006-08-12 20:58               ` Hemmann, Volker Armin
2006-08-13  8:48                 ` Peter Humphrey
2006-08-14  9:22                   ` Peter Humphrey
2006-08-13 10:17                 ` Simon Stelling
2006-08-13 10:20             ` [gentoo-amd64] " Duncan
2006-08-13 16:56               ` Hemmann, Volker Armin
2006-08-13 19:34                 ` [gentoo-amd64] " Duncan
2006-08-13 16:45           ` [gentoo-amd64] " Hemmann, Volker Armin
2006-08-14 12:16   ` [gentoo-amd64] " Conway S. Smith
2006-08-12  0:05 ` Richard Fish
2006-08-12 20:18   ` J'raxis 270145
2006-08-13  8:57     ` Peter Humphrey
2006-08-13 10:20       ` Simon Stelling
2006-08-13 10:43         ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ebiun3$tve$3@sea.gmane.org' \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox