RVBTCC/run-native.sh

5 lines
107 B
Bash
Raw Permalink Normal View History

2024-11-18 09:29:59 +00:00
gcc boot.c boot-lib.c &&
./a.out < $1 > $1.s &&
gcc -static $1.s boot-lib.c -o $1.out &&
./$1.out
echo $?