...
This commit is contained in:
10
build.sh
10
build.sh
@@ -3,19 +3,15 @@ set -e
|
||||
|
||||
mkdir -p out
|
||||
|
||||
echo "setup..."
|
||||
|
||||
dotnet publish -c Release src/compiler/Nub.Lang
|
||||
|
||||
echo "compiling..."
|
||||
clear
|
||||
|
||||
nub example out/out.qbe
|
||||
|
||||
nasm -g -felf64 src/runtime/runtime.asm -o out/runtime.o
|
||||
|
||||
qbe out/out.qbe > out/out.s
|
||||
|
||||
gcc -c -g out/out.s -o out/out.o
|
||||
|
||||
gcc -nostartfiles -o out/program out/runtime.o out/out.o
|
||||
|
||||
echo "done..."
|
||||
gcc -nostartfiles -o out/program out/runtime.o out/out.o
|
||||
Reference in New Issue
Block a user