Skip to content

risc0/toolchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock

Linux

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

./build.sh $HOST

HOST can be one of:

  • riscv32im-linux-x86_64
  • riscv32im-osx-arm64
  • riscv32im-osx-x86_64

A final tarball lands in .dist/$HOST. For example:

$ ls .dist
riscv32im-osx-arm64
riscv32im-osx-arm64.tar.xz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages