James <[EMAIL PROTECTED]> Enviado por: news <[EMAIL PROTECTED]> 24/01/2008 17:00 Por favor, responda a gentoo-user Para: gentoo-user@lists.gentoo.org cc: Asunto: [gentoo-user] Re: firewall make.conf settings
<tecnic5 <at> silvanoc.com> writes: >If you'd like to use the same make.conf for different machines you should >make sure they all have same processors or, at least, same family of > >processors; in your case, I recommend using -mcpu instead of -march. Keep >in mind that K6 processors have their own -marc=k6 and might not be >comptable with -march=i586. More in /etc/make.conf.example. Good point: -mcpu is deprecated, according to the examples file as of gcc 3.4, SO: CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" changed to: CFLAGS="-Os -mtune=i586 -pipe -fomit-frame-pointer" or CFLAGS="-Os -march=i586 -mtune=i586 -pipe -fomit-frame-pointer" <????? Remember I want one set of binaries for both k6 and old pentiums> -- gentoo-user@lists.gentoo.org mailing list You're right, make it -mtune ;-). On the other hand, and according to Gentoo GCC optimization guide[1], both -mtune and -mcpu only take effect if there is no -march available, so I guess the later takes preference over the former. I'd use the first option of CFLAGS, hence. [1] http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap2 HTH, Abraham MarĂn -- gentoo-user@lists.gentoo.org mailing list