2 ms·
Works for me. Here is how to do minimal 3-stage bootstrap. gcc bootstrap/io.c bootstrap/zc.c -o zc1 ./zc1 -I lib -I lib/platform/default -I src src/main.zc
by sanxiyn 16y ago
Works for me. Here is how to do minimal 3-stage bootstrap.
gcc bootstrap/io.c bootstrap/zc.c -o zc1
./zc1 -I lib -I lib/platform/default -I src src/main.zc -o zc2.c
gcc lib/libc/io.c zc2.c -o zc2
./zc2 -I lib -I lib/platform/default -I src src/main.zc -o zc3.c
cmp zc2.c zc3.c # should be identical