bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48743: 28.0.50; batch-native-compile should produce .elc files as we


From: Andrea Corallo
Subject: bug#48743: 28.0.50; batch-native-compile should produce .elc files as well
Date: Mon, 31 May 2021 18:27:10 +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: raman@google.com, 48743@debbugs.gnu.org
>> Date: Mon, 31 May 2021 16:56:51 +0000
>> 
>> I think the way to do it is to proceed as we do in the current Emacs
>> build that is; express to make only the .elc targets and produce them
>> using `batch-byte-native-compile-for-bootstrap'.
>> 
>> This is like `batch-byte-native-compile' but produces also the .elc
>> files.
>> 
>> At this point if packages wants to use this function we should probably
>> rename it as is not anymore in use only for our build process.
>
> Yes, we should rename it,

Agree, what should be a good name for that?

> and we should also provide an easy way of
> controlling where the *.eln files are deposited, since currently that
> function is tightly coupled with the Emacs build process and the
> directory structure of the Emacs source tree.

ATM one could push the new target directory in
`native-comp-eln-load-path' maybe using -eval just before invoking the
batch compilation, if this is not sufficient what should be a better
interface to offer?

TIA

  Andrea





reply via email to

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