unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8373: why not give user an extra variable when compile emacs under windows?
@ 2011-03-29 14:45 Xu Jingtao
  2011-03-29 18:05 ` Juanma Barranquero
  2011-04-24  0:20 ` Chong Yidong
  0 siblings, 2 replies; 4+ messages in thread
From: Xu Jingtao @ 2011-03-29 14:45 UTC (permalink / raw)
  To: 8373

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









^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-24  0:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 14:45 bug#8373: why not give user an extra variable when compile emacs under windows? Xu Jingtao
2011-03-29 18:05 ` Juanma Barranquero
2011-03-30  2:09   ` Xu Jingtao
2011-04-24  0:20 ` Chong Yidong

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).