Tools needed to compile code that runs on Rigel
C C++ Assembly D Shell Objective-C Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The codegen repository contains everything needed to cross-compile C and assembly code for Rigel on a host machine.

We use clang 2.8 as a C89, C99, and assembly front-end, LLVM 2.8 for middle-end optimizations, an LLVM backend to generate assembly code, and GNU binutils 2.18 to assemble and link binaries.



A version of GNU binutils with support for the Rigel instruction set.


./binutils-2.18/ builds and installs binutils


A version of the LLVM compiler with a backend for the Rigel instruction set.

./llvm-2.8/ builds and installs LLVM 2.8

./llvm-2.8/ is useful when a previous build and install has already been performed.