[haiku] Re: Ang: Re: gcc4 hibryd

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sun, 8 Mar 2009 23:30:43 -0700

On Sun, Mar 8, 2009 at 9:28 PM, Nick <tonestone57@xxxxxxxxxxx> wrote:
> for gcc2
> -O2 -fomit-frame-pointer -march=i586 -mcpu=i686
>
> If your system has lots of RAM - you can also add in -pipe to speed the
> build up.
>
> You can also change -O2 to -O3 if you think stability is not affected.  You
> can change mtune to a lesser CPU ( =pentium3, pentium-m, athlon-xp, etc. )
> but I believe many are getting or using Core2s these days.  Maybe
> mtune=pentium3 or athlon-xp would be the safer choices?

I've been told that the beos/haiku version of gcc2 has a somewhat
busted -O2... indeed, when i was attempting to compile Cairo, only -O1
or -O3 worked without throwing internal compiler errors.

- Urias

Other related posts: