From: Eli Zaretskii <eliz@gnu.org>
To: Ben Key <bkey76@gmail.com>
Cc: cschol2112@googlemail.com, Emacs-devel@gnu.org
Subject: Re: Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL)
Date: Fri, 06 May 2011 10:37:01 +0300 [thread overview]
Message-ID: <837ha4mg9u.fsf@gnu.org> (raw)
In-Reply-To: <BANLkTi=tdFMkpKx4RdjYQyEB0eJBu8tH=g@mail.gmail.com>
> From: Ben Key <bkey76@gmail.com>
> Date: Fri, 6 May 2011 00:39:09 -0500
> Cc: Eli Zaretskii <eliz@gnu.org>, Emacs-devel@gnu.org
>
> I do have sh.exe in my path. And it turns out mingw32-make does use
> sh if it is available.
Yes, by design.
> Now, as for your suggestion to simply escape the quotes in the flag
> arguments, that would be possible, but it would only work if sh is not being
> used.
>
> So now I need to come up with a fix that will work for both sh and cmd.
One way is to split the bootstrap-temacs target into two: one for cmd,
the other for sh. We have already a few examples of that in the
Windows makefiles, they use the SHELLTYPE variable. Here's an
example:
buildobj.h: $(SRC)/makefile.w32-in
$(MAKE) $(MFLAGS) make-buildobj-$(SHELLTYPE)
make-buildobj-CMD:
echo #define BUILDOBJ ^"\> buildobj.h
echo $(OBJ0) \>> buildobj.h
echo $(OBJ1) \>> buildobj.h
echo $(OBJ2) \>> buildobj.h
echo ^">> buildobj.h
make-buildobj-SH:
echo '#define BUILDOBJ $(DQUOTE)\' > buildobj.h
echo $(OBJ0) '\' >> buildobj.h
echo $(OBJ1) '\' >> buildobj.h
echo $(OBJ2) '\' >> buildobj.h
echo '$(DQUOTE)' >> buildobj.h
next prev parent reply other threads:[~2011-05-06 7:37 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 23:35 Proposed change to nt/INSTALL Ben Key
2011-05-05 0:54 ` Ben Key
2011-05-05 5:08 ` Bootstrap failure with new configure.bat (was Re: Proposed change to nt/INSTALL) Christoph Scholtes
2011-05-05 10:34 ` Eli Zaretskii
2011-05-05 12:34 ` Christoph Scholtes
2011-05-05 16:38 ` Ben Key
2011-05-05 16:44 ` Juanma Barranquero
2011-05-05 17:01 ` Eli Zaretskii
2011-05-05 19:07 ` Ben Key
2011-05-05 20:29 ` Eli Zaretskii
2011-05-05 23:31 ` Christoph Scholtes
2011-05-06 3:28 ` Christoph Scholtes
2011-05-06 5:39 ` Ben Key
2011-05-06 7:37 ` Eli Zaretskii [this message]
2011-05-06 13:23 ` Stefan Monnier
2011-05-06 15:08 ` Eli Zaretskii
2011-05-06 22:54 ` Christoph Scholtes
2011-05-07 7:53 ` Eli Zaretskii
2011-05-06 23:19 ` Ben Key
2011-05-06 23:44 ` Christoph Scholtes
2011-05-07 4:13 ` Ben Key
2011-05-07 8:07 ` Eli Zaretskii
2011-05-07 14:24 ` Christoph Scholtes
2011-05-05 1:18 ` Proposed change to nt/INSTALL Juanma Barranquero
2011-05-05 1:47 ` Ben Key
2011-05-05 2:05 ` Juanma Barranquero
2011-05-05 3:01 ` Eli Zaretskii
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=837ha4mg9u.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=Emacs-devel@gnu.org \
--cc=bkey76@gmail.com \
--cc=cschol2112@googlemail.com \
/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.