unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Yasuhiro Kimura <yasu@utahime.org>
Cc: emacs-devel@gnu.org
Subject: Re: Question about native compilation
Date: Wed, 09 Jun 2021 14:17:35 -0400	[thread overview]
Message-ID: <jwvbl8edhyh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20210610.030102.1585779767359400556.yasu@utahime.org> (Yasuhiro Kimura's message of "Thu, 10 Jun 2021 03:01:02 +0900 (JST)")

> Currently I'm trying to change some 3rd party emacs lisp programs so
> they build and install .eln files if Emacs executable supports native
> compilation. For example I would like to write Makefile such as
> following.

I'll let someone else answer your immediate question, but I do want to
point out that generating the `.eln` files as part of installation of
the package is a bad idea: the `.eln` files are not just specific to the
package but also to the Emacs for which it was compiled, so next time
you use another version of Emacs, they'll have to be recompiled anyway.

For this reason, the way native compilation is currently arranged, it
automatically native-compiles the files on-demand, and pre-compiling
them during installation of a package is more trouble than it's
worth, IMO.


        Stefan




  reply	other threads:[~2021-06-09 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 18:01 Question about native compilation Yasuhiro Kimura
2021-06-09 18:17 ` Stefan Monnier [this message]
2021-06-09 18:21 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvbl8edhyh.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=yasu@utahime.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).