unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: luangruo@yahoo.com, corwin@bru.st, stefan@marxist.se,
	drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: [External] : Emacs pretest 28.0.91 is out
Date: Thu, 13 Jan 2022 11:08:38 +0200	[thread overview]
Message-ID: <831r1c3svd.fsf@gnu.org> (raw)
In-Reply-To: <86a6g0t8bu.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de)

> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
> Cc: corwin@bru.st,  luangruo@yahoo.com,  stefan@marxist.se,
>   drew.adams@oracle.com,  emacs-devel@gnu.org
> Date: Thu, 13 Jan 2022 08:15:33 +0100
> 
> I wanted to know if it makes sense (and is possible) to natively compile
> all *.elc files for Windows? :-)

It's possible, yes -- as long as you are talking about the *.elc files
that come with Emacs.  The 3rd-party packages people might install are
not under your control anyway, so "total" compilation doesn't
necessarily make sense.  E.g., if J.R. Hacker never uses the package
foo.el that is part of the Emacs source distribution, having the
foo-*.eln file in the binary distribution will not help him.

If you want to compile all the bundled *.el files, you should set
NATIVE_FULL_AOT=1 in the environment or on the Make command line.

My opinion is that we should first offer the MS-Windows users a build
made using the "normal" procedure, and that means natively-compiling
only the preloaded files.  Only if we discover some good reasons to
offer a full AOT compilation should we do that (and maybe then not
only on Windows).

But it's your call.

> > If libgccjit is not available, Emacs should use the *.elc files.
> 
> I thought this. I'm also wondering how much the additional .eln files
> will enlarge the Emacs distribution..

An average .eln file is around 300KB, so it's quite a lot.  E.g., my
eln-cache directory for the 28.0.91 pretest, which includes only those
packages that I used since the session started 3 days ago, has 148
files that weigh in at about 48MB.



  reply	other threads:[~2022-01-13  9:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 22:39 Emacs pretest 28.0.91 is out Stefan Kangas
2022-01-11  2:16 ` [External] : " Drew Adams
2022-01-11  2:28   ` Po Lu
2022-01-11  3:28     ` Corwin Brust
2022-01-11 21:43       ` H. Dieter Wilhelm
2022-01-12  4:07         ` Corwin Brust
2022-01-12 12:53           ` Eli Zaretskii
2022-01-12 21:15             ` H. Dieter Wilhelm
2022-01-13  6:30               ` Eli Zaretskii
2022-01-13  7:15                 ` H. Dieter Wilhelm
2022-01-13  9:08                   ` Eli Zaretskii [this message]
2022-01-13 21:41                     ` H. Dieter Wilhelm
2022-01-12 20:55           ` H. Dieter Wilhelm
  -- strict thread matches above, loose matches on Subject: below --
2022-01-11  2:45 Tom Davey
2022-01-17 19:47 ` chad
2022-01-17 22:15   ` Corwin Brust

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=831r1c3svd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=corwin@bru.st \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=stefan@marxist.se \
    /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).