Install dependencies apt-get install gcc-arm-linux-gnueabihf qemu Prepare work directory mkdir qemu-arm-sandbox && cd qemu-arm-sandbox
Howto build a crosscompiler for risc-v sifive-hifive1 with crosstool-ng Create working dir mkdir risc-v-gcc cd risc-v-gcc Fetch crosstool-ng git clone https://github.com/crosstool-ng/crosstool-ng.git