Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
post your make.conf
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 13, 14, 15  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1102
Location: Rep. of Ireland

PostPosted: Fri Feb 23, 2007 4:32 am    Post subject: Reply with quote

vibrokatana wrote:
gcc doesnt look at USE flags iirc, it is just a system to add/remove options when compiling programs in the ebuilds.


Yeah exactly, all it's concerned about is the CFLAGS and stuff passed by make.
Back to top
View user's profile Send private message
dforsyth
n00b
n00b


Joined: 29 Jan 2005
Posts: 26
Location: College Park, Murdaland

PostPosted: Fri Feb 23, 2007 5:15 am    Post subject: Reply with quote

am i too late to be cool?

Code:

PERL_VER=5.8.8
PERL_VERSION=5.8.8
WITH_GECKO=xulrunner
USE_GECKO=xulrunner

_________________
O
4~ <-- me, fapping to Palin.
/\ `_
Back to top
View user's profile Send private message
Crooksey
Apprentice
Apprentice


Joined: 26 Apr 2006
Posts: 239
Location: Vatican City

PostPosted: Fri Feb 23, 2007 1:44 pm    Post subject: Reply with quote

Code:

#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The FTP/HTTP download utility that makepkg should use to acquire sources
export FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
#export FTPAGENT="/usr/bin/snarf"
#export FTPAGENT="/usr/bin/lftpget -c"

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
export CARCH="i686"
export CHOST="i686-pc-linux-gnu"
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="-march=i686 -O2 -pipe"
#-- Optimized: will run on any x86, but optimized for i686
#export CFLAGS="-mcpu=i686 -O2 -pipe"
#export CXXFLAGS="-mcpu=i686 -O2 -pipe"
#-- Make Flags: change this for DistCC/SMP systems
#export MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
#-- Fakeroot: for building packages as a non-root user
export USE_FAKEROOT="y"
#-- DistCC: a distributed C/C++/ObjC compiler (modify MAKEFLAGS too)
export DISTCC="n"
#-- A space-delimited list of hosts running in the DistCC cluster
export DISTCC_HOSTS=""
#-- Colorized output messages
export USE_COLOR="y"

#########################################################################
# GLOBAL PACKAGE OPTIONS
#########################################################################
#
#-- Don't strip symbols from binaries/libraries
#export NOSTRIP="1"
#-- Keep doc and info directories
#export KEEPDOCS="1"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
#-- Destination: specify a fixed directory where all packages will be placed
#export PKGDEST=/home/packages
#-- Packager: name/email of the person or organization building packages
#export PACKAGER="John Doe <john@doe.com>"

Back to top
View user's profile Send private message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 359
Location: Germany (Saarland)

PostPosted: Fri Feb 23, 2007 3:02 pm    Post subject: Reply with quote

Core 2 Duo E6600:

Code:
root @ fangthane - it is Fri Feb 23, time is 16:01:29
you are in /home/bloodsurfer
#> cat /etc/make.conf
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
ACCEPT_KEYWORDS="~amd64"

PORTDIR="/usr/portage/tree"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR_OVERLAY="/usr/portage/local/mixed"

USE="smp kde kdehiddenvisibility qt3 qt4 -arts -gnome -gtk dvd alsa cdr win32codecs unicode utf8 -ipv6 esd filepicker java mozbranding moznopango filter_default newspr glitz svg -eds -gstreamer bitmap-fonts truetype-fonts type1-fonts branding lame aac h264 dvdr imagemagick theora xvid css flac musepack vcd xscreensaver offensive kqemu aalib color-console dv dvdnav -dvdread libcaca mmxext nvidia real x264 mp4 divx realmedia wmp"

ALSA_CARDS="hda-intel"
LINGUAS="de"
LANG="de_DE@euro"
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="nvidia vesa fbdev nv"
FEATURES="parallel-fetch candy"

GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

source /usr/portage/local/layman/make.conf

_________________
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Fri Feb 23, 2007 6:46 pm    Post subject: Reply with quote

P4 2.4 Ghz with HT :

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#GENTOO_MIRRORS="http://tuxcafe.org/mirr0r/gentoo ftp://gentoo.risq.qc.ca"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
#GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca"
#GENTOO_MIRRORS="http://adelie.polymtl.ca http://gentoo.mirrored.ca"
USE="gtk gtk2 -gnome qt kde nls oss alsa dvd dvdread dvdr truetype avi userlocales cups
     foomaticdb usb gimpprint divx4linux ppds unicode jpeg gif png win32codecs
     sse mmx mp3 opengl i8x0 kdeenablefinal realtek ac97 msn mpeg real xv quicktime
     tetex nptl nptlonly nsplugin hal dbus aiglx pdf glitz svg"
FEATURES="ccache"
CCACHE_SIZE="2G"
LINGUAS="fr"
LANG="fr_CA.utf8"
#SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon"
MAKEOPTS="-j2"

_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Fri Feb 23, 2007 9:13 pm    Post subject: Reply with quote

Code:
CFLAGS="-O3 -march=athlon64 -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine -freorder-blocks-and-partition -msse3"                                                 
CXXFLAGS="${CFLAGS}"·
LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"
#LDFLAGSHASHSTYLE=" -Wl,--hash-style=both"
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
USE="3dnow 3dnowext acpi directfb dvd dvdr glx nptl nptlonly nsplugin openal oss unicode alsa xvid zlib amd64 avi bitmap-fonts imlib jpeg jpg mp3 mpeg ogg oggvorbis opengl png quicktime truetype truetype-fonts type1-fonts vorbis X symlink win32codecs userlocales aiglx pdf  mmxext lm_sensors mmx nforce2 pmu nvdia java sound mmap mplayer xcomposite multilib jikes aac mp4 lame ffmpeg glitz utf8 qt gtk amd64 mouse msn gstreamer xinerama svg"
FEATURES="ccache parallel-fetch"
MAKEOPTS="-j3"
LINGUAS="en en_US en_GB"
LOCALES="en_US"
PORTAGE_NICENESS="10"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia nv mesa vesa vmware"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
source /usr/portage/local/layman/make.conf
PORTDIR_OVERLAY="/usr/portage/local"
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Fri Feb 23, 2007 10:16 pm    Post subject: Reply with quote

Code:

cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
ALSA_CARDS="cmipci"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse evdev"
FEATURES="distcc"
PORTDIR_OVERLAY="/usr/local/portage"
LINGUAS="sv_SE sv se en_US"
USE="X alsa cairo cdr dbus dvd dvdr exif flac mp3 plugins esd glitz gnome hal imlib jpeg png svg gif gtk gtk2 truetype tiff usb vorbis xml -qt3 -qt4 -kde -arts"

GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
Butts McCokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3327

PostPosted: Sat Feb 24, 2007 1:48 am    Post subject: Reply with quote

Zubzub wrote:
[code]CFLAGS="-O3 -march=athlon64 -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine -freorder-blocks-and-partition -msse3"
why have -O3 and then list them all?
_________________
Since the bible and the church are obviously mistaken about where we came from, how can we trust them with where we're going?

"An eye for an eye will make us all blind" - Gandhi

Cold is gods way to tell us to burn more Catholics
Back to top
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Sat Feb 24, 2007 1:55 am    Post subject: Reply with quote

Zubzub wrote:
Code:
                                           
CXXFLAGS="${CFLAGS}"·


i think that's a stray character..
_________________
website
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 651

PostPosted: Sat Feb 24, 2007 3:22 am    Post subject: Reply with quote

Mine is pretty standard.

Code:
CFLAGS="-O2 -march=pentium3 -mtune=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
LDFLAGS="-Wl,-O1"
CXXFLAGS="${CFLAGS}"
USE="nptl -gdbm ipv6 cjk unicode nls gtk2 mmx sse sse2 kde qt qt3 cups tiff sdl java lm_sensors -gnome -ldap hal dga usb gimpprint ppds wmf svg lcms xscreensaver latex encode dvd flac divx4linux dvdr mmap oss gimp jack -arts ladcca tetex -eds -esd threads xml xml2 dri xcomposite acpi cairo glitz xvid browserplugin -apache2 dlloader tcltk bzip2 canna directfb fbcon kdehiddenvisibility ocaml Xaw3d blas zh_TW -ladcca lash dssi vst osc jackmidi joystick ucs4 theora utf8 xvmc nsplugin opengl gif jpeg png spell X vorbis alsa xine mp3 mad mpeg xv freetype2 css truetype a52 ffmpeg ogg perrty mikmod dbus bluetooth tk"
FEATURES="sandbox ccache"
AUTOCLEAN="yes"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/got /usr/portage/local/layman/pro-audio /usr/portage/local/layman/xeffects"
PORT_LOGDIR="/var/log/portage"
PORTAGE_TMPDIR="/var/portage"
PORTAGE_NICENESS=19
INPUT_DEVICES="keyboard mouse wacom"
VIDEO_CARDS="nv nvidia radeon"
LINGUAS="zh_TW en en_GB"

_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Sat Feb 24, 2007 7:20 pm    Post subject: Reply with quote

cokehabit wrote:
Zubzub wrote:
[code]CFLAGS="-O3 -march=athlon64 -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine -freorder-blocks-and-partition -msse3"
why have -O3 and then list them all?


because I never read the gcc handbook + Im a stupid noob :wink:
Back to top
View user's profile Send private message
zeke_j2007
n00b
n00b


Joined: 24 Feb 2007
Posts: 21

PostPosted: Sat Feb 24, 2007 7:57 pm    Post subject: Reply with quote

Code:

$ cat /etc/make.conf
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="alsa apache2 cdr -cups -dri fbcon firefox ggi -ipv6 mmx -ppds sse sse2 svga v4l xv X mysql php curl"

GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "

SYNC="rsync://rsync.gentoo.org/gentoo-portage"

ALSA_CARDS="cmipci"

VIDEO_CARDS="fbdev nv vesa vga v4l"
INPUT_DEVICES="keyboard mouse"
LINGUAS="en"


Code:

$ emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5zeke i686)
=================================================================
System uname: 2.6.19-gentoo-r5zeke i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 20 Feb 2007 08:30:07 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 berkdb bitmap-fonts cdr cli cracklib crypt curl dlloader fbcon firefox fortran gdbm ggi gpm iconv isdnlog libg++ midi mmx mysql ncurses nls nptl nptlonly pam pcre perl php pppd python readline reflection session spl sse sse2 ssl svga tcpd truetype-fonts type1-fonts unicode v4l x86 xorg xv zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev nv vesa vga v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I need to set LCD_DEVICES="" as I have no LCD_DEVICES.
Pentium 4 / 256 + 128 Mb RAM / 40 Gb Hard Drive
Notice that I don't use win32codecs and I am proud that I use only open source software.
_________________
I will never run non open source software on my computer. Please do not advice me running this kind of software. We should not use non open source software as it will cause total control over humanity in the near future.
Back to top
View user's profile Send private message
Butts McCokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3327

PostPosted: Fri Aug 08, 2008 10:52 pm    Post subject: Reply with quote

ok, on my new boxen
Code:
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ggdb"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
USE="gtk gnome -qt -kde mozbranding dvd alsa mad mp3 cdr truetype win32codecs unicode nvidia png xine tabs samba vorbis wma imagemagick"
FEATURES="splitdebug ccache sandbox nostrip fixpackages parallel-fetch"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="2G"
LINGUAS="en_GB en"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse"
PORTAGE_ELOG_CLASSES="warn error log info"
#ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
As you can see, i'm back on it :D
_________________
Since the bible and the church are obviously mistaken about where we came from, how can we trust them with where we're going?

"An eye for an eye will make us all blind" - Gandhi

Cold is gods way to tell us to burn more Catholics
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3753
Location: sleeping in the bathtub

PostPosted: Fri Aug 08, 2008 11:04 pm    Post subject: Reply with quote

Holy thread resurection, batman!

Anyways, mine's a bit of a mess at the moment, I'll be doing a new install soon, but this is what my make.conf currently looks like;
Code:
CHOST="x86_64-pc-linux-gnu"

CFLAGS="-O2 -march=athlon64 -msse3 -fforce-addr -pipe"
CXXFLAGS="${CFLAGS}"

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,now -Wl,--enable-new-dtags -Wl,--hash-style=gnu"

MAKEOPTS="-j3"

FEATURES="strict userfetch parallel-fetch sfperms"
FEATURES="${FEATURES} collision-protect"
FEATURES="${FEATURES} sandbox usersandbox"
#FEATURES="${FEATURES} -sandbox -usersandbox"
FEATURES="${FEATURES} userpriv"
#FEATURES="${FEATURES} stricter"

USE="mmx mmxext sse sse2 3dnow 3dnowext
X xcb xv dri xcomposite cairo gtk truetype
jpeg png svg lcms exif imlib gimp cups
alsa a52 aac dts vorbis mp3 flac ogg mad cdio
xvid x264 theora dv quicktime real live vcd ffmpeg dvd encode
custom-cflags mmap threads kdehiddenvisibility nocxx
caps gnutls network mysql
ncurses pcre bzip2
-nls -berkdb -midi -cxx -gdbm"

PORTAGE_NICENESS="19"

VIDEO_CARDS="radeon"
INPUT_DEVICES="evdev keyboard mouse"
ALSA_PCM_PLUGINS="plug ioplug hooks empty route asym softvol"

LINGUAS="en_GB en"

NPTL_KERN_VER="2.6.23"
GRUB_MAX_KERNEL_SIZE="2"

LIBDIR_amd64="lib"
SYMLINK_LIB="no"

GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --bwlimit=100"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P \${DISTDIR} \${URI} --limit-rate=100k"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P \${DISTDIR} \${URI} --limit-rate=100k"

EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="3"

EBEEP_IGNORE="yes"

CLEAN_DELAY=3

CONFIG_PROTECT="/usr/share/hddtemp /usr/share/misc/file"

PORTAGE_ECLASS_WARNING_ENABLE="0"

### PORTAGE DIRECTORIES

PORTDIR_OVERLAY="/var/portage/overlay"
PORTAGE_TMPDIR="/var/portage/tmp"
BUILD_PREFIX="${PORTAGE_TMPDIR}"
PORTAGE_TMPFS="${PORTAGE_TMPDIR}"
PKGDIR="/var/portage/packages"
DISTDIR="/var/portage/distfiles"
#PORT_LOGDIR="/var/portage/logs"
#RPMDIR="/var/portage/rpm"

_________________
"You have to invite me in"
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Aug 08, 2008 11:10 pm    Post subject: Reply with quote

Cokehabit is back on Gentoo... no wonder I felt the need to switch back to Ubuntu a couple of days ago. :lol:

Anyway, my make.conf (from the full backup I made before installing Hardy Heron ;)):
Code:
CFLAGS="-O2 -march=athlon-xp -pipe"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
FEATURES="fixpackages parallel-fetch"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
PORTAGE_ELOG_CLASSES="*"
PORTAGE_ELOG_SYSTEM="save_summary"
PORT_LOGDIR="/var/log/portage"
PORTDIR_OVERLAY=/usr/local/portage
ALSA_CARDS="emu10k1"
VIDEO_CARDS="nv nvidia"
INPUT_DEVICES="evdev keyboard mouse jamstudio joystick"
LINGUAS="en en_US"
USE="3dnow a52 aac ao audiofile bash-completion bzip2 cdparanoia cscope \
     css dga dts dv exif fbcon ffmpeg flac fontconfig foomaticdb \
     gimp glut gnutls imagemagick imlib jbig joystick jpeg2k lame \
     lcms libsamplerate lzo matroska mbox mime mmap mmx mng mplayer \
     musepack nsplugin offensive openexr oss ppds scanner shorten sndfile sox \
     speex sse startup-notification theora threads tk usb vcd \
     videos vim-syntax wavpack wxwindows x264 xcomposite xine xinerama \
     xpm xulrunner xvid -arts -cli -eds -emboss -esd -evo -firefox \
     -fortran -gnome -gstreamer -hal -isdnlog -kde -kerberos \
     -ldap -mudflap -pppd -qt3 -reflection -session -spl \
     -libnotify -branding -qt4 -qt3support"
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Fri Aug 08, 2008 11:14 pm    Post subject: Reply with quote

Code:
CFLAGS="-O2 -march=pentium4 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
USE="-X a52 aac aim alsa apache2 -arts asf bash-completion bzip2 calendar cddb cdinstall cdparanoia cdr cgi cjk crypt css cups -db2 dbus dga directfb divx divx4linux -dri dv dvd dvdr dvdread -eds -emacs encode -evo exif expat ffmpeg firefox flac fontconfig fortran ftp gif gimp -gnome -gnustep gphoto2 -gtk hddtemp icq ieee1394 imagemagick imlib ipod jabber java java6 javascript jpeg -kde lame latex -libgda lm_sensors mad matroska mime mmx mng -mozilla mp3 mpeg mplayer msn nas ncurses networkmanager nntp nocd nsplugin nvidia offensive ogg openal -opengl oscar pdf php png python -qt3 -qt4 quicktime raw readline rss sane scanner -seamonkey sockets socks5 sox spell sse sse2 ssl svg symlink syslog tetex theora tiff transcode truetype unicode usb vcd videos vim-syntax visualization vmware vnc vorbis win32codecs wma wmf wmp x264 xine xml xpm xv xvid yahoo"
source /usr/portage/local/layman/make.conf
MPD_HOST="localhost"
MPD_PORT="6600"

GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"


Headless, obviously ;/
Can't stand the compilation times for GUI's, so I've got Kubuntu (soon to be Arch) on the lappy.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2031
Location: Germany

PostPosted: Fri Aug 08, 2008 11:57 pm    Post subject: Reply with quote

Code:

ACCEPT_KEYWORDS="~amd64"                                                                 
#CFLAGS="-march=k8 -O2 -fweb -ftracer -fpeel-loops -ftree-vectorize -frename-registers -floop-optimize2 -msse3 -pipe"

CFLAGS="-march=k8 -O2 -msse3 -pipe"

#CFLAGS="-march=k8 -O2 -pipe -fweb -ftracer -fpeel-loops -msse3"
                                                               
#CHOST="x86_64-pc-linux-gnu"                                   
CXXFLAGS="${CFLAGS}"                                           
MAKEOPTS="-j3"                                                 
USE="3dnow 3dnowext 7zip S3TC Xaw3d a52 aac accessibility addbookmarks aiglx
     aim aio akode alias altenburgcards amarok amr amrnb amrwb aotuv       
     aqua_theme archive asf athena audiofile autoreplace bash-completion   
     binary-drivers bluetooth boost bzip2 captury cdda cddb cdinstall       
     cdparanoia cdrom cdsound cegui clamav connectionstatus contactnotes   
     cpudetection css curl depth32 dhcp dio divx dnd double-precision dpms dts
     dv dvb dvbplayer dvbsetup emerald emovix emul-linux-x86 exif expat       
     exscalibar extra-cardsets fame fasttrack ffmpeg fftw file filter_default
     filter_legacy filter_light fits flac fontconfig foomaticdb ftp gadu gammu
     gd gimp gimpprint glitz glut glx gnokii gnutella gpgme gtk2 hddtemp     
     highlight history icq icu id3 id3tag ieee1394 imagemagick inotify ipv6   
     irc irmc jabber java javascript jce joystick jpeg2k kcal kdecards       
     kdeenablefinal kdehiddenvisibility kdepim kdm kexi kipi lame lapack lcms
     lesstif libsamplerate libwww lirc lm_sensors logitech-mouse lzo lzw magic
     maps matroska mdnsresponder-compat metric mime mixer mjpeg mmap mmxext   
     mng mp4 mpeg2 mplayer msn mtp mule musepack music nano-syntax neXt net   
     network newspr ngui no-old-linux nocd nosendmail nova nowin nowlistening
     nsplugin obex offensive ogg123 ogm openexr oscar paste64 pch pda         
     physfs pixmaps plasma player plugins pnm posix ppds rar recode reiser4   
     reiserfs remix resolvconf rogue rtc samba sametime sasl scanner scenarios
     schedule scsi sdl-sound sdlaudio sendfile server slp smp sms sndfile     
     sockets sounds sqlite sqlite3 srt sse-filters sse3 ssh ssse3             
     startup-notification statistics stats stencil-buffer stroke subp         
     subtitles sysfs sysvipc szip texteffect textures tga theora threads     
     threadsafe timidity tk tomsfastmath toolbar tools transcode translator tv
     tv_check tv_combiner tv_pick_cgi type1 unzip usb userlocales utempter v4l
     v4l2 vcd videos visualization webdav webpresence wifi wireshark wmf wmp 
     wxwindows x264 xanim xcb xcomposite xemacs xext xface xine xosd xpm     
     xrandr xrender xscreensaver xskatcards xvid xvmc yahoo yiff yv12 zip     
     zsh-completion zvbi -acl -arts -esd -fam -gnome -gstreamer -kerberos
     -ldap -oss -sharedmem"

GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
PORTDIR="/var/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTDIR_OVERLAY="/usr/local/portage"
#PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/gentoo-de"
PORTAGE_TEMPFS="/dev/shm"
FEATURES="ccache candy autoconfig distlocks sandbox sfperms strict parallel-fetch"
SEARCH_DIRS_MASK="/opt /home /mnt"
CCACHE_SIZE="4G"
PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"
ALSA_CARDS="emu10k1"
PORTAGE_NICENESS="0"
VIDEO_CARDS="vesa vga v4l fglrx radeon"
INPUT_DEVICES="keyboard mouse evdev"
LINGUAS="de"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --no-passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --no-passive-ftp \${URI} -P \${DISTDIR}"
source /usr/local/portage/layman/make.conf
LIRC_DEVICES="devinput"
#LDFLAGS="Wl,--as-needed"

_________________
AidanJT wrote:

Libertardian denial of reality is wholly unimpressive and unconvincing, and simply serves to demonstrate what a bunch of delusional fools they all are.

Satan's got perfectly toned abs and rocks a c-cup.
Back to top
View user's profile Send private message
rodoke
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jan 2005
Posts: 87
Location: So. Ill.

PostPosted: Sat Aug 09, 2008 2:30 am    Post subject: Reply with quote

Here's my laptop. I removed all the comments because they would've made this five times longer...
/etc/make.conf:

USE="aac acl acpi alsa avi \
bash-completion battery bzip2 bzlib \
cjk crypt cups \
dbus directfb divx4linux dvd dvdr \
firefox flac \
gif glut gtk gnutls \
hal hardened \
imap immqt-bc \
jpeg \
kdeenablefinal \
lm_sensors \
mad maildir mmx mmx2 mp3 musepack mysql \
nls nptl nptlonly \
offensive ogg opengl oss \
pam pic pie png \
readline \
sdl sharedmem spell sse sse2 ssl startup-notification svg \
tcpd tiff truetype \
unicode usb \
vorbis \
wavpack \
X xcomposite xv xine xml xml2 xprint xscreensaver \
zlib \
-arts \
-doc \
-esd \
-gnome \
-immqt -ipv6 \
-kde \
-qt \
-xmms"

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/overlays/mac"

GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ \
http://gentoo.chem.wisc.edu/gentoo/ \
ftp://gentoo.chem.wisc.edu/gentoo/ \
http://gentoo.osuosl.org/ \
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo \
http://mirror.tucdemonic.org/gentoo/ \
http://mirror.clarkson.edu/pub/distributions/gentoo/ \
http://mirrors.acm.cs.rpi.edu/gentoo/ \
http://open-systems.ufl.edu/mirrors/gentoo \
http://gentoo.eliteitminds.com \
ftp://chod.cwru.edu/gentoo \
ftp://ftp.ussg.iu.edu/pub/linux/gentoo \
http://gentoo.cs.lewisu.edu/gentoo/ \
ftp://linux.cs.lewisu.edu/gentoo/ \
http://prometheus.cs.wmich.edu/gentoo \
http://modzer0.cs.uaf.edu/public/gentoo/ \
http://mirror.usu.edu/mirrors/gentoo/ \
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ \
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/"

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
PORTAGE_RSYNC_RETRIES="5"
MAKEOPTS="-j3"
PORTAGE_NICENESS=10
AUTOCLEAN="yes"
FEATURES="sandbox usersandbox strict sfperms parallel-fetch userfetch ccache"

CCACHE_SIZE="3G"
CCACHE_DIR=/var/tmp/ccache

DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"

PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"

CONFCACHE_DIR="/var/tmp/confcache"
CONFCACHE_DEBUG=0
CONFCACHE_IGNORE="/var/tmp/ccache:/var/tmp/.distcc"

source /usr/portage/local/layman/make.conf

ALSA_CARDS="hda-intel"
INPUT_DEVICES="keyboard mouse evdev synaptics"
VIDEO_CARDS="i810"

_________________
Bill Watterson wrote:
If we wanted more leisure, we'd invent machines that do things less efficiently.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2801
Location: Oceanside, Ca

PostPosted: Sat Aug 09, 2008 3:43 am    Post subject: Reply with quote

Heres mine
Code:
## USEs ##
# grep ${FLAG} /usr/portage/profiles/use.desc for explanation
# See also http://gentoo-portage.com

## HARDWARE
CPU="3dnow 3dnowext mmx sse sse2 threads"
PM="acpi -apm "
#VIDEO="nvidia"
AUDIO="alsa oss "
ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="*" #"copy file hooks ioplug ladspa multi plug rate share"
BLK_DEV="dvd dvdread cdr dvdr cdparanoia "
NET="-ipv6 -samba "
OTHER="cups foomaticdb gphoto2 gpm hal ppds plugins scanner usb xprint "
HARDWARE="${CPU} ${PM} ${VIDEO} ${AUDIO} ${BLK_DEV} ${NET} ${OTHER}"

## SOFTWARE
APACHE2_MODULES=""
APACHE2_MPMS=""
SYS_AUTH="-acl berkdb crypt -imap -kerberos -mysql pam ssl sasl"
X11="X gnome gtk kde qt3 qt4"
MMX_OTHER="exif gstreamer imagemagick jpeg mime mng pdf png tiff wmf"
MMX_VID="avi a52 dv divx encode ffmpeg flash mpeg mp3 opengl quicktime \
  real realmedia xv xvid win32codecs"
MMX_SND="aac flac mad ogg musepack musicbrainz audacious libsamplerate  wmp"
WWW=" nsplugin libwww -firefox xml xulrunner -apache -apache2 -ftp -jabber -mailwrapper"
PROGS="bash-completion ruby 7zip spell nntp -java -php"
MISC="gnutls spell slang truetype unicode bzip2 dbus svg -ldap \
  chroot bzip2 doc examples nptl"
# removed "examples "
OFF="-fortran -font-server -arts -nls"
SOFTWARE="${SYS_AUTH} ${X11} ${MMX_SND} ${MMX_VID} ${MMX_OTHER} ${PROGS} ${WWW} ${MISC} ${OFF}" ##

#------------- USE -----------------#
USE="${HARDWARE} ${SOFTWARE}"

## VIDEO CARDS
VIDEO_CARDS="nv nvidia"

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CXXFLAGS="${CFLAGS} " 
LDFLAGS="-Wl,--as-needed"
ACCEPT_KEYWORDS="~x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=/spare/distfiles
PKGDIR=/spare/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/include/portage
#http_proxy="http://tester:8080"
http_proxy="http://amdually:8080"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.mirrors.pair.com http://mirror.datapipe.net/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
#GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.datapipe.net/gentoo/ "
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget  -t 5 --passive-ftp \${URI} -O \${DISTDIR}/\${FILE}"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#SYNC="rsync://tester/gentoo-portage"
PORTAGE_RSYNC_RETRIES="3"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg"
FEATURES="sandbox userpriv"
PORT_ENOTICE_DIR=/var/enotice
PORTAGE_TMPFS="/dev/shm"
LINGUAS="en en_US"

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
tylerwylie
Guru
Guru


Joined: 19 Sep 2004
Posts: 456
Location: /US/Illinois

PostPosted: Sat Aug 09, 2008 3:47 am    Post subject: Reply with quote

Here's mine.

Code:

_________________
Bastiat wrote:
“The state is that great fiction by which everyone tries to live at the expense of everyone else.”
Back to top
View user's profile Send private message
theethicalatheist
n00b
n00b


Joined: 11 Apr 2006
Posts: 68
Location: University of Massachusetts Lowell

PostPosted: Sat Aug 09, 2008 4:36 am    Post subject: Reply with quote

Why doesn't anyone use march=native?
_________________
"Be excellent to each other" - Bill & Ted
Back to top
View user's profile Send private message
srunni
Guru
Guru


Joined: 26 Dec 2007
Posts: 365

PostPosted: Sat Aug 09, 2008 4:49 am    Post subject: Reply with quote

chump wrote:
Why doesn't anyone use march=native?
That feature's only available beginning with GCC 4.2.2. I (and probably the other people who aren't using -march=native) am using the stable version of GCC, which is 4.1.2 for all architectures.
_________________
Patrick Ewing wrote:
if it walks like a duck and talks like a duck, it’s a duck, right? So if this duck is not giving you the noise that you want, you’ve got to just punch that duck until it returns what you expect.
Back to top
View user's profile Send private message
Nothingtoseehere
n00b
n00b


Joined: 26 May 2008
Posts: 4

PostPosted: Sat Aug 09, 2008 7:44 am    Post subject: Reply with quote

Code:
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
USE="nsplugin sse sse2 ssse3 tiff mdnsresponder-compat aalib arts qt3 ffmpeg gif opengl apache2 bcmath curl curlwrappers gd gmp hash pcntl posix sockets sqlite svg glitz usb alsa dbus gnome java hal avahi xvmc nvidia X jpeg png gtk"
CHOST="i486-pc-linux-gnu"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"

MAKEOPTS="-j14"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo"
LINGUAS="en en_GB uk"
FEATURES="parallel-fetch"
PORTAGE_NICENESS="15"
Back to top
View user's profile Send private message
sleipner
n00b
n00b


Joined: 13 Aug 2005
Posts: 48

PostPosted: Sat Aug 09, 2008 9:29 am    Post subject: Reply with quote

Code:

CFLAGS="-O2 -pipe -march=core2"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"

MAKEOPTS="-j5"
WANT_MP="true"

ACCEPT_KEYWORDS="~amd64"

PORTAGE_ECLASS_WARNING_ENABLE="0"

USE="smp sse sse2 ssse3 mmx mmxext X gtk2 gtk nptl nptlonly nvidia opengl sdl unicode vim-syntax bash-completion alsa bzip2 offensive jpeg png tiff truetype alsa ffmpeg threads -ipv6 -gpm -nls -cups -oss -java -arts -esd -ldap -hal -acl -kerberos -eds -emboss -motif -qt3 -qt4 -kde -gnome -qt3support -qt -tcltk dbus -gstreamer libnotify xcb lzo"

#FEATURES="${FEATURES} assume-digests"                                                         
#FEATURES="${FEATURES} buildpkg"
#FEATURES="${FEATURES} buildsyspkg"
#FEATURES="${FEATURES} ccache"
#FEATURES="${FEATURES} collision-protect"
#FEATURES="${FEATURES} digest"
#FEATURES="${FEATURES} fixpackages"
#FEATURES="${FEATURES} keeptemp keepwork"
#FEATURES="${FEATURES} noman nodoc noinfo"
FEATURES="${FEATURES} parallel-fetch"
#FEATURES="${FEATURES} sign"
FEATURES="${FEATURES} unmerge-orphans"
FEATURES="${FEATURES} userfetch"
FEATURES="${FEATURES} userpriv"
FEATURES="${FEATURES} usersandbox"

PORTAGE_PATCHDIR="/etc/portage/autopatch"

LINGUAS="en"
INPUT_DEVICES="mouse keyboard evdev"
VIDEO_CARDS="nvidia"
#ALSA_CARDS="emu10k1"
#LIRC_DEVICES="serial_igor_cesko"

GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
#SYNC="rsync://rsync.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

PORTDIR_OVERLAY="/usr/local/portage"
source /usr/local/layman/make.conf
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5734
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Aug 09, 2008 9:36 am    Post subject: Reply with quote

mine isn't any shorter either, this is for a core2duo on ~amd64

note: I'm doing some really heavy testing from time to time, so there are a lot of experimental flags (commented out):

Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -fPIC"

#CFLAGS="-O2 -mtune=nocona -pipe -fomit-frame-pointer -fPIC -msse3 -mssse3"

# -fPIE"

## CFLAGS="${CFLAGS} -frename-registers" # <-- bad thing (TM) ?

## bloats / slows code down
## CFLAGS="${CFLAGS} -fpredictive-commoning -funswitch-loops"

CFLAGS="${CFLAGS} -fsched-spec-load"

CFLAGS="${CFLAGS} -fno-strict-overflow"

CFLAGS="${CFLAGS} -fearly-inlining --param max-gcse-passes=20"

## might increase code size noticably, performance
## CFLAGS="${CFLAGS} -finline-functions"

CFLAGS="${CFLAGS} -fstack-protector -fstack-protector-all"

CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=2"

CFLAGS="${CFLAGS} -ftree-loop-im -ftree-loop-ivcanon"

CFLAGS="${CFLAGS} -fmodulo-sched -freschedule-modulo-scheduled-loops"

CFLAGS="${CFLAGS} -mno-align-stringops"

## increase code size
## CFLAGS="${CFLAGS} -minline-all-stringops"

CFLAGS="${CFLAGS} -combine"

## increases code size noticably, performance
## CFLAGS="${CFLAGS} -funroll-all-loops"

CFLAGS="${CFLAGS} -falign-functions=0"
CFLAGS="${CFLAGS} -falign-jumps=0"
CFLAGS="${CFLAGS} -falign-labels=0"
CFLAGS="${CFLAGS} -falign-loops=0"

CFLAGS="${CFLAGS} -mno-push-args -fno-defer-pop"

CFLAGS="${CFLAGS} -fmove-loop-invariants"

CFLAGS="${CFLAGS} -fgcse-las -fgcse-sm -ftree-vectorize"

## bloats code
## CFLAGS="${CFLAGS} -ftracer"

CFLAGS="${CFLAGS} -fno-delete-null-pointer-checks"

CFLAGS="${CFLAGS} -fno-ident -freorder-blocks-and-partition"

CFLAGS="${CFLAGS} -fpeel-loops"

CFLAGS="${CFLAGS} -fvariable-expansion-in-unroller"

CFLAGS="${CFLAGS} -fprefetch-loop-arrays"

## increases code size ???
## CFLAGS="${CFLAGS} -fno-merge-constants"

CFLAGS="${CFLAGS} -fgcse-lm -fivopts -fgcse-after-reload"

## -fwhole-program"
## -mno-mmx
## -fno-sched-interblock
## -fno-peephole -fno-defer-pop
## -funswitch-loops
## -fforce-addr

# -fbtr-bb-exclusive  -fsched-spec-load" <-- not there

LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"

# LDFLAGS="${LDFLAGS} -Wl,-z,now -Wl,-z,relro"

# -s"

## debugging info
## -fmudflap"

##  -fno-unit-at-a-time

##  -fno-peephole2 finline-limit=700 -fno-zero-initialized-in-bss

## -momit-leaf-frame-pointer

# -fPIC"

## CFLAGS="${CFLAGS} -fkeep-static-consts" ## not so good ??

## CFLAGS="${CFLAGS} -frename-registers" ## pessimistic
## CFLAGS="${CFLAGS} -fweb" ## pessimistic

## CFLAGS="${CFLAGS} -msse4"
# meaning ??
### CFLAGS="${CFLAGS} -m80387"

## goes into LDFLAGS
## CFLAGS="${CFLAGS} -s" ## <== means strip !!

## x86 optimization "set"
### CFLAGS="${CFLAGS} -msse -msse2 -mmmx -mfpmath=sse"

# might break several stuff (mesa, vim), don't compile gcc with it !! (best of the best)
##### CFLAGS="${CFLAGS} -ftree-loop-linear" ## ???

## breaks stuff !! (best of the best)
## -ftracer"

## breaks stuff, especially on hardened & makes debugging impossible! (x86)
## CFLAGS="${CFLAGS} -fomit-frame-pointer"

## amd64, intel64, x86_64
CHOST="x86_64-pc-linux-gnu"
### CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

## hardened, decreases code size & great optimizations, but breaks stuff
#### CXXFLAGS="${CFLAGS}  -fvisibility-inlines-hidden"

# -s

## hardened, included in profile
## LDFLAGS="-Wl,-O1 -Wl,--sort-common"

## debugging info
### LDFLAGS="-lmudflap"

## hashstyle, included in toolchain
## LDFLAGS="${LDFLAGS} -Wl,--hash-style=both"

## hardened, included in profile
## LDFLAGS="${LDFLAGS} -Wl,-z,now -Wl,-z,relro"

USE="X hashstyle hardened -pch htmlhandbook xcomposite -hal -consolekit -ggi -bindist exceptions 64bit xcb webdav glade selinux libsamplerate soundtouch twolame id3tag -openbabel multilib branding mysql maildir imap swig php session postgres sqlite cli hardenedphp gd -gd-external pear pg-intdatetime mhash pertty 80387 mmx mmx2 sse sse2 sse3 pic amd64 mailwrapper nvidia cjk flac perl gdbm pcre iconv cracklib paludis xvmc aalib imlib esd jack ssl tcpd pam dvi djvu t1lib -zeroconf cups mad divx cddb gif cdparanoia smp bonjour avahi libnotify startup-notification kdehiddenvisibility -v4l v4l2 tiff apache2 innodb -apache -matrox -oss lm_sensors xinerama xscreensaver -macos a52 pdf acpi kdeenablefinal cairo glitz -apm -arm -alpha -altivec -mips -sparc musicbrainz wifi nptl nptlonly x264 asf -3dnow -3dnowext -mmxext aac ipod alsa aim arts avi bash-completion bzip2 clamav cdr crypt -dts dvb dvd dvdr dvdread encode fbcon firefox -mozilla ffmpeg ftp gif gnome kde gpm gstreamer gtk gtk2 dbus icq idn ipv6 java javascript jpeg jpeg2k lcms lesstif mp3 mpeg ncurses nls nsplugin ogg opengl oscar python png ppds quicktime readline -seamonkey -seamonkey-bin no-seamonkey scanner slang spell svg threads truetype unicode usb vcd vorbis win32codecs xine xprint xvid yahoo zlib sdl rtc musepack speex pango gnutls newspr qt3support qt4 pie ldap sasl -beagle ucs2 nvtv xml"

# selinux
# pic

CAMERAS="canon casio kodak konica minolta mustek panasonic polaroid ricoh samsung sonix sonydscf1 sonydscf55 soundvision toshiba"

ACCEPT_KEYWORDS="amd64 ~amd64"

### unstable / testing
### ~x86

### x86_64 / amd64
### ACCEPT_KEYWORDS="amd64 ~amd64"

MAKEOPTS="-j5"
WANT_MP="true"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/svn/experimental /usr/local/portage/misc_overlays /usr/local/portage/overlay /usr/local/portage/xeffects /usr/local/portage/ycarus /usr/local/portage/sunrise /usr/local/portage/gentooscience /usr/local/portage/gentopia /usr/local/portage/rmh3093 /usr/local/portage/berkano /usr/local/portage/hardened /usr/local/portage/gnome /usr/local/portage/suka /usr/local/portage/desktopevolution /usr/local/portage/arcon /usr/local/portage/kdesvn /usr/local/portage/kdesvn-portage /usr/local/portage/pinot /usr/local/portage/gentoo-de /usr/local/portage/vmware /usr/local/portage/enlightenment /usr/local/portage/xwing /usr/local/portage/novell4gentoo /usr/local/portage/desktop-effects /usr/local/portage/qt44 /usr/local/portage/mozilla /usr/local/portage/glibc /usr/local/portage/virtualbox"

## gnome-overlay
## /usr/local/portage/gnome"

PORT_LOGDIR=/var/log/portage

## source /usr/portage/local/layman/make.conf

AUTOCLEAN="yes"

FEATURES="parallel-fetch userpriv distlocks usersandbox sandbox metadata-transfer selinux"

##  test"

# collision-protect"

INPUT_DEVICES="keyboard mouse linuxinput ps2mouse serialmouse evdev synaptics vmmouse"
LIRC_DEVICES="asusdh"
VIDEO_CARDS="nvidia nv ati128 vesa vga vmware"
LINGUAS="de en"


I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
PORTAGE_NICENESS="15"
#APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias ident imagemap version"
APACHE2_MPMS="worker"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"

CONFIG_PROTECT_MASK="/usr/X11R6/bin/startx /etc/X11/xorg.conf"
#source /usr/portage/local/layman/make.conf

FETCHCOMMAND="/usr/bin/axel -a -o \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="${FETCHCOMMAND}"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.3.0-r2
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4 ... 13, 14, 15  Next
Page 3 of 15

 
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