Hi,

I was thinking of looking into this and found to my surprise that

/Applications/Emacs.app/Contents/MacOS/Emacs -nw

now works on my machine (a Macbook Pro).  It never worked on my G5 and
I suspect it still doesn't.  I'd appreciate it if some of you could
try out the -nw option and report whether it succeeds or not, and what
type of machine you have.

Note -nw has always worked in temacs (undumped version).  A related
issue I've been wondering about for a while is the extremely large
size of the dumped emacs binary.  It is 24 MB, whereas Carbon versions
are around half that.  I thought at first to blame it on Cocoa /
Objective-C, but no GUI stuff is really loaded during the dump phase,
and indeed the reported size of the "__OBJC" segment is quite small,
only 8K or so.

unexmacosx prints out a lot of info, and I also tried looking at the
code, but the only thing I could discern was that two large (8 MB)
__DATA segments are written.  I am not sure what these are.  Comments
in unexnext.c (still in the tree after all these years) allude to the
idea that an entire malloc zone might be dumped when only part of it
is filled, but unexmacosx seems to contain code to deal with this
specific issue.  (Incidentally I actually tried unexnext -- written by
a guy *at* NeXT after all -- and it generated a 35 MB file which
crashed on startup.)

Anyway, if anyone has an interest in looking into this, let me know.


-Adrian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to