diff options
author | davygrvy <davygrvy@pobox.com> | 2002-02-21 18:37:27 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2002-02-21 18:37:27 (GMT) |
commit | 684fff1b76d025b0bc8604b9afeffd894b587276 (patch) | |
tree | 73455424bfd8ff14c89dd77a202370b8b6b5a370 /win/makefile.vc | |
parent | bab9941ca86ab7fdba468681e54463cef336db5d (diff) | |
download | tcl-684fff1b76d025b0bc8604b9afeffd894b587276.zip tcl-684fff1b76d025b0bc8604b9afeffd894b587276.tar.gz tcl-684fff1b76d025b0bc8604b9afeffd894b587276.tar.bz2 |
* win/makefile.vc:
* win/rules.vc: Added a new "loimpact" option that sets the
-ws:aggressive linker option. Off by default. It's said to
keep the heap use low at the expense of alloc speed.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 302657b..d18b28d 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -12,7 +12,7 @@ # Copyright (c) 2001 Tomasoft Engineering. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.81 2002/02/20 19:06:53 davygrvy Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.82 2002/02/21 18:37:27 davygrvy Exp $ #------------------------------------------------------------------------------ !if "$(MSVCDIR)" == "" @@ -78,6 +78,8 @@ the environment. Jump to this line to read the new instructions. # threads = Turns on full multithreading support. # symbols = Adds symbols for step debugging. # profile = Adds profiling hooks. Map file is assumed. +# loimpact= Adds a flag for how NT treats the heap to keep memory +# in use low. This is said to impact performance. # # STATS=memdbg,compdbg,none # Sets optional memory and bytecode compiler debugging code added @@ -373,12 +375,15 @@ lflags = $(lflags) -opt:nowin98 lflags = $(lflags) -align:4096 !endif +!if $(LOIMPACT) +lflags = $(lflags) -ws:aggressive +!endif + dlllflags = $(lflags) -dll conlflags = $(lflags) -subsystem:console guilflags = $(lflags) -subsystem:windows baselibs = kernel32.lib advapi32.lib user32.lib -winlibs = $(baselibs) gdi32.lib #--------------------------------------------------------------------- @@ -427,7 +432,7 @@ $(TCLLIB): $(TCLOBJS) $** << !else - $(link32) $(dlllflags) -out:$@ $(winlibs) @<< + $(link32) $(dlllflags) -out:$@ $(baselibs) @<< $** << -@del $*.exp |