emacs-devel
[Top][All Lists]
Advanced

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

Re: Speeding up the bootstrap build - a quick hack.


From: Stefan Monnier
Subject: Re: Speeding up the bootstrap build - a quick hack.
Date: Tue, 18 Jan 2022 09:24:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> So if you ensured that the native compiler files were built before
> that problematic .elc, then things would be ok?

The problem is that you need one rule

    bytecomp.elc: bytecomp.el
        ELC ...

to build the byte-compiled compiler, and then another rule:

    bytecomp.elc: bytecomp.el bytecomp.elc comp.elc macroexp.elc cconv.elc ...
        ELC+ELN ...

to build the native compiled compiler using the byte-compiled compiler
(which is much faster than the interpreted compiler).

In an ideal world the second rule would not have `bytecomp.elc` as its
target but would have something like `bytecomp.eln` instead, but we have
not yet been able to teach Make how to compute the name of the generated
`.eln` file (it's not just `bytecomp.eln` but includes some hash of the
Emacs binary).


        Stefan




reply via email to

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