unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: bootstrap compiles C files twice
Date: Tue, 03 Jun 2008 01:26:23 -0400	[thread overview]
Message-ID: <jwvr6bft7mu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <g4iqwrgq6w.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 02 Jun 2008 23:20:07 -0400")

> Can anyone explain why `mostlyclean' is called after compiling the
> lisp files? Things seem to work fine (and obviously more quickly)
> without doing this.

I do not have an answer for that.  I was also surprised when this was
done (when I originally worked on the bootstrap code to remove the .elc
files from the CVS repository, I didn't force regeneration of the .o
and temacs file and I cannot remember any bug report about it).

But recently someone mentioned the issue of cross-compiling and in this
context it makes sense: the bootstrap-emacs (and its temacs) should be
compiled for the host platform so we can generate the .elc files, and
then the final `emacs' (and its `temacs') need to be compiled for the
target platform.

Not that cross-compiling is a common occurrence (it's definitely not
supported out-of-the-box for example).


        Stefan "who rarely bootstraps anyway"




  reply	other threads:[~2008-06-03  5:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03  3:20 bootstrap compiles C files twice Glenn Morris
2008-06-03  5:26 ` Stefan Monnier [this message]
2008-06-03 16:14   ` Dan Nicolaescu
2008-06-03  7:55 ` Jason Rumney
2008-06-03 18:26   ` Eli Zaretskii
2008-06-03 18:40     ` Glenn Morris
2008-06-03 19:16       ` Glenn Morris
2008-06-03 20:23       ` Eli Zaretskii
2008-06-03 20:52         ` Dan Nicolaescu
2008-06-04  3:06           ` Eli Zaretskii
2008-06-04  3:14             ` Dan Nicolaescu
2008-06-04  3:57             ` Stefan Monnier
2008-06-04 18:50               ` Eli Zaretskii
2008-06-03 22:18         ` Glenn Morris
2008-06-04  3:15           ` Eli Zaretskii
2008-06-04 19:20             ` Glenn Morris
2008-06-05  3:12               ` Eli Zaretskii
2008-06-05 19:29                 ` Glenn Morris
2008-06-06  9:39                   ` Eli Zaretskii

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=jwvr6bft7mu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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).