GNU bug report logs -
#8373
why not give user an extra variable when compile emacs under windows?
Previous Next
Reported by: Xu Jingtao <jingtaozf <at> gmail.com>
Date: Tue, 29 Mar 2011 16:30:04 UTC
Severity: wishlist
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8373 in the body.
You can then email your comments to 8373 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8373
; Package
emacs
.
(Tue, 29 Mar 2011 16:30:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Xu Jingtao <jingtaozf <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 29 Mar 2011 16:30:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
hi emacs:
When compile emacs under windows, i want to specify some gcc flags like this:
==============================================================
call configure.bat --cflags -DSITELOAD_PURESIZE_EXTRA=10000
==============================================================
But under windows os,the "=" is treated as white space when passed to batch arguments.
So I have to modify this gcc definition in emacs's source tree which is not my pleasure.
Why not give user an extra variable when compile emacs under windows?
For example, named as "LOCAL_FLAGS_WIN",
so i could set this before call configure.bat like this
==============================================================
set LOCAL_FLAGS_WIN=-DSITELOAD_PURESIZE_EXTRA=10000
call configure.bat
==============================================================
and nt/makefile in emacs source tree is modified to support this variable.
==============================================================
CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) $(LOCAL_FLAGS_WIN)
==============================================================
best regards.
jingtao
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8373
; Package
emacs,w32
.
(Tue, 29 Mar 2011 18:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 8373 <at> debbugs.gnu.org (full text, mbox):
On Tue, Mar 29, 2011 at 16:45, Xu Jingtao <jingtaozf <at> gmail.com> wrote:
> But under windows os,the "=" is treated as white space when passed to batch arguments.
> So I have to modify this gcc definition in emacs's source tree which is not my pleasure.
> Why not give user an extra variable when compile emacs under windows?
I think the proper fix would be finding a way to pass arguments
containing "=" to configure.bat. That might prove difficult, though,
at least with command.com.
Juanma
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8373
; Package
emacs,w32
.
(Wed, 30 Mar 2011 02:56:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 8373 <at> debbugs.gnu.org (full text, mbox):
parse "=" in dos batch script is very difficult,
because dos batch has poor native string process commands as i could see.
I think the easy fix would be writing an extra console commands parsing command line
or give user an extra variable to set the cflags as i have mentioned.
Best regards.
Jingtao
> On Tue, Mar 29, 2011 at 16:45, Xu Jingtao <jingtaozf <at> gmail.com> wrote:
>
> > But under windows os,the "=" is treated as white space when passed to batch arguments.
> > So I have to modify this gcc definition in emacs's source tree which is not my pleasure.
> > Why not give user an extra variable when compile emacs under windows?
>
> I think the proper fix would be finding a way to pass arguments
> containing "=" to configure.bat. That might prove difficult, though,
> at least with command.com.
>
> Juanma
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#8373
; Package
emacs,w32
.
(Sun, 24 Apr 2011 00:21:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 8373 <at> debbugs.gnu.org (full text, mbox):
Xu Jingtao <jingtaozf <at> gmail.com> writes:
> When compile emacs under windows, i want to specify some gcc flags like this:
> ==============================================================
> call configure.bat --cflags -DSITELOAD_PURESIZE_EXTRA=10000
> ==============================================================
>
> But under windows os,the "=" is treated as white space when passed to
> batch arguments. So I have to modify this gcc definition in emacs's
> source tree which is not my pleasure. Why not give user an extra
> variable when compile emacs under windows?
With Ben Key's 2011-04-15 to trunk, the "=" character is supported in
configure.bat, so this should now be unnecessary, I believe.
bug closed, send any further explanations to
8373 <at> debbugs.gnu.org and Xu Jingtao <jingtaozf <at> gmail.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Sun, 24 Apr 2011 00:21:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 8373-done <at> debbugs.gnu.org (full text, mbox):
> From: Chong Yidong <cyd <at> stupidchicken.com>
> Date: Sat, 23 Apr 2011 20:20:35 -0400
> Cc: 8373 <at> debbugs.gnu.org
>
> With Ben Key's 2011-04-15 to trunk, the "=" character is supported in
> configure.bat, so this should now be unnecessary, I believe.
Indeed. This bug can be closed now.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 22 May 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.