On Wed, Jun 01, 2005 at 02:13:14PM -0300, Allan Spagnol Comar wrote
> I was wondering if is interesting to use on make.conf the flags listed
> on /proc/cpuinfo for a x86 architecture.
> 
> Does someone knows ?

  *SOME* of the flags listed on /proc/cpuinfo can be used with
make.conf CFLAGS.  You have to check the gcc documentation to confirm
which flags can be used.  If you are running gcc-3.3.5, check the page...

http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options

  Also *SOME* of the flags in listed on /proc/cpuinfo can be used in
make.conf USE variable.  This applies to mmx and sse and a few others.
See http://www.gentoo.org/dyn/use-index.xml for a list of valid USE
flags.

  Here are the CFLAGS and USE lines from my make.conf on my Pentium III.

CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse"

USE="-X -acl acpi alsa audiofile avi -berkdb -bidi dga dvd encode exif -fam 
flac gif gnome -gtk -ipv6 jpeg -kde -ldap mikmod mmx -nis -nls -odbc offensive 
oggvorbis openal opengl -pam plotutils png posix -qt quicktime slang sndfile 
-snmp -soap -speex -spell sse -tcltk tcpd theora -unicode usb videos wmf -xplc 
xvid zlib"

  Try "cat /proc/cpuinfo > cpu.txt" on your machine and post the
contents of cpu.txt here, and we can advise you which flags to use.

-- 
Walter Dnes <[EMAIL PROTECTED]>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to