* 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 <[EMAIL PROTECTED]>
* 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
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug