* ELC files inside Emacs releases
@ 2020-05-30 19:11 Philippe Vaucher
2020-05-30 19:25 ` Andreas Schwab
2020-05-30 19:27 ` Alfred M. Szmidt
0 siblings, 2 replies; 5+ messages in thread
From: Philippe Vaucher @ 2020-05-30 19:11 UTC (permalink / raw)
To: Emacs developers
Hello,
Emacs 24.4 and 26.3 at http://mirror.inode.at/gnu/emacs/ contains .elc
files (I suspect all of them do).
Maybe that's the right thing, but can someone explain why? In my
understanding, those are built when you build Emacs, and thus
distributing those looks like a mistake (takes bandwidth and size that
could be avoided).
Maybe the distribution script forgets to `git clean -fdx`?
Kind regards,
Philippe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ELC files inside Emacs releases
2020-05-30 19:11 ELC files inside Emacs releases Philippe Vaucher
@ 2020-05-30 19:25 ` Andreas Schwab
2020-05-30 19:28 ` Eli Zaretskii
2020-05-30 19:27 ` Alfred M. Szmidt
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2020-05-30 19:25 UTC (permalink / raw)
To: Philippe Vaucher; +Cc: Emacs developers
On Mai 30 2020, Philippe Vaucher wrote:
> Maybe that's the right thing, but can someone explain why?
ELC files are architecture independent.
> In my understanding, those are built when you build Emacs,
Users are not expected to do that.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ELC files inside Emacs releases
2020-05-30 19:11 ELC files inside Emacs releases Philippe Vaucher
2020-05-30 19:25 ` Andreas Schwab
@ 2020-05-30 19:27 ` Alfred M. Szmidt
1 sibling, 0 replies; 5+ messages in thread
From: Alfred M. Szmidt @ 2020-05-30 19:27 UTC (permalink / raw)
To: Philippe Vaucher; +Cc: emacs-devel
It is intentional that .elc files are part of the source distribution
tarball, it is so that users don't need to build them when they build
Emacs -- they are architecturally independant, and it saves time.
This is very common in GNU projects where we try to build anything
that doesn't need to be built later for the user, saving them time.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ELC files inside Emacs releases
2020-05-30 19:25 ` Andreas Schwab
@ 2020-05-30 19:28 ` Eli Zaretskii
2020-05-31 6:57 ` Philippe Vaucher
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2020-05-30 19:28 UTC (permalink / raw)
To: Andreas Schwab; +Cc: emacs-devel
> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Sat, 30 May 2020 21:25:59 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> On Mai 30 2020, Philippe Vaucher wrote:
>
> > Maybe that's the right thing, but can someone explain why?
>
> ELC files are architecture independent.
>
> > In my understanding, those are built when you build Emacs,
>
> Users are not expected to do that.
Indeed.
Byte-compiling all the *.el files takes time, so we distribute the
*.elc files to make the build much faster.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ELC files inside Emacs releases
2020-05-30 19:28 ` Eli Zaretskii
@ 2020-05-31 6:57 ` Philippe Vaucher
0 siblings, 0 replies; 5+ messages in thread
From: Philippe Vaucher @ 2020-05-31 6:57 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Andreas Schwab, Emacs developers
> Byte-compiling all the *.el files takes time, so we distribute the
> *.elc files to make the build much faster.
Thank you all for the clarifications.
Philippe
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-31 6:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-30 19:11 ELC files inside Emacs releases Philippe Vaucher
2020-05-30 19:25 ` Andreas Schwab
2020-05-30 19:28 ` Eli Zaretskii
2020-05-31 6:57 ` Philippe Vaucher
2020-05-30 19:27 ` Alfred M. Szmidt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.