mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-12-26 19:16:48 -07:00
7 lines
358 B
Bash
Executable File
7 lines
358 B
Bash
Executable File
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 |