emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap compiles C files twice


From: Stefan Monnier
Subject: Re: bootstrap compiles C files twice
Date: Tue, 03 Jun 2008 01:26:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]