You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
12 years ago | |
|---|---|---|
| binutils | 12 years ago | |
| gcc | 12 years ago | |
| glibc/sysdeps | 12 years ago | |
| linux-headers/include | 12 years ago | |
| newlib | 12 years ago | |
| patches | 12 years ago | |
| scripts | 12 years ago | |
| .gitignore | 12 years ago | |
| Makefile.in | 12 years ago | |
| README.md | 12 years ago | |
| configure | 12 years ago | |
| configure.ac | 12 years ago | |
README.md
RISC-V GNU Compiler Toolchain
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.
Author
Andrew Waterman
Contributors
- Yunsup Lee
- Quan Nguyen
- Albert Ou
- Darius Rad
- Matt Thomas
- ultraembedded (github id)
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