From: Eli Zaretskii <eliz@gnu.org>
Cc: storm@cua.dk, emacs-devel@gnu.org, jasonr@gnu.org
Subject: Re: W32 version crashes on C-g
Date: Sun, 19 Mar 2006 00:38:57 +0200 [thread overview]
Message-ID: <u3bhfxtry.fsf@gnu.org> (raw)
In-Reply-To: <87mzfno9e3.fsf@stupidchicken.com> (message from Chong Yidong on Sat, 18 Mar 2006 14:11:48 -0500)
> Cc: Eli Zaretskii <eliz@gnu.org>, "Kim F. Storm" <storm@cua.dk>,
> emacs-devel@gnu.org
> From: Chong Yidong <cyd@stupidchicken.com>
> Date: Sat, 18 Mar 2006 14:11:48 -0500
>
> This is somewhat off-topic, but a long time ago, I posted on
> gnu.emacs.help that a small tweak to a Makefile allows Emacs to
> compile with the version of make that comes with MingW/MSYS, even in
> the MSYS shell:
>
> 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 autoload \
> --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.
This complaint came in a few more times from other users of MSYS.
Further enquiry uncovered the reason: the MSYS runtime would munge
strings which start with "C:" (or "D:" or "E:" etc.) if these were not
the first two characters of a string. That is, "C:/foo something"
would be left alone, but "(setq foo \"C:/foo\")" would be munged.
You will see that in current CVS, lisp/makefile.w32-in avoids
triggering this MSYS bug, albeit in a way that is different from what
you suggested (because what you suggested would break a build outside
the source tree).
So obviously, once the problems are understood, we do try to solve
them, even if they are due to what I firmly believe to be an MSYS
misfeature.
> > It is clear that people will use whatever tools and shells they want
> > to, and we must do our best to make them work and document it. While
> > singling out one toolset to document might make things easier for
> > newcomers, it will also offend a large number of zealots who prefer
> > some other toolset.
>
> We can probably live with a bit of offense.
I don't think a request to have simpler instructions is a good reason
to stop catering to a significant portion of users.
next prev parent reply other threads:[~2006-03-18 22:38 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 10:41 W32 version crashes on C-g Kim F. Storm
2006-03-17 11:46 ` Eric Lilja
2006-03-17 12:07 ` Eli Zaretskii
2006-03-17 12:28 ` Kim F. Storm
2006-03-17 12:32 ` Juanma Barranquero
2006-03-17 14:04 ` Kim F. Storm
2006-03-17 14:20 ` Juanma Barranquero
2006-03-17 14:49 ` Kim F. Storm
2006-03-17 16:07 ` Jason Rumney
2006-03-17 16:08 ` Lennart Borgman
2006-03-18 1:13 ` Kim F. Storm
2006-03-18 7:51 ` Lennart Borgman
2006-03-18 11:29 ` Eli Zaretskii
2006-03-17 16:52 ` Juanma Barranquero
2006-03-17 17:06 ` Drew Adams
2006-03-17 18:00 ` Lennart Borgman
2006-03-17 23:27 ` Juanma Barranquero
2006-03-18 0:01 ` Lennart Borgman
2006-03-18 5:49 ` Juanma Barranquero
2006-03-18 7:48 ` Lennart Borgman
2006-03-18 12:46 ` Juanma Barranquero
2006-03-17 18:30 ` Binaries for W32 (was: W32 version crashes on C-g) Reiner Steib
2006-03-17 18:42 ` Drew Adams
2006-03-17 18:56 ` Lennart Borgman
2006-03-17 18:58 ` Drew Adams
2006-03-20 18:32 ` Drew Adams
2006-03-21 10:29 ` Juanma Barranquero
2006-03-22 15:16 ` Mathias Dahl
2006-03-25 10:15 ` Eli Zaretskii
2006-03-18 1:21 ` W32 version crashes on C-g Kim F. Storm
2006-03-18 6:00 ` Juanma Barranquero
2006-03-18 11:42 ` Eli Zaretskii
2006-03-18 12:45 ` Juanma Barranquero
2006-03-18 15:42 ` Eli Zaretskii
2006-03-18 16:55 ` Juanma Barranquero
2006-03-18 17:59 ` Eli Zaretskii
2006-03-18 20:38 ` Lennart Borgman
2006-03-18 21:42 ` Juanma Barranquero
2006-03-18 20:46 ` Lennart Borgman
2006-03-19 1:32 ` Kim F. Storm
2006-03-21 10:35 ` Juanma Barranquero
2006-03-21 12:43 ` Kim F. Storm
2006-03-21 15:22 ` Juanma Barranquero
2006-03-18 10:52 ` Eli Zaretskii
2006-03-19 1:44 ` Kim F. Storm
2006-03-18 16:23 ` Eli Zaretskii
2006-03-18 17:14 ` Eric Hanchrow
2006-03-18 17:15 ` Chong Yidong
2006-03-18 18:10 ` Eli Zaretskii
2006-03-18 18:59 ` Jason Rumney
2006-03-18 19:11 ` Chong Yidong
2006-03-18 22:38 ` Eli Zaretskii [this message]
2006-03-19 0:46 ` Kim F. Storm
2006-03-18 16:27 ` Eric Hanchrow
2006-03-18 17:56 ` Eli Zaretskii
2006-03-18 16:29 ` Eric Hanchrow
2006-03-18 18:19 ` Eli Zaretskii
2006-03-18 19:04 ` Jason Rumney
2006-03-18 10:40 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2006-03-17 12:58 LENNART BORGMAN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u3bhfxtry.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
--cc=storm@cua.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.