emacs-devel
[Top][All Lists]
Advanced

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

Re: Add a configure option for NATIVE_FULL_AOT?


From: Andrea Corallo
Subject: Re: Add a configure option for NATIVE_FULL_AOT?
Date: Wed, 18 Aug 2021 19:43:37 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Wed, 18 Aug 2021 19:00:20 +0200
>> From: tomas@tuxteam.de
>> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
>> 
>> Oh, so the .elc file is not searched directly. First, an .el file is
>> searched, and then, based on its path a corresponding .elc file is
>> found (or jit-made)?
>
> No.  If there's no .eln for the file you load/require, Emacs will try
> to load the .elc, and if that fails, will load the .el.  In any case,
> if there's no .eln, Emacs will start a native-compilation in the
> background, and will load the .eln file when it is ready, replacing
> the .el/.elc.

Just to touch on this.  ATM we do start a native-compilation only when
we load a .elc for which no .eln is found.  The same for the .el files
is not enabled.  I guess the main reason is that we would loose the
ability to step but I suspect wouldn't be the only drawback.

  Andrea



reply via email to

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