From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Yavor Doganov <yavor@gnu.org>, rms <rms@gnu.org>,
richardeng <richardeng@foxmail.com>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: Emacs on GNUstep
Date: Mon, 04 May 2009 17:16:49 +0900 [thread overview]
Message-ID: <wlhc01qo3y.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <jwv63gic72p.fsf-monnier+emacs@gnu.org>
>>>>> On Sun, 03 May 2009 15:38:49 -0400, Stefan Monnier <monnier@iro.umontreal.ca> said:
>> I just tried copying ObjC-related information in the .data section
>> not from the dumping process but from the original temacs file so
>> as to avoid some confusion during the startup time of the dumped
>> executable. It seems to work for me at least on GNU/Linux (Ubuntu
>> 9.04).
> Great news, thank you. I'll try it out as soon as possible. If you
> wrap it in appropriate #ifdef, you can install it on the trunk (and
> please add a comment indicating that the ifdef shouldn't be
> necessary anyway). Of course, remove the CANNOT_DUMP setting for
> GNUStep at the same.
We can't simply remove CANNOT_DUMP because dumping requires unexelf.c
currently. The macro __ELF__ cannot be used here because it doesn't
necessarily imply the use of unexelf.c (e.g., Solaris 10).
How about the patch below? I also removed UNEXEC_SRC because it is no
longer used anywhere.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.594
diff -c -p -r1.594 configure.in
*** configure.in 1 May 2009 15:32:01 -0000 1.594
--- configure.in 4 May 2009 07:59:51 -0000
*************** AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C
*** 2536,2543 ****
HAVE_X_WINDOWS above and your X include files aren't in a place
that your compiler can find on its own, you might want to add
"-I/..." or something similar.])
! AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC},
! [Define to the unexec source file name.])
if test "${HAVE_X_WINDOWS}" = "yes" ; then
AC_DEFINE(HAVE_X_WINDOWS, 1,
--- 2536,2546 ----
HAVE_X_WINDOWS above and your X include files aren't in a place
that your compiler can find on its own, you might want to add
"-I/..." or something similar.])
! case "${unexec}" in
! unexelf.o)
! AC_DEFINE(UNEXEC_SUPPORT_OBJC, 1, [Define to 1 if unexec supports ObjC.])
! ;;
! esac
if test "${HAVE_X_WINDOWS}" = "yes" ; then
AC_DEFINE(HAVE_X_WINDOWS, 1,
*************** AH_BOTTOM([
*** 2607,2614 ****
#define HAVE_MOUSE
#endif
! /* Sadly for now, GNUstep dump does not work. */
! #ifdef NS_IMPL_GNUSTEP
#define CANNOT_DUMP
#endif
--- 2610,2617 ----
#define HAVE_MOUSE
#endif
! /* Sadly for now, GNUstep dump does not work with all unexecs. */
! #if defined (NS_IMPL_GNUSTEP) && !defined (UNEXEC_SUPPORT_OBJC)
#define CANNOT_DUMP
#endif
next prev parent reply other threads:[~2009-05-04 8:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 2:43 Release update Chong Yidong
2008-12-04 17:08 ` Yavor Doganov
2008-12-04 18:50 ` Ted Zlatanov
2008-12-04 19:29 ` Chong Yidong
2008-12-04 19:46 ` Ted Zlatanov
2008-12-04 22:55 ` Adrian Robert
2008-12-08 16:42 ` Ted Zlatanov
2008-12-05 2:12 ` Randal L. Schwartz
2008-12-05 2:44 ` Randal L. Schwartz
2008-12-04 19:43 ` Stefan Monnier
2008-12-04 19:45 ` Dan Nicolaescu
2008-12-05 12:08 ` Richard M Stallman
2008-12-05 12:44 ` richardeng
2008-12-05 15:49 ` Emacs on GNUstep (was: Release update) Stefan Monnier
2008-12-06 4:44 ` Stephen J. Turnbull
2008-12-06 6:59 ` richardeng
2008-12-06 7:54 ` Stephen J. Turnbull
2008-12-06 16:05 ` richardeng
2008-12-06 17:22 ` Emacs on GNUstep Chong Yidong
2009-05-02 6:28 ` Emacs on GNUstep (was: Release update) YAMAMOTO Mitsuharu
2009-05-03 19:38 ` Emacs on GNUstep Stefan Monnier
2009-05-04 8:16 ` YAMAMOTO Mitsuharu [this message]
2009-05-04 13:45 ` Stefan Monnier
2009-05-06 2:36 ` YAMAMOTO Mitsuharu
2009-05-06 14:18 ` Stefan Monnier
2009-05-03 22:45 ` Emacs on GNUstep (was: Release update) Yavor Doganov
2009-05-04 8:47 ` YAMAMOTO Mitsuharu
2008-12-04 19:51 ` Release update Dan Nicolaescu
2008-12-04 21:43 ` Chong Yidong
2008-12-04 22:27 ` Dan Nicolaescu
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=wlhc01qo3y.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=richardeng@foxmail.com \
--cc=rms@gnu.org \
--cc=yavor@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 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).