Hemmann, Volker Armin wrote:
> On Tuesday 02 May 2006 08:18, Farhan Ahmed wrote:
> 
> 
> >     CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> >
> 
> no, just no. This breaks enough stuff. Do not tell others to use it. If you 
> want to use it. Fine. But do not tell anybody else to do it.

According to http://gentoo-wiki.com/CFLAGS_matrix
-fvisibility-inlines-hidden is recommended especially for KDE users..
Atleast while KDE it does not effect and is indeed recommended..

 
> 
> > > MAKEOPTS=""
> >
> >     MAKEOPTS="-j2"
> 
> -j1 is a good one for singlecore/single cpu computer, where the compiling is 
> running in the background. 

No for singlecore/single cpu computer, -j2 is recommended.. Read
MAKEOPTS section in:

  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap5

> 
> >
> > > ACCEPT_KEYWORDS=""
> 
> >
> > Also if you wish add these lines to /etc/make.conf
> >
> >     LDFLAGS="-Wl,-O1,-z,now,--sort-common"
> 
> are you totally sure, that this do not break something? do this flags bring 
> anything, that can not be archived with prelink?
> 
> Again, you might want to use them, but you should not tell somebody else to 
> use them.-

Honestly I think I was wrong in recommending this.. But during the
emerge process of some packages there's a suggestion to use at least a 
part of the LDFLAGS quoted above.. It's like a security warning.. I
decided to use these flags after reading a lot about them in Gentoo
forms

> 
> >
> > > USE=" X a52 aac alsa apache2 acpi arts audiofile avi berkdb bitmap-fonts
> > > bzip2 cdr cli crypt ctype cups dba eds directfb doc dri dvd dvdread
> > > elibc_glibc emboss encode esd ethereal exif expat fam fastbuild
> > > foomaticdb
> > > force-cgi-redirect fortran ftp gd gcj gdbm gif glut gmp gnome gpm
> > > gstreamer gtk gtk2 gtkhtml guile hal hardened idn imlib ipv6 jpeg java
> > > javascript kde kdexdeltas kernel_linux lcms libg++ libwww mad memlimit
> > > mikmod mhash mng motif mozilla mime mmx mp3 mpeg ncurses nls nptl ogg
> > > opengl oss pam pcre pdflib perl png posix python qt quicktime readline
> > > samba sdl session simplexml slang soap sockets spell spl ssl sse sse2 svg
> > > tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb udev
> > > userland_GNU vorbis x86 xml xml2 xmms xsl xv zlib"
> >
> > Do you really need all these USE flags and features? I think not.. Add
> > USE flags that really are useful not add them just because they might
> > become useful sometime.. The more features you have in your packages,
> > the slower and more memory hungry they are.. Take a look at my USE
> > flags..
> 
> you think - but you don't know what he wants and needs.
> 
> btw, I would emerge ufed and work down the list....

I've never used ufed, but after reading bout it now I think it's better
than manually editing.. Regardless of what way one chooses to select USE
flags I believe one must select the USE flags that are necessary..
The more features you got the more memory bloat it becomes..

> 
> >
> > USE="-X -arts -apache2 -berkdb -cups -dri -eds -esd -gdbm -gnome
> > -gstreamer -gtk -gpm -xmms 3dnow acl bash-completion bzip2 fbcon hal lzo
> > mbox mmx nsplugin nvidia offensive sse svga tiff urandom"
> >
> > -X because I don't every application to be built with X support, -arts
> > because of the same reason.. The applications that i think will need X
> > support I add a line like this to /etc/portage/package.use
> 
> so you want to break douzends of packages for him? Why? -dri? Maybe he needs 
> it? fbcon? Why? who needs it? You are telling him to deactivate usefull stuff 
> and activate useless? Great!

I didn't recommend this to him.. You have misquoted me.. You missed the
sentence which said "Take a look at my USE flags".. These USE flags are
mine and I quoted them just to explain how to edit these files.. I don't
know what his system is so cant recommend the USE flags..

> 
> 
> >     VIDEO_CARDS="<your video card" #like nvidia, ati
> that is not needed anymore. Look into the use descriptions. Or even better, 
> get familiar with ufed.

If you use Xorg-7.0 it is useful.. (Also xine if I remember correctly(?))

> 
> 
> > Remember, always add the minimum USE flags you need to /etc/make.conf,
> > you should always tune your system to specific packages by adding USE
> > flags to be used for the specific package to /etc/portage/package.use
> 
> oh, yeah, increase the work and risk subtle breakage here and there ....

There's always a risk when it comes to fine tuning your system that it
may break things.. You've to pay the price experimenting.. If you are
not brave enough the default are good, but performance will not match
the fine tuned machine (Although I'm sure the performance gain is not 
worth the trouble, but the learning experience is worth)

Bye,
Farhan Ahmed
-- 
Place           :  Bangalore, Karnataka, India
GPG Key         :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick        :  farhanahmed / farhanahmed06 (irc.freenode.net)

Attachment: pgpYxPMJ4Qgaz.pgp
Description: PGP signature

Reply via email to