Skip to content
Fork of gcc with support for MRISC32
C Ada C++ Go D GCC Machine Description Other
Branch: mbitsnbites/mr…
Clone or download
Pull request Compare This branch is 4 commits ahead, 314 commits behind gcc-mirror:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
INSTALL
config
contrib
fixincludes
gcc
gnattools
gotools
include
intl
libada
libatomic
libbacktrace
libcc1
libcpp
libdecnumber
libffi
libgcc
libgfortran
libgo
libgomp
libhsail-rt
libiberty
libitm
libobjc
liboffloadmic
libphobos
libquadmath
libsanitizer
libssp
libstdc++-v3
libvtv
lto-plugin
maintainer-scripts
zlib
.clang-format
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
README
README.md
ar-lib
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
symlink-tree
test-driver
ylwrap

README.md

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

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

Install:

$ 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
You can’t perform that action at this time.