emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: loaddefs.el on Windows incomplete


From: Ralf Angeli
Subject: Re: loaddefs.el on Windows incomplete
Date: Fri, 08 Jul 2005 23:06:09 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Ralf Angeli (2005-07-07) writes:

> Using this for bootstrapping with `mingw32-make bootstrap' from a DOS
> prompt in the nt/ directory I get the following error:
[...]
> Opening output file: invalid argument, 
> d:/software/windows/unix/src/emacs/lisp/D;C:Programmemsysâ˜ș.0 
> oftwarewindowsunix rc←macslisploaddefs.el
> mingw32-make[1]: *** [autoloads] Error -1
> mingw32-make[1]: Leaving directory `D:/software/windows/unix/src/emacs/lisp'
> mingw32-make: *** [bootstrap-gmake] Error 2

Okay, with the following patch (thanks, David, for reminding me of the
technique) I can build Emacs under Windows using mingw32-make (MinGW
4.1.0) with MSYS' (1.0.10) sh.exe either present or not.

2005-07-08  Ralf Angeli  <address@hidden>

        * makefile.w32-in (autoloads): Do not let autoload file name be
        mangled by the shell.


--- makefile.w32-in     4 Jul 2005 23:08:56 -0000       1.44
+++ makefile.w32-in     8 Jul 2005 20:52:06 -0000
@@ -149,11 +149,14 @@
 autoloads: loaddefs.el doit
        @echo Directories: $(WINS)
        $(emacs) -l autoload \
-               --eval $(ARGQUOTE)(setq find-file-hook nil \
-                       find-file-suppress-same-file-warnings t \
-                       generated-autoload-file \
-                         $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) \
-               -f batch-update-autoloads $(lisp) $(WINS)
+               --eval $(ARGQUOTE)(let ((find-file-hook nil) \
+                       (find-file-suppress-same-file-warnings t) \
+                       (generated-autoload-file \
+                         (expand-file-name (pop command-line-args-left)))) \
+                       (mapcar (function update-directory-autoloads) \
+                         command-line-args-left) \
+                       (save-buffers-kill-emacs t))$(ARGQUOTE) \
+               "$(lisp)/loaddefs.el" $(lisp) $(WINS)
 
 subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs


-- 
Ralf





reply via email to

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