Download Prebuilt GNU ARM Embedded Toolchain
Install GCC Multilib
sudo apt install gcc-multilib
Please remember to change /path/to/gnu-arm-embed-toolchain/bin
to directory path your machine where the extracted toolchain located.
git clone --recursive https://github.com/thaolt/chip8emu-handheld.git
cd chip8emu-handheld/chip8emu-riot
export PATH=/path/to/gnu-arm-embed-toolchain/bin:$PATH
make