[haiku] Re: GCC2 vs GCC4?

  • From: Ankur Sethi <get.me.ankur@xxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Tue, 15 Sep 2009 21:09:31 +0530

The GCC folks used to break binary compatibility between major GCC
versions. A binary compiled using GCC2 won't work on a GCC4 system,
and one compiled with GCC4 won't work on a GCC2 system. Most old BeOS
software is in the form of GCC2 binaries, hence Haiku R1A1 was
released as a GCC2/4 hybrid.

If you need to compile modern software (WebKit etc.), you need GCC4.
GCC2 support will probably be dropped after R1 Final comes out. I'd
say for the long term, use GCC4 (if you wish your app to be
Haiku-only). If you need your app to work with BeOS, use GCC2.

-- 
Salut,
General Maximus

Other related posts: