= Build instructions = 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). The sources are the same, no matter whether you build on Linux or Windows. But the build instructions differ. 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`. The default build target is `all`, which produces all executables in the `out/{platform}.{architecture}/``{release|profile|debug}/` directories. If you're looking for code documentation, try `kmk docs` and/or `kmk docs.main`. * [wiki:"Linux build instructions" Linux host] * [wiki:"Mac OS X build instructions" Mac OS X host] * [wiki:"Solaris build instructions" Solaris host] * [wiki:"Windows build instructions" Windows host] Host platforms with incomplete support: * [wiki:"FreeBSD build instructions" FreeBSD host] Guest additions only platforms: * [wiki:"OS/2 build instructions" OS/2 host]