diff options
Diffstat (limited to 'scripts/run.sh')
| -rwxr-xr-x | scripts/run.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/run.sh b/scripts/run.sh index 6d71521..01d3882 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -20,6 +20,9 @@ docker compose exec -T -e SRC="$file" -e NAME="$name" hdass bash -c ' premake5 gmake >/dev/null make config=debug >/dev/null ./bin/debug-linux/hdass "$SRC" -o "/tmp/$NAME.asm" + echo + cat "/tmp/$NAME.asm" + echo nasm -f elf64 "/tmp/$NAME.asm" -o "/tmp/$NAME.o" ld -e main "/tmp/$NAME.o" -o "/tmp/$NAME" set +e |
