Kenneth Prugh wrote:
> 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.
>
>   

I have a script that you can run that rebuilds everything only once and
it is a complete bottom to top rebuild.  No need to do a system then
world this way.  I got it off the forums and I have used it a few times
and it works very well for me so far.  If you want it, I can send it to
you off list or post it here for everybody that wants to save a copy.  I
have not used it in a while so I'm not sure if portage changes may have
made it not work anymore.

Let me know.

Dale

:-)  :-)

Reply via email to