-
Notifications
You must be signed in to change notification settings - Fork 48
toolchain
To build and run Mimiker you will need a toolchain, i.e. compiler, linker, ELF
tools, emulator and debugger. The default option is to choose quite recent
LLVM toolchain (check version in tools.mk), i.e. clang
, lld
, llvm
from apt.llvm.org and QEmu.
NOTE: If you plan to run Mimiker on MIPS you need to install patched version of QEmu as well. Our version solves several issues not patched in the mainstream version – please refer to our list of patches. Prebuild package for Debian x86-64 can be found here.
You can find all needed software in a Dockerfile. There is also a script [install-tools.sh][13] that will automatically install all needed software on Debian system.
You also need to install python requirements. E.g. with command:
pip3 install -r requirements.txt
# patch & quilt required by lua and programs in contrib/
# gperf required by libterminfo
# socat & tmux required by launch
The other method is to use a custom pre-build GNU toolchain, i.e. gcc
,
binutils
and gdb
. We prepared packages for Debian x86-64 based system, each
for different target architecture: supports MIPS, AArch64,
RISC-V 32-bit and 64-bit.