From: Eli Zaretskii <eliz@gnu.org>
To: Ben Key <bkey76@gmail.com>
Cc: Emacs-devel@gnu.org
Subject: Re: Supporting parameters that include the = character in configure.bat
Date: Thu, 14 Apr 2011 01:11:47 -0400 [thread overview]
Message-ID: <E1QAEqJ-0002pC-UT@fencepost.gnu.org> (raw)
In-Reply-To: <BANLkTi==P=RKhTjyadH5VF6=OHaP=fgjrQ@mail.gmail.com> (message from Ben Key on Wed, 13 Apr 2011 18:17:29 -0500)
> From: Ben Key <bkey76@gmail.com>
> Date: Wed, 13 Apr 2011 18:17:29 -0500
> Cc: Emacs-devel@gnu.org
>
> The following is my first attempt at rewriting the section in nt/INSTALL
> that used to warn against using quotes, backslashes and equal signs. Be
> forewarned that writing documentation is not one of my strong points.
Thanks. I suggest a slight rewording as follows:
Because of limitations of the stock Windows command shells, special
care is needed to pass some characters in the arguments of the
--cflags and --ldflags options. Backslashes should not be used in
file names passed to the compiler and linker via these options. Use
forward slashes instead. If the arguments to these two options
include the `=' character, like when passing a -DFOO=bar preprocessor
option, the argument with the `=' character should be enclosed in
quotes, like this:
configure --cflags "-DFOO=bar"
Support for options that include the `=' character require "command
extensions" to be enabled. (They are enabled by default, but your
system administrator could have changed that. See "cmd /?" for
details.) If command extensions are disabled, a warning message might
be displayed informing you that "using parameters that include the =
character by enclosing them in quotes will not be supported."
> Also, I need to know if the following comments in configure.bat are still
> valid.
>
> Rem WARNING -- COMMAND.COM on some systems only looks at the first
> Rem 8 characters of a label. So do NOT be tempted to change
> Rem chkapi* into something fancier like checkw32api
> Rem You HAVE been warned!
You can delete that warning. You can also delete the parts of the
batch file which probe the environment for enough space, that problem
is also specific to command.com. But please make these two changes a
separate commit, because they are unrelated to the issue of passing
options with the `=' characters.
> I would like to know if I can safely use labels that are longer than 8
> characters now.
Yes, you can. But don't feel compelled to do that if you don't have
to ;-)
Thanks again for working on this.
next prev parent reply other threads:[~2011-04-14 5:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-10 7:51 Supporting parameters that include the = character in configure.bat Ben Key
2011-04-10 8:14 ` Eli Zaretskii
2011-04-10 8:46 ` Ben Key
2011-04-10 9:49 ` Eli Zaretskii
[not found] ` <BANLkTi=QekwZQLVSoMFE0sTO+RRGAGackQ@mail.gmail.com>
2011-04-10 16:36 ` Eli Zaretskii
2011-04-12 0:17 ` Ben Key
2011-04-12 2:41 ` Ben Key
2011-04-12 5:08 ` Eli Zaretskii
2011-04-13 23:17 ` Ben Key
2011-04-14 5:11 ` Eli Zaretskii [this message]
2011-04-14 10:38 ` Juanma Barranquero
2011-04-15 0:56 ` Ben Key
2011-04-15 9:45 ` Eli Zaretskii
2011-04-12 2:48 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1QAEqJ-0002pC-UT@fencepost.gnu.org \
--to=eliz@gnu.org \
--cc=Emacs-devel@gnu.org \
--cc=bkey76@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).