From cc56ed42486c2636af50bae451825ad90cfd4b6c Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 15 Jul 2025 17:34:39 +0200 Subject: Finish bootstrapping :^) --- bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index e924714..c95decf 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,20 +1,20 @@ #!/bin/sh echo "Cleaning up previous builds..." -rm -f stage1 stage2 stage3 output.o bootstrap_output.o +rm -f stage1 stage2 stage3 output.o bootstrap_output.o bootstrap/output.s echo "Building stage 0..." -zig build +llc bootstrap/output.ll && cc $(llvm-config --libs) bootstrap/output.s -o stage0 echo "Building stage 1..." -./zig-out/bin/pry-lang src/bootstrap/main.pry && cc $(llvm-config --libs) output.o -o stage1 +./stage0 src/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage1 echo "Building stage 2..." -./stage1 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage2 +./stage1 src/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage2 echo "Building stage 3..." -./stage2 src/bootstrap/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage3 +./stage2 src/main.pry && cc $(llvm-config --libs) bootstrap_output.o -o stage3 -- cgit 1.4.1