From c4c595fe22bc76aa4d27f2383ec68a0aa74da37c Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 30 May 2024 01:07:42 -0400 Subject: Add debug info to tnslc binart --- tnslc/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnslc/build.sh b/tnslc/build.sh index 95cca0e..6bee3fc 100755 --- a/tnslc/build.sh +++ b/tnslc/build.sh @@ -8,6 +8,6 @@ mkdir -p $ARTIFACT_DIR filename=tnslc.tnsl filename="${filename%.*}" ./ctc $filename.tnsl $ARTIFACT_DIR/$filename.asm -nasm -f elf64 -o $ARTIFACT_DIR/$filename.o $ARTIFACT_DIR/$filename.asm -gcc -s -o $BUILD_DIR/$filename $ARTIFACT_DIR/$filename.o +nasm -g -f elf64 -o $ARTIFACT_DIR/$filename.o $ARTIFACT_DIR/$filename.asm +gcc -ggdb -o $BUILD_DIR/$filename $ARTIFACT_DIR/$filename.o -- cgit v1.2.3