Mercurial > emacs
changeset 24100:b0f472237251
(TEMACS_TMP): New macro.
($(TEMACS)): Output to TEMACS_TMP from link, use post-link
processor to add static heap section in support of new unexec.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 17 Jan 1999 19:17:43 +0000 |
parents | 38b8a103975c |
children | 95829fe50ff7 |
files | src/makefile.nt |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/makefile.nt Sun Jan 17 19:16:08 1999 +0000 +++ b/src/makefile.nt Sun Jan 17 19:17:43 1999 +0000 @@ -39,6 +39,7 @@ EMACS = $(BLD)\emacs.exe TEMACS = $(BLD)\temacs.exe +TEMACS_TMP = $(BLD)\temacs.bin TLIB0 = $(BLD)\temacs0.lib TLIB1 = $(BLD)\temacs1.lib TLIB2 = $(BLD)\temacs2.lib @@ -200,10 +201,15 @@ # # The undumped executable +# Note the extra post-link step to insert a static preload heap section. +# If preload runs out of memory, increase the last argument to addsection +# (it is the preload heap size in MB). # temacs: $(BLD) $(TEMACS) $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) - $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) + $(LINK) -out:$(TEMACS_TMP) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) + ..\nt\$(BLD)\addsection $(TEMACS_TMP) $(TEMACS) EMHEAP 16 + rm $(TEMACS_TMP) # # The resource file. NT 3.10 requires the use of cvtres; even though