>>>> "APA" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
>>>> "Adrian" == Adrian Aichner
<aichner(a)ecf.teradyne.com> writes:
Adrian> As we all know: To iterate is
human...
Adrian> Well, the native build process didn't get divine, thanks God :-)
Adrian> The pure space adjustment under Windows NT native build causes
Adrian> infinite iteration.
Adrian> I haven't analy[sz]ed yet.
APA> Here is the first hint.
APA> After umpf-teen iterations my puresize-adjust.h contains this:
Here's a hint for you:
purespace used to be defined in pure.c and is now back in alloc.c.
Since previously pure.obj needed to get rebuilt, now it should be
alloc.obj instead.
Part of my patch for nt/xemacs.mak was this deletion:
@@ -876,8 +874,6 @@
$(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
$(CCV) $(TEMACS_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
-
-$(OUTDIR)\pure.obj: $(TEMACS_SRC)\pure.c $(TEMACS_SRC)\puresize-adjust.h
#$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
# !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
Try adding back a dependency like this:
$(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c $(TEMACS_SRC)\puresize-adjust.h
although, come to think of it, that also looks like it was always
wrong, since puresize-adjust.h is a generated file:
$(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c $(OUTDIR)\puresize-adjust.h
I don't suppose anyone has ever done a native Windows --srcdir=... build?
The native Windows build doesn't seem to have accurate dependencies.
Perhaps someone could take src/depend and munge it to create an NT
compatible version of that.
One could go further and modify src/make-src-depend to generate two
output files, one suitable for Unix, one for native Windows.
Martin