From aeae19c142c9aedc32400c30ea027ee8ca8948bd Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Wed, 6 Apr 2016 10:14:33 -0700 Subject: [PATCH] reduce stack size. Watcom C makes STACK part of DGROUP and will error out if DGROUP exceeds 64KB. I can't find the switches or options to not make STACK part of DGROUP. 55KB of stack is overkill for 16-bit DOS anyway. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index df7edd64..d5cc2ddf 100755 --- a/makefile +++ b/makefile @@ -64,7 +64,7 @@ UPXQ=-qqq AFLAGS=-mh -0 -d1 16FLAGS=-fh=16.hed BAKAPIFLAGS=-fh=bakapi.hed -SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k55808#60000#32768 +SFLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k40000#55808#60000#32768 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS) ZFLAGS=-zk0 -zc -zp8 $(WCLQ) ## -zm CFLAGS=$(AFLAGS) $(IFLAGS)-lr -l=dos -wo -i$(DOSLIB)##wwww -- 2.39.5