[haiku-commits] Re: haiku: hrev51670 - in headers/build: config_build config os/kernel os

  • From: kallisti5 <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 12 Dec 2017 16:34:27 -0600

On 2017-12-12 00:49, Ingo Weinhold wrote:

On 12.12.2017 01:29, waddlesplash@xxxxxxxxx wrote:

82bffcc3a75c: headers/build: Reunify BeBuild.h and related cleanup.
Now that we do not target BeOS and also do not include the main headers
   directory when building "build" binaries, we can drop the separate
config_build directory and thus also the separate BeBuild.h, and just
   ..-include the regular one.

The existence of the config_build directory doesn't have to do with
support for BeOS. It exists because on Haiku we need to include
config/ headers from the host (which we'd hide by using the same
directory name), since we directly use libroot functionality from the
host. Obviously this isn't an issue when the respective aspects of the
Haiku you build on and the version you build don't differ, but the
point is that we want to be able to build on Haiku even across changes
to those aspect.

That being said, ideally our build tools wouldn't use any host
functionality (headers, library) at all -- then we could simply build
the host tools from the unmodified Haiku source -- but at some point
we need to interface with the OS. Unfortunately at the moment our
approach is rather mix-and-match and therefore fairly brittle. I've
been wanting to improve that for ages, but it's a really big task.

As of hrev51670, building Haiku under Haiku doesn't work...
https://kallisti5.keybase.pub/Screenshots/fire.png


 -- Alex

Other related posts: