[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed

From: Eli Zaretskii
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Tue, 18 Jan 2022 16:50:54 +0200

> From: Robert Pluim <rpluim@gmail.com>
> Gmane-Reply-To-List: yes
> Date: Tue, 18 Jan 2022 10:03:55 +0100
> Cc: Óscar Fuentes <ofv@wanadoo.es>, emacs-devel@gnu.org
> >>>>> On Mon, 17 Jan 2022 20:21:53 +0000, Phillip Lord 
> >>>>> <phillip.lord@russet.org.uk> said:
>     Phillip> Óscar Fuentes <ofv@wanadoo.es> writes:
>     >> Phillip Lord <phillip.lord@russet.org.uk> writes:
>     >> 
>     >>> --without-compress-install switches off the gzipping of various files,
>     >>> such as the info files. It was necessary, if I remember correctly, 
> when
>     >>> I added it because Emacs uses external calls to gzip which wasn't
>     >>> necessarily bundled.
>     >> 
>     >> Isn't the built-in zip support used for uncompressing things (.el.gz 
> and
>     >> .info.gz) when gzip is missing? IIRC that was recently added.
>     Phillip> I haven't tried! If it does do that now then this switch needs
>     Phillip> removing. It didn't when I added it many years back.
> I donʼt know if the builtin zip support works here, but itʼs moot:
> zlib support is optional, so you canʼt rely on it always being
> available (unless youʼre going to ensure that here).

For Emacs with native compilation enabled, the zlib support takes
another role: if the *.el files are installed compressed, then Emacs
_must_ have zlib support, or else it will be unable to use the *.eln
files, because it must verify the *.el source files correspond to the
*.eln files.  So if you build an Emacs with native compilation, but
without zlib, do NOT compress the *.el file at "make install" time.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]