gcc for MRISC32
The MRISC32 back end for gcc is still in early development. Currently you can only compile very simple C programs (no C++, no libc).
sudo apt install flex bison libbison-dev libgmp-dev libmpfr-dev libmpc-dev
You also have to have an installation of MRISC32 binutils in your PATH.
Configure and build:
$ mkdir build $ cd build $ ../configure --target=mrisc32-elf --program-prefix=mrisc32-elf- --enable-languages=c --disable-libssp --disable-libquadmath --without-newlib $ make
$ sudo make install
About this Git repo
The MRISC32 back end for gcc is maintained as a branch that is periodically rebased on top of the latest upstream master branch and force pushed to the fork repository. To update your local clone you need to:
$ git fetch origin $ git reset --hard origin/mbitsnbites/mrisc32