Andrew Gaydenko wrote:
>>> The question is: must I replace '-march=nocona' with '-mtune=native and 
>>> -march=native'?
>> I have a Core2 Duo E6600 and use these CFLAGS with GCC 4.2:
>>
>> CFLAGS="-Os -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
>> -msse2 -msse3"
>>
>> Native works fine here.
> 
> Kenneth, thanks! I'll try your flags-string. I hope, there aren't any
> resons to rebuld anything else after switching form 4.1.2 with curennt
> flags to 4.2.0 with youe flags. Is it true?

Personally I rebuilt everything on my system because I wanted everything
to be compiled under my shiny new toolchain. I accomplished it via this:

# emerge -eav system
# emerge -eav world

However, I don't believe you _have_ to rebuild. GCC 4.1 and 4.2 should
be binary compatible. I know that my GCC 4.1 LibTorrent works fine with
a GCC 4.2 built rtorrent, so I would like to say it should work fine.

-- 
Kenneth Prugh - Ken69267
Gentoo AMD64 Arch Tester

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to