Build Instructions: Difference between revisions

From Dexter
Jump to navigationJump to search
(Created page with "== Getting the Source == You can get the source by cloning the Dexter source repository at the [https://github.com/splanck/dexter 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. ==...")
 
No edit summary
 
Line 11: Line 11:
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.
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.


== testme.sh ==
== Testing your build ==


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

Latest revision as of 00:20, 28 April 2023

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.