mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-12-27 11:36:47 -07:00
7 lines
358 B
Bash
7 lines
358 B
Bash
|
sudo apt-get install -y autoconf automake autotools-dev curl python3 libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev
|
||
|
|
||
|
SCRIPT=$(realpath "$0")
|
||
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||
|
cd $SCRIPTPATH/riscv-gnu-toolchain
|
||
|
./configure --prefix=$SCRIPTPATH/toolchain/riscv --enable-multilib
|
||
|
make
|