From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GBf84-00029v-TG for garchives@archives.gentoo.org; Fri, 11 Aug 2006 22:05:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7BM1XSg004191; Fri, 11 Aug 2006 22:01:33 GMT Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7BM1Wjj003708 for ; Fri, 11 Aug 2006 22:01:32 GMT Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GBf4F-0000vL-Ce for gentoo-amd64@lists.gentoo.org; Sat, 12 Aug 2006 00:01:23 +0200 Received: from ip68-230-97-209.ph.ph.cox.net ([68.230.97.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Aug 2006 00:01:23 +0200 Received: from 1i5t5.duncan by ip68-230-97-209.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Aug 2006 00:01:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: "Duncan" <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: recommended USE flags Date: Fri, 11 Aug 2006 22:01:08 +0000 (UTC) Message-ID: References: <44DC7816.3050203@akyasociados.com.ar> <20060811190148.A25483@eniac.gvid.cz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-97-209.ph.ph.cox.net User-Agent: pan 0.107 (Umi De No Jisatsu) Sender: news X-Archives-Salt: 5a41f38b-a40d-46ce-b736-85611aba8b0e X-Archives-Hash: fe611a67e78c8704b579659f29662b06 Roman Zilka 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