From: Ken Raeburn <raeburn@raeburn.org>
To: CHENG Gao <chenggao@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: emacsclient 22 and 23 incompatibility
Date: Sat, 1 Aug 2009 18:18:56 -0400 [thread overview]
Message-ID: <7EDB7632-9A74-420D-AA98-48931020D382@raeburn.org> (raw)
In-Reply-To: <m21vnvl30i.fsf@cyberhut.org>
On Aug 1, 2009, at 15:58, CHENG Gao wrote:
> Apple's original installation of emacs 22 has (in /usr/bin):
>
> ,----
> | -r-xr-xr-x 1 root wheel 38544 2 6 2008 emacs
> | -rwxr-xr-x 1 root wheel 13072480 12 17 2008 emacs-i386
> | -rwxr-xr-x 1 root wheel 5301856 11 25 2008 emacs-undumped
> `----
> Does this mean:
> the first emacs is dumped? How could it be so small?
% strings emacs
/usr/libexec/dumpemacs
Failed to dump emacs
/usr/bin/emacs-i386
execv(%s) failed
[...]
So I'm thinking Apple's "emacs" program doesn't come out of the normal
GNU Emacs build process (or sources) at all, but does its own thing,
which may involved dumping after installation. If the dumped version
is available as emacs-i386, then Apple's "emacs" will run it. (If you
fire up emacs and run "ps", you'll see the process listed as "emacs",
but if you run "lsof" on it, you'll see the text image comes from
emacs-i386.)
% file emacs-undumped emacs-i386
emacs-undumped: Mach-O universal binary with 2 architectures
emacs-undumped (for architecture i386): Mach-O executable i386
emacs-undumped (for architecture ppc7400): Mach-O executable ppc
emacs-i386: Mach-O executable i386
%
So "emacs-undumped" is probably a "universal" binary version of src/
temacs, which normally would never be installed, and "emacs-i386" is
probably the dumped version, with only the native architecture
support. Though, how it could still be so much larger than both the
pre-dumped version (divided roughly in half, remember, for the i386
portion only) and the emacs-23 binaries you built, I don't know.
Ken
next prev parent reply other threads:[~2009-08-01 22:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-01 8:25 emacsclient 22 and 23 incompatibility David Reitter
2009-08-01 10:55 ` David Kastrup
2009-08-01 11:04 ` David Reitter
2009-08-01 19:18 ` Christian Lynbech
2009-08-01 19:58 ` CHENG Gao
2009-08-01 22:18 ` Ken Raeburn [this message]
2009-08-02 6:52 ` CHENG Gao
2009-08-02 19:24 ` David Reitter
2009-08-02 21:20 ` Leo
2009-08-03 7:29 ` Vagn Johansen
2009-08-03 9:41 ` Leo
2009-08-03 15:14 ` Vagn Johansen
2009-08-07 16:22 ` Ian Eure
2009-08-03 10:15 ` Christoph Conrad
2009-08-03 10:47 ` Leo
2009-08-03 12:47 ` Christoph Conrad
2009-08-03 13:10 ` Leo
2009-08-04 0:23 ` YAMAMOTO Mitsuharu
2009-08-04 17:00 ` Stefan Monnier
2009-08-01 20:33 ` Gilaras Drakeson
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=7EDB7632-9A74-420D-AA98-48931020D382@raeburn.org \
--to=raeburn@raeburn.org \
--cc=chenggao@gmail.com \
--cc=emacs-devel@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 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.