From: Jonathan Campbell Date: Wed, 6 Apr 2016 17:14:33 +0000 (-0700) Subject: reduce stack size. Watcom C makes STACK part of DGROUP and will error X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=aeae19c142c9aedc32400c30ea027ee8ca8948bd;p=16.git 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. --- 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