Hi,
maxim wexler wrote:
> 
> --- Mark Knecht <[EMAIL PROTECTED]> wrote:
> 
> 
>>On 9/18/05, maxim wexler <[EMAIL PROTECTED]> wrote:
>><SNIP>
>>
>>>flags           : fpu vme de pse tsc msr pae mce
>>
>>cx8
>>
>>>apic sep mtrr pge mca cmov pat pse36 clflush mmx
>>
>>fxsr
>>
>>>sse sse2 syscall nx mmxext 3dnowext 3dnow
>>
>><SNIP>
>>
>>So Walter's point would be that you could add
>>
>>mmx mmxext sse sse2 3dnow 3dnowext
>>
>>to your use flags, either globally in your make.conf
> 
> 
> what about all those others?
> 
Look at gcc-home page, think there's plenty of info, also this theme is
regularly discussed here (ML), search the archives.
Shortly said, use "-O2 -march.../-mtune... -pipe -fomit-frame-pointer"
is a safe choice. It (-O2) includes many of the other flags by default.
> 
>>file or for
>>specific packages in package.use. Adding these flags
>>will enable clode
>>within the program being emerged specifically
>>supporting those
>>features.
>>
>>My point was that without adding these flags to the
>>compile options
>>(CXFLAGS) in make.conf I'm not clear that adding the
> 
> 
> well, are they CXFLAGS or USE flags?
> 
They are distinct - CFLAGS (CXXFLAGS) are the raw CPU flags, while
through USE= you can activate some of them too, but only those that have
such USE flags (mmx,sse,3dnow etc). Corrections here, somebody?
> 
>>flags in the USE
>>section of make.conf does anything to generate
>>actual sse or mmx code.
>>
>>I'd like to hear from some folks who really
>>understand how gcc works
>>about this. It's confused me for quite awhile.
>>
>>Thanks,
>>Mark
>>
>>-- 
>>gentoo-user@gentoo.org mailing list
>>
>>
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
PS: just to mention i use custom CFLAGS (per category/per package) and
didn't have any problems so far, but not too aggressively (bashrc).
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to