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: Thu, 19 Aug 2021 07:52:34 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, tomas@tuxteam.de,
>>         emacs-devel@gnu.org
>> Date: Wed, 18 Aug 2021 19:44:20 +0000
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> The way the .eln file naming has been designed is for the .eln files to
>> >> be "transparent", i.e. Emacs first looks for a `.elc` or `.el` file and 
>> >> once
>> >> it finds it, it looks for the corresponding `.eln` file.
>> >
>> > I think it actually requires to see the .el file, otherwise it won't
>> > load the .eln file.  The .elc file is not enough.  Andrea, am I right?
>> 
>> That is correct.
>
> So, something to consider for the distros which want to distribute the
> *.eln files: users who want to use those *.eln files will need to also
> install the *.el files.
>
> And if the *.el files aren't installed, I think comp.el will complain
> each time a .elc file is loaded, saying it couldn't use the .eln, is
> that right?

Correct, we have a warning for that
(`native-comp-warning-on-missing-source').

  Andrea



reply via email to

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