RVBTCC/run-native.sh
2024-12-06 16:52:31 +08:00

5 lines
85 B
Bash

gcc boot.c &&
./a.out < $1 > $1.s &&
gcc -static $1.s -o $1.out &&
./$1.out
echo $?