all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dhruva Krishnamurthy <Dhruva.Krishnamurthy@in.bosch.com>
Subject: Re: Using undumped Emacs
Date: Wed, 09 Mar 2005 09:16:31 +0530	[thread overview]
Message-ID: <yf8zmxdzdk8.fsf@rayserv.ban.in.bosch.com> (raw)
In-Reply-To: d0lljc$nq7$1@reader1.panix.com

>>>>> On Wed, 9 Mar 2005 02:04:28 +0000 (UTC), dkcombs@panix.com (David Combs) said:

dc> In article <7ezmy1bh71.fsf@ada2.unipv.it>,
dc> Thien-Thi Nguyen  <ttn@glug.org> wrote:
>> Greg <greg@nospam.org> writes:
>> 
>>> I do: ./temacs -l loadup
>> 
>> you can try:
>> 
>> TERM=vt100 ; ./temacs -l loadup
>> 
>> this is not optimal but if you are inclined, it makes further debugging
>> easier.  under vms, for example, i always specify "vt100" while running
>> undumped emacs.

dc> What is an "umdumped" emacs?

I am making an attempt to explain one of the most complex part in emacs build,
I request the emacs gurus to correct me if I am wrong.

I am assuming that you have not built emacs from sources.

When you build emacs from source, it first makes a bare emacs binary with out
any lisp code loaded or embedded in it. You might be aware that pure emacs
with no elisp code is dumb in terms of an editor or a useful application.

The next phase in the build it to run this raw or pure or undumped emacs
called temacs (.exe on Win32 platform) by loading the elisp files which are
absolutely necessary using the "-l loadup" option. There is a "loadup.el"
which has all the other lisp code that needs to be loaded to get a
useful/working emacs. When this happens, the running temacs process will load
all the required elisp code.

The final phase is to dump that memory contents of temacs with elisp code
loaded into another executable called "emacs" (.exe on Win32). This new
executable will have all the necessary elisp code in the executable and hence
will be much faster at startup than running "./temacs -loadup". This phase of
dumping the temacs process into an emacs executable is _most_ system
dependent. XEmacs has done some progress in generalizing this concept.

I hope I have conveyed the facts (this is to the best of my knowledge).

-dhruva

-- 
Name : Dhruva Krishnamurthy (dk)
Phone: +91-(0)80-22999190
Proud FSF member: #1935

  reply	other threads:[~2005-03-09  3:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-18  6:54 Using undumped Emacs Greg
2005-02-18 23:07 ` Thien-Thi Nguyen
2005-02-18 18:35   ` Greg
2005-02-19  9:14     ` Thien-Thi Nguyen
2005-02-19 10:59     ` Eli Zaretskii
     [not found]     ` <mailman.633.1108812320.32256.help-gnu-emacs@gnu.org>
2005-02-19 18:55       ` rgb
2005-03-09  2:04   ` David Combs
2005-03-09  3:46     ` Dhruva Krishnamurthy [this message]
2005-03-09  9:13     ` Thien-Thi Nguyen
2005-02-22 14:35 ` Stefan Monnier
2005-02-21  7:33   ` Greg
2005-02-21  7:35   ` Greg

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=yf8zmxdzdk8.fsf@rayserv.ban.in.bosch.com \
    --to=dhruva.krishnamurthy@in.bosch.com \
    /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.