Skip to content
mbitsnbites/mr…
Switch branches/tags
Code
This branch is 4 commits ahead, 1181 commits behind gcc-mirror/gcc:master.
Contribute

Latest commit

 

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
gcc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gcc for MRISC32

This is a fork of gcc with support for MRISC32.

Status

The MRISC32 back end for gcc is still in early development. Currently you can only compile very simple C programs (no C++, no libc).

Prerequisites

Ubuntu:

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.

Building

Build the bootstrap version of GCC

Configure and build:

$ mkdir build
$ cd build
$ ../configure --target=mrisc32-elf --enable-languages=c --without-headers --with-newlib --with-gnu-as --with-gnu-ld
$ make all-gcc

Install:

$ sudo make install-gcc

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

About

Fork of gcc with support for MRISC32

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published