[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native Compilation And External Packages
From: |
T.V Raman |
Subject: |
Re: Native Compilation And External Packages |
Date: |
Sat, 29 May 2021 10:14:43 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
The warnings are inconsistent as in:
Compiling at the command line using -f batch-byte-compile produces no
warnings; the same code produces warnings when native-emacs is run
2. I should have been more explicit re Make:
I know about -f batch-native-compile, however writing the dependency
rule is what I guess I'm confused about -- since the .eln files that
result go into the eln-cache, not the directory where the .el files
live.
>> From: "T.V Raman" <raman@google.com>
>> Date: Sat, 29 May 2021 09:28:01 -0700
>>
>> Q: How does one write a Makefile rule for native compilation of .el
>> files in a 3rd party (external) package?
>
> Use something like
>
> emacs -batch -l comp -f batch-native-compile FOO.el
>
>> 2. Would also be nice if warnings from byte-compilation could be
>> consistent with native-compilation -- I'd be happy with either
>> solution.
>
> In what sense are they inconsistent now? They come from
> byte-compilation, AFAIU, so they are the same warnings you are used to
> while byte-compiling...
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1 ?0?8
Re: Native Compilation And External Packages, Stefan Monnier, 2021/05/29