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 13:40:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Is this .elc0 trick just to avoid the ELC+ELN compilation of
> COMPILE_FIRST, and instead first compile them only to .elc and then
> compile again to .elc + .eln?

Yes.

> If so, why not use no-native-compile to disable the ELN part?  Since
> compile-first is called from src/Makefile, as part of building
> bootstrap-emacs, you can do that in the commands there.

But we also want to native-compile those files (after we've
byte-compiled them), so we do need two different targets.
Those should ideally be `.elc` first and `.eln` later, but we currently
don't know how to make that work, so Alan suggests to use `.elc0` first
and `.elc` later.


        Stefan




reply via email to

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