| 1 | = Build instructions = |
| 2 | |
| 3 | This page describes how to build !VirtualBox OSE, once you have gotten its source code from our Subversion server, as described on the [wiki:"Downloads"] page). |
| 4 | |
| 5 | The sources are the same, no matter whether you build on Linux or Windows. But the build instructions differ. |
| 6 | |
| 7 | To build, use the `kmk` command after you have entered our development environment. This is the `make` command of [wiki:"kBuild"], our homegrown build system. (To avoid confusion with an already installed make program, our make has been renamed to `kmk`). With kBuild, the `BUILD_TYPE` environment variable determines what type is built and can be `release` (enable compiler optimizations, strip debug and profiling code), `debug` (for debugging) or `profile` (for profiling). The default is `release`. |
| 8 | |
| 9 | The default build target is `all`, which produces all executables in the `out/{platform}/{release|debug}/` directories. |
| 10 | |
| 11 | * [wiki:"Linux build instructions" Linux host] |
| 12 | |
| 13 | * [wiki:"Windows build instructions" Windows host] |
| 14 | |
| 15 | Host platforms with incomplete support: |
| 16 | |
| 17 | * [wiki:"Mac OS X build instructions" Mac OS X host] |
| 18 | |
| 19 | * [wiki:"OS/2 build instructions" OS/2 host] |