RVBTCC/run.sh

5 lines
139 B
Bash
Raw Permalink Normal View History

2024-11-15 13:29:39 +00:00
gcc boot.c boot-lib.c &&
./a.out < $1 > $1.s &&
riscv64-linux-gnu-gcc-12 -static $1.s boot-lib.c -o $1.out &&
qemu-riscv64 $1.out
echo $?