Added apt-get doc for toolchain build
This commit is contained in:
parent
b5b1816101
commit
39b01ae24f
|
@ -520,6 +520,10 @@ CPU.
|
||||||
The following commands will build the RISC-V gnu toolchain and libraries for a
|
The following commands will build the RISC-V gnu toolchain and libraries for a
|
||||||
pure RV32I target, and install it in `/opt/riscv32i`:
|
pure RV32I target, and install it in `/opt/riscv32i`:
|
||||||
|
|
||||||
|
# Ubuntu packages needed:
|
||||||
|
sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev \
|
||||||
|
libgmp-dev gawk build-essential bison flex texinfo gperf
|
||||||
|
|
||||||
sudo mkdir /opt/riscv32i
|
sudo mkdir /opt/riscv32i
|
||||||
sudo chown $USER /opt/riscv32i
|
sudo chown $USER /opt/riscv32i
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue