# toy_riscv_toolchain **Repository Path**: bigmagic/toy_riscv_toolchain ## Basic Information - **Project Name**: toy_riscv_toolchain - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-28 - **Last Updated**: 2025-04-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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