shithub: femtolisp

Download patch

ref: 63832a4728ca4af432ef2b1c272ce4ca97666a91
parent: 9ce6f3b9c5fc94822e03512337c47ce076ff30fc
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sat Mar 25 20:49:23 EDT 2023

bootstrap: rebuild before making a stage 1 boot file

--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -5,11 +5,13 @@
 
 echo "Creating stage 0 boot file..."
 ./flisp gen.lsp
-./flisp mkboot0.lsp instructions.lsp builtins.lsp system.lsp compiler.lsp > flisp.boot.new
-mv flisp.boot.new flisp.boot
+./flisp mkboot0.lsp instructions.lsp builtins.lsp system.lsp compiler.lsp > flisp.boot
 
 echo "Creating stage 1 boot file..."
+make clean
+make -j8
 ./flisp mkboot1.lsp
+make -j8
 
 echo "Testing..."
 make test