all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compiling NTEmacs
@ 2005-01-08  6:26 Chong Yidong
  2005-01-08 10:28 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2005-01-08  6:26 UTC (permalink / raw)


I get an error when compiling Emacs 21.3 on Windows 2000, using
Mingw's gcc.exe and mingw32-make.exe (renamed to make.exe):

"./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte
-l autoloa
d \
        --eval "(setq find-file-hook nil \
                find-file-suppress-same-file-warnings t \
                generated-autoload-file \
                  \"C:/home/emacs/lisp/loaddefs.el\")" \
        -f batch-update-autoloads "C:/home/emacs/lisp"
Wrote c:/home/emacs/lisp/C;c:home.macslisploaddefs.el
Loading vc-cvs (source)...
Wrote c:/home/emacs/lisp/C;c:home?macslisploaddefs.el
Autoloads file c:/home/emacs/lisp/C;c:home.macslisploaddefs.el does
not exist
make: *** [all] Error -1

The problem seems to be that either emacs.exe or cmd (the Windows
command shell) munges the ":" character, even when it is enclosed by
quotation marks. If I edit the Makefile by hand to eliminate the
colon, i.e.,

                  \"./loaddefs.el\")" \

then the compilation succeeds. However, I haven't figured out whether
this is a bug in the Makefile or my system setup. The problem also
exists for the current CVS sources.

Anyone seen this before? Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling NTEmacs
  2005-01-08  6:26 Compiling NTEmacs Chong Yidong
@ 2005-01-08 10:28 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2005-01-08 10:28 UTC (permalink / raw)


> From: Chong Yidong <cyd@physics.stanford.edu>
> Date: 07 Jan 2005 22:26:15 -0800
> 
> I get an error when compiling Emacs 21.3 on Windows 2000, using
> Mingw's gcc.exe and mingw32-make.exe (renamed to make.exe):
> 
> "./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte
> -l autoloa
> d \
>         --eval "(setq find-file-hook nil \
>                 find-file-suppress-same-file-warnings t \
>                 generated-autoload-file \
>                   \"C:/home/emacs/lisp/loaddefs.el\")" \
>         -f batch-update-autoloads "C:/home/emacs/lisp"
> Wrote c:/home/emacs/lisp/C;c:home.macslisploaddefs.el
> Loading vc-cvs (source)...
> Wrote c:/home/emacs/lisp/C;c:home?macslisploaddefs.el
> Autoloads file c:/home/emacs/lisp/C;c:home.macslisploaddefs.el does
> not exist
> make: *** [all] Error -1
> 
> The problem seems to be that either emacs.exe or cmd (the Windows
> command shell) munges the ":" character, even when it is enclosed by
> quotation marks. If I edit the Makefile by hand to eliminate the
> colon, i.e.,
> 
>                   \"./loaddefs.el\")" \
> 
> then the compilation succeeds.

I'd rather guess that the problem is either with the ported Make you
are using or with some code/program somewhere that converts forward
slashes into backslashes (which are then interpreted by Emacs as
escapes).

If you have a ported Bash, and Make is using it, that also could be
the reason.

Bottom line, I'd suggest to make changes in your development tools.
The file nt/INSTALL lists the combinations of Make and shell that are
known to work; try to stick to one of those.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-08 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08  6:26 Compiling NTEmacs Chong Yidong
2005-01-08 10:28 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.