This commit is contained in:
Yaossg 2024-11-15 21:39:51 +08:00
parent ef97b3419c
commit 973100f180

View File

@ -1,4 +1,4 @@
cd build && mkdir -p build && cd build &&
cat ../boot-lib.h ../boot.c | sed '/^#/d' > boot-all.c && cat ../boot-lib.h ../boot.c | sed '/^#/d' > boot-all.c &&
gcc ../boot.c ../boot-lib.c -o gcc.out && gcc ../boot.c ../boot-lib.c -o gcc.out &&
./gcc.out < boot-all.c > boot1.s && ./gcc.out < boot-all.c > boot1.s &&