[haiku-development] Re: Bootstrap broken, or how is it supposed to work?

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 26 Apr 2017 08:45:27 +0000

26 avril 2017 10:34 "Thomas Mueller" <mueller6723@xxxxxxx> a écrit:

Is cross-compiling Haiku with bootstrap option broken, or how is it supposed 
to work?

It is broken.

Now I am dissuaded from attempting a bootstrap build but am still curious how 
it is supposed to
work, or is it broken?

We recommended you to not do it, because it is broken, and getting it to work 
again will be a lot of work.
Basically the bootstrap build worked *once*, and that was a few years ago 
already. Even at the time, we noticed that some things had to be handled 
differently between OpenSUSE and Debian. It never worked on anything else than 
OpenSUSE (not even other Linux distributions), so getting it to work on a BSD 
or OSX system is even more work.

If you don't know your way around the buildsystem and all the steps involved, 
it is unlikely that you can get it to work. This is why you should first get a 
standard build working, following the well-tested path, and make sure you 
understand all the involved parts of the buildsystem (building the 
cross-compiler, using the host compiler to build some host tools, using the 
cross compiler to build haiku itself). For the bootstrap you will also need to 
use haikuporter, so familiarity with that would also be required. Once you 
master all these things, you can get back to trying a bootstrap build.

-- 
Adrien.

Other related posts: