[Top][All Lists]

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

Re: Add a configure option for NATIVE_FULL_AOT?

From: Ulrich Mueller
Subject: Re: Add a configure option for NATIVE_FULL_AOT?
Date: Tue, 17 Aug 2021 13:56:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

>>>>> On Tue, 17 Aug 2021, Eli Zaretskii wrote:

>> From: Ulrich Mueller <ulm@gentoo.org>
>> Date: Tue, 17 Aug 2021 10:53:01 +0200
>> lisp/Makefile.in has a conditional for NATIVE_FULL_AOT which enables
>> native compilation of all elisp files. Presumably distros would want to
>> define this when packaging Emacs.

> Why would you want to do that?  It's in a sense against the original
> intent: Lisp files should only be natively-compiled when they are
> first needed, and stored under the user's home directory.  Otherwise,
> you will litter the system-wide directories with a lot of quite large
> binary files, which doesn't seem to be a good idea.

Storing them in users' home directories also means that every user has
to recompile them, and they will be present multiple times on the

>> AFAICS this variable is not documented. I wonder if it could be made a
>> configure option, so a) it would be discoverable and b) its value would
>> be recorded in system-configuration-options.

> It's not documented precisely because I'm not sure it should be.

> I'd be interested to hear your motivation for using this possibility.

The motivation is to compile and install these files once system-wide,
instead of duplicating them in all users' directories. Conceptually they
aren't user specific but belong to the Emacs package.

reply via email to

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