summaryrefslogtreecommitdiff
path: root/tnslc/build.sh
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-08-03 17:49:31 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-08-03 17:49:31 -0400
commit6181bc4f019faea5f0fdc33542ec5bcc42f28b89 (patch)
tree0540c6bf8f4bedbb6b9167cd25ee3654d29e468c /tnslc/build.sh
parent7447a2a388ad0236a42aeb210019e3d596a6eb8c (diff)
Modules again
Diffstat (limited to 'tnslc/build.sh')
-rwxr-xr-xtnslc/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/build.sh b/tnslc/build.sh
index 6bee3fc..1f85a60 100755
--- a/tnslc/build.sh
+++ b/tnslc/build.sh
@@ -7,7 +7,7 @@ mkdir -p $BUILD_DIR
mkdir -p $ARTIFACT_DIR
filename=tnslc.tnsl
filename="${filename%.*}"
-./ctc $filename.tnsl $ARTIFACT_DIR/$filename.asm
+valgrind ./ctc $filename.tnsl $ARTIFACT_DIR/$filename.asm
nasm -g -f elf64 -o $ARTIFACT_DIR/$filename.o $ARTIFACT_DIR/$filename.asm
gcc -ggdb -o $BUILD_DIR/$filename $ARTIFACT_DIR/$filename.o