[haiku-development] Re: new compiler for haiku ? = clang

  • From: Michael Crawford <mdcrawford@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 5 Feb 2010 16:53:26 -0800

On Fri, Feb 5, 2010 at 3:29 PM, Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> Though that makes me wonder if clang binaries can link with
> GCC-complied ones? I'm sure if they can they must comform to the GCC4
> ABI, so for this to work you could need GCC4 libraries in your Haiku
> install.

My understanding is that the GCC4 ABI is some kind of industry
standard API that should be the same for all current C++ compilers.

Back in the bad old days, a compiler vendor either defined their own
ABI, or they used the same ABI as that of the dominant vendor.

At some point all the compiler vendors got together to define a common
ABI for each instruction set architecture.

The reason we need different Haiku builds for GCC 2.95 and GCC 4 is
that 2.95 was from before that common ABI was defined.

I don't have a link for you; it's something I read about in a trade
magazine several years ago.

Mike
-- 
Michael David Crawford
mdcrawford at gmail dot com

   GoingWare's Bag of Programming Tricks
      http://www.goingware.com/tips/

Other related posts: