bJou Install Features Learn Blog

Installing bJou

Currently, the bJou compiler must be built from source. To compile bJou, ensure the following dependencies are met:

If you have those dependencies met, you can grab a copy of bJou from GitHub:

$ git clone

Using the Build Script

To build the project using the included build script, simply run:

$ ./

The script takes these additional arguments:

As an example, if you wanted to build a debug version of bJou in its own directory in your home directory with a version of LLVM also located in your home directory, you could do:

$ ./ -b Debug --install-prefix ~/bjou --llvm-config ~/llvm/bin/llvm-config

Once bJou has successfully compiled, it can be installed to the previously specified install path:

$ ./

Using CMake Directly

bJou is a CMake-based project, so if you wish to have more control over the build, you can use the standard CMake build procedure to compile. The following variables can be changed:

To build, first navigate to the bJou project directory. Download an additional component, nolibc_syscall, and build it:
$ git clone
$ cd nolibc_syscall && make
Then, create a build directory:
$ mkdir /path/to/build/dir && cd /path/to/build/dir
Run CMake:
$ cmake /path/to/bjou
Build and install:
$ make && make install
Note: if you didn't build bJou with, DO NOT use