5 lines
117 B
Bash
5 lines
117 B
Bash
gcc boot.c &&
|
|
./a.out < $1 > $1.s &&
|
|
riscv64-linux-gnu-gcc-12 -static $1.s -o $1.out &&
|
|
qemu-riscv64 $1.out
|
|
echo $? |