On Mon, 2 Oct 2006 08:45:24 +0200 Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
> On Monday 02 October 2006 08:21, Danie Iliev wrote: > > Several days ago the guys at gentoo-am64 mailing list explained to me > > all these flags enable different CFLAGS optimizations which came as the > [SNIP] > > Please don't confuse CFLAGS with USE flags. CFLAGS are passed on to the > compiler and tell it what kind of code to generate. E.g. an mmx USE flag > usually tells the package through a configure switch (such as --enable-mmx) > to autotools to enable some assembly code that uses the mmx instructions > instead of some fallback code which doesn't. That assembly code is written > manually rather than generated by the compiler (otherwise the CFLAG would > suffice). > > > There is also another article which explains why these are hard-masked: > > > > http://dev.gentoo.org/~plasmaroo/devmanual/archs/amd64/ > > Thanks, I forgot that one. The url is obsolete though: > > http://devmanual.gentoo.org/archs/amd64/index.html > Wouldn't CFLAGS and the mentioned USE flags lead to the same thing (even through different mechanisms) in this particular case? -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list