From c658f6f473c15fa0a7622b9333d35201314c156d Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 18 Apr 1998 05:36:15 +0000 Subject: [PATCH] Use external debugging info (-Zi) and map the program text above 0x04000000 so that it minimally interferes with Scheme's heap. --- v7/src/microcode/ntutl/makefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/v7/src/microcode/ntutl/makefile b/v7/src/microcode/ntutl/makefile index d6090d87f..277d8abdd 100644 --- a/v7/src/microcode/ntutl/makefile +++ b/v7/src/microcode/ntutl/makefile @@ -1,6 +1,6 @@ ### -*- Fundamental -*- ### -### $Id: makefile,v 1.21 1998/04/16 06:06:51 cph Exp $ +### $Id: makefile,v 1.22 1998/04/18 05:36:15 cph Exp $ ### ### Copyright (c) 1992-98 Massachusetts Institute of Technology ### @@ -57,12 +57,17 @@ USER_LIBS = ASFLAGS = /bt=nt /d1 /fpi /fp3 /mf /zq AS = wasm +!IFDEF NODEBUG +cflags = $(cflags) -Ox +!ELSE +cflags = $(cflags) -Zi -Od +!ENDIF cflags = $(cflags) $(cvarsmt) /DMIT_SCHEME /DGUI=1 /I. all: scheme.exe bchschem.exe bintopsb.exe psbtobin.exe .c.obj: - $(cc) $(cflags) $(cdebug) -c $*.c + $(cc) $(cflags) -c $*.c .asm.obj: $(AS) $(ASFLAGS) $*.asm @@ -287,13 +292,14 @@ SCHEME_LIB = $(USER_LIBS) md5.lib blowfish.lib gdbm.lib scheme: scheme.exe scheme.exe : $(OBJECTS) $(SCHEME_OBJECTS) scheme32.obj ntgui.res - $(link) $(linkdebug) $(guiflags) -out:scheme.exe \ - $(OBJECTS) $(SCHEME_OBJECTS) scheme32.obj $(guilibsmt) $(SCHEME_LIB) \ - ntgui.res + $(link) $(linkdebug) $(guiflags) /base:0x4000000 /fixed /map \ + -out:scheme.exe $(OBJECTS) $(SCHEME_OBJECTS) scheme32.obj \ + $(guilibsmt) $(SCHEME_LIB) ntgui.res bchschem.exe : $(BCHOBJECTS) $(SCHEME_OBJECTS) scheme32.obj - $(link) $(linkdebug) $(guiflags) -out:bchschem.exe \ - $(BCHOBJECTS) $(SCHEME_OBJECTS) scheme32.obj $(guilibsmt) $(SCHEME_LIB) + $(link) $(linkdebug) $(guiflags) /base:0x4000000 /fixed /map \ + -out:bchschem.exe $(BCHOBJECTS) $(SCHEME_OBJECTS) scheme32.obj \ + $(guilibsmt) $(SCHEME_LIB) ntgui.res scheme32.obj : scheme32.c ntscmlib.h -- 2.25.1