Building a toolchain suitable for compiling V extension code

This page summarizes the projects mentioned and recommended in the original post on /r/RISCV

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • riscv-gnu-toolchain

    GNU toolchain for RISC-V, including GCC (by brucehoult)

  • Step 1. Build the RISC-V GNU toolchain suitable for compiling and assembling RVV 0.7.1 instructions, and that would be https://github.com/brucehoult/riscv-gnu-toolchain. For grins I built this on a RISC-V machine, the Unmatched. It took a few hours, but there's something sublime about using RISC-V everywhere you can.

  • riscv-gnu-toolchain

    GNU toolchain for RISC-V, including GCC

  • root@armvm1:/usr/local/src# git clone https://github.com/riscv-collab/riscv-gnu-toolchain Cloning into 'riscv-gnu-toolchain'... ... Resolving deltas: 100% (4100/4100), done. root@armvm1:/usr/local/src# cd riscv-gnu-toolchain/ root@armvm1:/usr/local/src# cd riscv-gnu-toolchain/ root@armvm1:/usr/local/src/riscv-gnu-toolchain# export RISCV=/opt/riscv/ root@armvm1:/usr/local/src/riscv-gnu-toolchain# ./configure --prefix=$RISCV root@armvm1:/usr/local/src/riscv-gnu-toolchain# make -j8

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • riscv

    RISC-V vector and other assembly code examples (by gsauthof)

  • riscv-v-spec

    Discontinued Working draft of the proposed RISC-V V vector extension

  • I'll do a deep dive into the https://gms.tf/riscv-vector.html#getting-started tutorial, and probably pop the proverbial stack and just study RVV 0.7.1 on its own (using https://github.com/riscv/riscv-v-spec/releases/tag/0.7.1).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts