[haiku-development] Re: GCC2 and GCC4 on same System

  • From: "François Revol" <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 27 Aug 2007 21:33:48 +0200 CEST

> I agree wholeheartedly, and without having thought about it much, I
> currently favor using gcc4 as main compiler and provide a backwards
> compatibility hack. After all, the aim is to phase out gcc-2.95.3
> support
> soon, right?

Exactly.
Plus the elf loader could just patch LIBRARY_PATH to add gcc2/ or
lib.gcc2/ to folders when an old bin is detected.
Using an official ELF ABI number instead of SysV's would probably
help... (subversionning it can distinguish between gcc ABI versions).
SysV bins would be R5 gcc2 stuff, Haiku bins would have their own ABI
magic.

François.

Other related posts: