Skip to content

Commit 268561f

Browse files
committed
add riscv32i target
1 parent 7f1e4a5 commit 268561f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

assemble.sh

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ crate=riscv
77
# remove existing blobs because otherwise this will append object files to the old blobs
88
rm -f bin/*.a
99

10+
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32i asm.S -o bin/$crate.o
11+
ar crs bin/riscv32i-unknown-none-elf.a bin/$crate.o
12+
1013
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32imc asm.S -o bin/$crate.o
1114
ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
1215
ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o

bin/riscv32i-unknown-none-elf.a

69.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)