[haiku-development] Re: Updates relating to build-o-matic, haiku-files.org

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 17 May 2011 20:37:40 +0200

> On Tue, May 17, 2011 at 10:46 AM, pulkomandy
> <pulkomandy@xxxxxxxxxxxxxxxxx> wrote:
> >> Since Alpha3 looks like it is going to be another gcc2hybrid - 
> > > does it
> >> even make sense to distribute gcc4 with it any more? I thought it 
> > > was
> >> generally "useless" to use gcc4 on a gcc2hybrid any longer.
> >
> > It is discouraged, but still useful. People may want to build Web+, 
> > for
> > example. It's clearly stated in the release notes that it is
> > "experimental" and the API will not be kept accross releases for 
> > gcc4.
> > Perhaps we should introduce more API breakage to make that clearer 
> > ;)
> I keep reading Ingo's satements that compilation of gcc4 software on 
> a
> gcc2hybrid is discouraged...so how can webpositive be compiled on
> gcc2hybrid without concerns?

That's different. The concern is with compiling/using gcc4 apps against 
gcc2 libraries, as is technically possible with pure C apps. When using 
these gcc4 apps with gcc2 libraries a "mixed" enviroment is created, 
where some parts were built with other rules/assumptions than others, 
resulting in unpredictable side effects.

On a hybrid build however there are two sets of libraries, gcc2 and 
gcc4 ones. That means when a gcc4 app is loaded, it will be loaded with 
gcc4 libs, resulting in a pure gcc4 environment (and the other way 
around), hence there is no compatibility problem.


Other related posts: