From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Avoid duplicate emacs.exe / emacs-$version.exe Date: Sun, 29 Mar 2020 00:36:12 +0100 Message-ID: <86o8sgxdar.fsf@csic.es> References: <865zeoctg3.fsf@csic.es> <83tv285ole.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="32188"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: emacs-devel@gnu.org Cancel-Lock: sha1:v8p0D8EDy5QQK8g2jAfPNB5dE0k= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 29 00:36:52 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIL0W-0008Ge-Tt for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Mar 2020 00:36:52 +0100 Original-Received: from localhost ([::1]:60852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIL0W-0004LA-0w for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 19:36:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44145) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIL02-0003us-K8 for emacs-devel@gnu.org; Sat, 28 Mar 2020 19:36:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIL01-0007Dq-Ga for emacs-devel@gnu.org; Sat, 28 Mar 2020 19:36:22 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:50894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIL01-0007CJ-Au for emacs-devel@gnu.org; Sat, 28 Mar 2020 19:36:21 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jIKzz-0007jX-9f for emacs-devel@gnu.org; Sun, 29 Mar 2020 00:36:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245915 Archived-At: Eli Zaretskii 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