Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/risc0/toolchain
https://github.com/risc0/toolchain
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/risc0/toolchain
- Owner: risc0
- Created: 2022-02-25T06:35:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T05:47:41.000Z (10 months ago)
- Last Synced: 2024-04-14T02:06:49.364Z (7 months ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 19
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# riscv32im Toolchain
The toolchain produced by this repository is meant for a RISC-V 32-bit ISA with the core integer and multiplication extension.
## Prerequisites
Based on https://github.com/riscv-collab/riscv-gnu-toolchain.
### macOS
```bash
brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock
```### Linux
```bash
sudo apt-get install autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev ninja-build git cmake libglib2.0-dev
```## Build
```bash
./build.sh $HOST
````HOST` can be one of:
* riscv32im-linux-x86_64
* riscv32im-osx-arm64
* riscv32im-osx-x86_64A final tarball lands in `.dist/$HOST`. For example:
```bash
$ ls .dist
riscv32im-osx-arm64
riscv32im-osx-arm64.tar.xz
```