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: Eli Zaretskii
Subject: Re: Add a configure option for NATIVE_FULL_AOT?
Date: Wed, 18 Aug 2021 20:17:17 +0300

> 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.

All this is by default, of course; you can disable the JIT
compilation, and you can disable loading the .eln file after the JIT
compilation.  And you can do other things ;-)

> In that case, the "distribution model" would "Just Work"?

Famous last words.



reply via email to

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