small fixes

This commit is contained in:
nub31
2025-06-11 10:46:41 +02:00
parent 299e06a03e
commit 7effe36988
5 changed files with 20 additions and 12 deletions

View File

@@ -6,7 +6,9 @@ dotnet build src/lang/Nub.Lang.CLI
mkdir -p bin-int bin
rm -rf bin-int/* bin/*
nub example | qbe | as -o bin-int/out.o
nub example > bin-int/out.ssa
qbe bin-int/out.ssa > bin-int/out.s
as -o bin-int/out.o bin-int/out.s
find src/runtime -name '*.s' | while read -r file; do
as "$file" -o "bin-int/$(basename "${file}" .s).o"