gcc boot.c -o boot.elf && ./boot.elf < $1 > $1.s && riscv64-linux-gnu-gcc-12 -static $1.s -o $1.elf && qemu-riscv64 $1.elf echo $? rm $1.s $1.elf boot.elf