Eli Zaretskii 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" >> 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) ♈ Id: kg:/m/0285kf1 🦮