This commit is contained in:
nub31
2025-06-12 23:21:09 +02:00
parent 32a341508c
commit a56e150769
2 changed files with 154 additions and 55 deletions

View File

@@ -1,19 +1,2 @@
#!/bin/bash
set -e
dotnet build src/lang/Nub.Lang.CLI
mkdir -p bin-int bin
rm -rf bin-int/* bin/*
nub example
find bin-int -name '*.s' | while read -r file; do
as "$file" -o "bin-int/$(basename "${file}" .s).o"
done
find src/runtime -name '*.s' | while read -r file; do
as "$file" -o "bin-int/$(basename "${file}" .s).o"
done
gcc -nostartfiles -o bin/out bin-int/*.o
dotnet run --project src/lang/Nub.Lang.CLI/ example