diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-09-11 20:08:56 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-09-11 20:08:56 -0700 |
commit | 3efc407112aa8e80126c63f348a78ad4c677409f (patch) | |
tree | cf88de8a1b0c98307c77035d3241156fd5fbc650 /README.md | |
parent | b2e1887bfc18267f741afcd140b2816e147c1a8c (diff) | |
download | riscv-gnu-toolchain-3efc407112aa8e80126c63f348a78ad4c677409f.zip riscv-gnu-toolchain-3efc407112aa8e80126c63f348a78ad4c677409f.tar.gz riscv-gnu-toolchain-3efc407112aa8e80126c63f348a78ad4c677409f.tar.bz2 |
Add README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..31e0aaf --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +RISC-V GNU Compiler Toolchain +============================= + +Author : Andrew Waterman + +Date : September 11, 2014 + +This is the RISC-V C and C++ cross-compiler. It supports two build modes: +a generic ELF/Newlib toolchain and a more sophisticated Linux-ELF/glibc +toolchain. + +### Installation (Newlib) + +To build the Newlib cross-compiler, pick an install path. If you choose, +say, `/opt/riscv`, then add `/opt/riscv/bin` to your `PATH` now. Then, simply +run the following command: + + ./configure --prefix=/opt/riscv + make + +You should now be able to use riscv-gcc and its cousins. + +### Installation (Linux) + +To build the Linux cross-compiler, pick an install path. If you choose, +say, `/opt/riscv`, then add `/opt/riscv/bin` to your `PATH` now. Then, simply +run the following command: + + ./configure --prefix=/opt/riscv + make linux + |