Skip to content

Commit 40c8522

Browse files
author
Andrew Waterman
committed
New ABI/tool
1 parent 077c2f5 commit 40c8522

File tree

10 files changed

+51
-189
lines changed

10 files changed

+51
-189
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
[submodule "riscv-pk"]
88
path = riscv-pk
99
url = https://github.com/ucb-bar/riscv-pk.git
10-
[submodule "riscv-gcc"]
11-
path = riscv-gcc
12-
url = https://github.com/ucb-bar/riscv-gcc.git
1310
[submodule "riscv-opcodes"]
1411
path = riscv-opcodes
1512
url = https://github.com/ucb-bar/riscv-opcodes.git
@@ -22,3 +19,6 @@
2219
[submodule "riscv-qemu"]
2320
path = riscv-qemu
2421
url = https://github.com/ucb-bar/riscv-qemu.git
22+
[submodule "riscv-gnu-toolchain"]
23+
path = riscv-gnu-toolchain
24+
url = https://github.com/ucb-bar/riscv-gnu-toolchain.git

README.md

Lines changed: 36 additions & 174 deletions
Large diffs are not rendered by default.

build-spike-only.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
. build.common
77

8-
if [ ! `which riscv-gcc` ]
8+
if [ ! `which riscv64-unknown-elf-gcc` ]
99
then
10-
echo "riscv-gcc doesn't appear to be installed; use the full-on build.sh"
10+
echo "riscv64-unknown-elf-gcc doesn't appear to be installed; use the full-on build.sh"
1111
exit 1
1212
fi
1313

1414
echo "Starting RISC-V Toolchain build process"
1515

1616
build_project riscv-fesvr --prefix=$RISCV
1717
build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV
18-
CC=riscv-gcc build_project riscv-pk --prefix=$RISCV/riscv-elf --host=riscv
18+
CC=riscv64-unknown-elf-gcc build_project riscv-pk --prefix=$RISCV/riscv64-unknown-elf --host=riscv
1919

2020
echo -e "\\nRISC-V Toolchain installation completed!"

build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ echo "Starting RISC-V Toolchain build process"
99

1010
build_project riscv-fesvr --prefix=$RISCV
1111
build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV
12-
build_project riscv-gcc --prefix=$RISCV
13-
CC=riscv-gcc build_project riscv-pk --prefix=$RISCV/riscv-elf --host=riscv
12+
build_project riscv-gnu-toolchain --prefix=$RISCV
13+
CC=riscv64-unknown-elf-gcc build_project riscv-pk --prefix=$RISCV/riscv64-unknown-elf --host=riscv
1414
# ignore translation files from qemu
15-
cd riscv-qemu; git update-index --assume-unchanged po/*; cd ..
16-
build_project riscv-qemu --prefix=$RISCV --target-list=riscv-softmmu
15+
#cd riscv-qemu; git update-index --assume-unchanged po/*; cd ..
16+
#build_project riscv-qemu --prefix=$RISCV --target-list=riscv-softmmu
1717
build_tests
1818

1919
echo -e "\\nRISC-V Toolchain installation completed!"

riscv-fesvr

riscv-gcc

Lines changed: 0 additions & 1 deletion
This file was deleted.

riscv-gnu-toolchain

Submodule riscv-gnu-toolchain added at c579bb4

riscv-pk

riscv-tests

0 commit comments

Comments
 (0)