On Wednesday 07 January 2004 10:10 am, Dennis Freise wrote: > X-SpamDetect-Info: ------------- Start SmiteSpam results --------------- > X-SpamDetect-Info: This message may be spam. This message BODY has been > altered so X-SpamDetect-Info: your mail client can be set to filter it, see > http://smitespam.com/body.htm X-SpamDetect: *: 1.352941 SmiteCRC Partial > (+0.352941,From),Invalid Pairs X-SpamDetect-Info: ------------- End > SmiteSpam results --------------- > > On Wed, 7 Jan 2004 15:55:36 +0100 > > Thorsten Kampe <[EMAIL PROTECTED]> wrote: > > Is it sensible to compile my kernel with the CFLAGS[1] of my > > /etc/make.conf that have proven to be stable?! > > If I'm not mistaken, the kernel does not honor the CFLAGS-Var. It uses its > own compile-flags. > > > I never thought of that but it could be an performance gain like for > > any other portage package, but maybe I am missing something > > important...? > > [1] export CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" > > It depends on your gcc-version (and is sort of religious), but all my tests > with gcc-3.2.x and gcc-3.3-x have proven, that the performance of -O3 is > inferiour to -O2. I have not tested on my pentium3 yet, but on a > pentium-mmx, two pentium-2 and an Athlon-XP - all with the same results.
You can add cflags to the kernel Makefile in two places. I usually add my athlon-xp flags after the -02 already there, after I do make xconfig. If you wish to see the output to verify this during the compile, with a 2.6 kernel you need to the quiet and silent options in the "Beautify section." There's info on this in the Gentoo Forum. Robert Crawford (wrc1944) http://forums.gentoo.org/viewtopic.php?t=119490&highlight= -- [EMAIL PROTECTED] mailing list
