emacs-devel
[Top][All Lists]
Advanced

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

Re: Avoid duplicate emacs.exe / emacs-$version.exe


From: Juan José García-Ripoll
Subject: Re: Avoid duplicate emacs.exe / emacs-$version.exe
Date: Sun, 29 Mar 2020 00:36:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)

Eli Zaretskii <address@hidden> writes:
> (This is a secondary point, but Emacs is not linked statically, at
> least not by default.

Just a side note: the build-zips.sh script that makes the Windows
distribution files always uses the flag -static when building emacs. I
understand this is done so that Emacs does not require copies of the C,
mingw and other libraries.

So, for the record, perhaps a more accurate statement is that Emacs in
Windows is always statically built, except for some libraries, which are
loaded dynamically by the executable itself, not through the OS linking
process

decompress.c:  HMODULE library = w32_delayed_load (Qzlib);
gnutls.c:  if (!(library = w32_delayed_load (Qgnutls)))
image.c:  if (!(library = w32_delayed_load (Qxpm)))
image.c:  if (!(library = w32_delayed_load (Qpng)))
image.c:  if (!(library = w32_delayed_load (Qjpeg)))
image.c:  if (!(library = w32_delayed_load (Qtiff)))
image.c:  if (!(library = w32_delayed_load (Qgif)))
image.c:  if (!(glib = w32_delayed_load (Qglib))
image.c:      || !(gobject = w32_delayed_load (Qgobject))
image.c:      || !(giolib = w32_delayed_load (Qgio))
image.c:      || !(gdklib = w32_delayed_load (Qgdk_pixbuf))
image.c:      || !(library = w32_delayed_load (Qsvg)))
json.c:  HMODULE library = w32_delayed_load (Qjson);
lcms.c:  HMODULE library = w32_delayed_load (Qlcms2);
xml.c:      if (!(library = w32_delayed_load (Qlibxml2)))

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




reply via email to

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