From: Chris Hanson Date: Sat, 18 Apr 1998 05:36:15 +0000 (+0000) Subject: Use external debugging info (-Zi) and map the program text above X-Git-Tag: 20090517-FFI~4810 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c658f6f473c15fa0a7622b9333d35201314c156d;p=mit-scheme.git Use external debugging info (-Zi) and map the program text above 0x04000000 so that it minimally interferes with Scheme's heap. --- 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