add correct riscv toolchain. Build takes forever so I'll probably add the binaries later
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
build/
|
||||
toolchain/
|
||||
*.~lock*
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "riscv-gnu-toolchain"]
|
||||
path = riscv-gnu-toolchain
|
||||
url = https://github.com/riscv-collab/riscv-gnu-toolchain.git
|
@@ -17,3 +17,6 @@ Desired features:
|
||||
* division
|
||||
* instruction and data caches
|
||||
* JTAG debug probe
|
||||
|
||||
## Installation
|
||||
Run `setup.sh` to install GCC
|
1
riscv-gnu-toolchain
Submodule
1
riscv-gnu-toolchain
Submodule
Submodule riscv-gnu-toolchain added at 96d9f40c9d
7
setup.sh
Executable file
7
setup.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
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
|
Reference in New Issue
Block a user