commit c91b7a75c525c32f9c44e03313a39e40d42ee6a8 parent 8df4e975341ca8f5dd7aa17ba9fc536467c7afab Author: Brian Swetland <swetland@frotz.net> Date: Sat, 14 Oct 2023 13:30:48 -0700 tools/compiler: include debug info, no optimization Diffstat:
M | tools/compile | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/compile b/tools/compile @@ -8,4 +8,4 @@ if [ ! -e "${src}" ] ; then echo error: cannot find "${src}" ; exit 1 ; fi mkdir -p $(dirname ${out}) bin/compiler0 -o ${out} ${src} -gcc -Wall -I. -Iinc -Iout -o ${out}.bin ${out}.impl.c +gcc -g -O0 -Wall -I. -Iinc -Iout -o ${out}.bin ${out}.impl.c