From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: NT mingw/msys build problem
Date: Wed, 27 Oct 2004 11:50:42 +0200 [thread overview]
Message-ID: <00ab01c4bc0a$b0c87ac0$0200a8c0@sedrcw11488> (raw)
In-Reply-To: upt36v1h9.fsf@jasonrumney.net
----- Original Message -----
From: "Jason Rumney" <jasonr@gnu.org>
To: "Guy Gascoigne-Piggford" <guy@wyrdrune.com>
Cc: "Emacs Devel" <emacs-devel@gnu.org>
Sent: Tuesday, October 26, 2004 1:09 AM
Subject: Re: NT mingw/msys build problem
: Guy Gascoigne-Piggford <guy@wyrdrune.com> writes:
:
: > Hmm, when I try doing a "make SHELL=cmd.exe" all I get is make hanging
: > indefinately. If I try to rename the msys /bin/sh.exe and just run
: > make then I get a slew of errors about /bin/sh not existing and then
: > make exits.
:
: I seem to recall that when I installed msys, it installed its own
: version of make and renamed the previous copy as mingw-make. I renamed
: it back, since it seems to be more reliable (but still requires the
: SHELL=cmd.exe argument).
I do not know how make works, but I can't avoid the hang when MSYS sh.exe is
in the path. The hang is caused by $(shell echo) in the make file. This does
not return since it runs "cmd echo" and that starts a new shell without
doing "echo". Actually it is bad syntax. The syntax for cmd is
CMD [/X | /Y] [/A | /U] [/Q] [[/C | /K] string]
You have to supply /C or /K for the string command to be carried out. (At
least this is the syntax on NT4 and I believe it has not changed.)
I do not understand why the test is made. It seems like make has found sh
already but it still wonders something about "shell". Why does make do that?
It still makes the test even if SHELL=cmd.exe is given as a parameter.
I do not believe that everything can be done from with cmd.exe as the shell.
The problem that Guy found with
"./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l
autoload \
--eval '(setq find-file-hooks nil \
find-file-suppress-same-file-warnings t \
generated-autoload-file \
"c:/dev/emacs-src/emacs/lisp/loaddefs.el")' ...
can not be resolved unless this is rewritten in some way. cmd.exe can't
handle the parameters. The eval must be put in some temporary file that is
loaded with " -load temporary-file" to solve this. Can this be done? Does
make support doing this?
So at the moment there is actually no other way to build Emacs on ms windows
than using Cygwin as far as I can see. (And that might not be an option for
all since it is a rather big download if I remember correctly.) Both MSYS
and CMD.EXE fails because of parameter problems. (There might be some other
shell for ms windows available that solves this problem but I am not aware
of it. Someone knows?)
- Lennart
next prev parent reply other threads:[~2004-10-27 9:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 8:28 NT mingw/msys build problem Guy Gascoigne-Piggford
2004-10-25 9:15 ` Jason Rumney
2004-10-25 22:41 ` Guy Gascoigne-Piggford
2004-10-25 23:09 ` Jason Rumney
2004-10-27 9:50 ` Lennart Borgman [this message]
2004-10-27 10:21 ` Lennart Borgman
2004-10-27 10:43 ` Jason Rumney
2004-10-27 19:16 ` Lennart Borgman
2004-10-25 16:00 ` Lennart Borgman
2004-10-26 18:11 ` Guy Gascoigne - Piggford
-- strict thread matches above, loose matches on Subject: below --
2004-10-26 1:07 Fred Kunz
2004-10-26 1:15 Fred Kunz
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='00ab01c4bc0a$b0c87ac0$0200a8c0@sedrcw11488' \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
/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.