Build Instructions

From Dexter
Jump to navigationJump to search

Getting the Source

You can get the source by cloning the Dexter source repository at the Dexter GitHub page.

build-toolchain.sh

You will first need to run the build-toolchain.sh script to build a freestanding GCC cross compiler and BINUTILS to use when compiling the Dexter source itself. Depending on your host operating system you may need to install some prerequisites before you can run the toolchain build script.

build.sh

Once you have the toolchain built you can build the Dexter source itself. In addition to the GCC cross compiler and BINUTILS, you will also need the NASM assembler to build the assembly object files.

Testing your build

Once you've built Dexter you can test it by executing 'make run'. You will need the QEMU emulator installed to run the script.