emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pretest


From: Eli Zaretskii
Subject: Re: Pretest
Date: Sat, 28 Oct 2006 15:14:56 +0200

> Date: Sat, 28 Oct 2006 12:01:50 +0100
> From: Jason Rumney <address@hidden>
> Cc: address@hidden
> 
> On a fresh install with w32, I got the following error:
> 
> 
> gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c 
> -gstabs+ -g3  -mtune=pentium4 -O2  -Di386 -D_CRTAPI1=_cdecl   
> -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1 
> -DHAVE_CONFIG_H=1 -I../nt/inc -I../src -o oo-spd/i386/digest-doc.o 
> digest-doc.c
> gcc -o oo-spd/i386/digest-doc.exe  -gstabs+ -g3   
> oo-spd/i386/digest-doc.o   -ladvapi32
> mingw32-make[1]: *** No rule to make target 
> `../src/oo-spd/i386/temacs.exe', needed by `DOC'.  Stop.
> mingw32-make[1]: Leaving directory `C:/emacs-22.0.90/lib-src'
> mingw32-make: *** [all-other-dirs-gmake] Error 2
> 
> 
> I'll look into it, and see if it is a configuration problem with this 
> PC, or a problem with the makefiles  that has gone undetected.

It's a real bug, it happens the first time a source tree is compiled.

Please try the patch below.  I will check it in if there are no
objections.

diff -u "emacs-pretest/emacs-22.0.90/lib-src/makefile.w32-in~" 
"emacs-pretest/emacs-22.0.90/lib-src/makefile.w32-in"
--- emacs-pretest/emacs-22.0.90/lib-src/makefile.w32-in~        2006-10-10 
21:01:30.000000000 +0200
+++ emacs-pretest/emacs-22.0.90/lib-src/makefile.w32-in 2006-10-28 
15:08:33.420500000 +0200
@@ -263,6 +263,13 @@
        $(lispsource)window.elc \
        $(lispsource)version.el
 
+# This is needed the first time we build the tree, since temacs.exe
+# does not exist yet, and the DOC rule needs it to rebuild DOC whenever
+# Emacs is rebuilt.
+../src/$(BLD)/temacs.exe:
+       - mkdir "../src/$(OBJDIR)"
+       - mkdir "../src/$(BLD)"
+       @echo temacs > $@
 
 DOC          = DOC
 $(DOC):                $(BLD) $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe 
$(lisp1) $(lisp2)

Diff finished.  Sat Oct 28 15:11:59 2006




reply via email to

[Prev in Thread] Current Thread [Next in Thread]