xref: /haiku/docs/develop/build/index.rst (revision 6f80a9801fedbe7355c4360bd204ba746ec3ec2d)
1The build system
2================
3
4Building a complete operating system is a somewhat complex task. Simple tools like GNU make would
5result in a lot of problems and hard to maintain scripts if used this way.
6
7Haiku uses a slightly more elaborate tool called Jam. Jam was initially developed by Perforce, but
8they have now abandoned the product. As a result, Haiku currently maintains its own fork of Jam
9with several customizations.
10
11The core idea of Jam is to provide generic rules (for example "how to build an application from a set
12of source files") and then apply these rules several times. The Haiku build system defines a number
13of custom rules, allowing to build code both for Haiku and for the host operating system (to be run
14during the compiling process).
15
16The build system also offers various ways to configure and customize your Haiku disk image.
17
18
19.. toctree::
20
21   /build/compilers
22   /build/repositories/README
23