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

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 26 Aug 2007 17:40:13 +0200 CEST

"Michael Lotz" <mmlr@xxxxxxxx> wrote:
> This approach will by the way probably not work for drivers as you 
> cannot just use two kernels side by side. But I don't think it's a 
> big 
> issue to keep them either all GCC4 or all GCC2. If they use C++ at 
> all, 
> they will use it only very limited and they should stay compatible 
> with 
> GCC2 more easily than big applications.

The kernel only uses C interfaces, and drivers using C++ should link 
against libgcc.a directly.
So the kernel would only eventually suffer from differences in 
alignment and padding in structures.

Bye,
   Axel.


Other related posts: