From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: 64-bit build on Windows Date: Sat, 21 Jan 2017 20:15:12 +0100 Message-ID: References: <874m0tc0gn.fsf@russet.org.uk> <87efzxn6or.fsf@wanadoo.es> <83y3y5681f.fsf@gnu.org> <83h94s5kzi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045d5d725510c005469f9865 X-Trace: blaine.gmane.org 1485026200 699 195.159.176.226 (21 Jan 2017 19:16:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2017 19:16:40 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , Eli Zaretskii , Emacs developers To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 21 20:16:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV19L-0007sF-4Q for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2017 20:16:31 +0100 Original-Received: from localhost ([::1]:33055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cV19Q-0001op-6W for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2017 14:16:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cV18q-0001oY-TF for emacs-devel@gnu.org; Sat, 21 Jan 2017 14:16:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cV18l-0001Ag-Uq for emacs-devel@gnu.org; Sat, 21 Jan 2017 14:16:00 -0500 Original-Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:38067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cV18k-00019k-4n; Sat, 21 Jan 2017 14:15:54 -0500 Original-Received: by mail-wm0-x233.google.com with SMTP id r144so93903410wme.1; Sat, 21 Jan 2017 11:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fRGYCoNJerhbE2oAkhmp+QIkSaLnS39oZD47yp+oo9I=; b=QE8te4wjjEETfiqID1EwHgADQ0W9Dhj8+pbfm849AmoiTS1kvCEK3PXjFMZIB39SdG ggpM6M3/tWYpPdBGOLCh7fmg8h9wfhQRGnXhA0XWIaAhsfBTECd2w25xMOit/ky+7rKR Q9kG1eBAHXfQn+cINgN0GFSvAXEJJWcqMMVeLUDsuva2RLZIBvRnZhaMdOXp/ctPKlI/ L8/twpGzWgY36mTe7QzvqOmBWpVKmDiFuvxdjZK39nA8Jaz85pVnEDz+4w4YMCeoF3Vy AWXA4GfMf2GUYP6wrf2CDRitWZ3ExzFh9QZAho2IkSaWd1erRnaxYFKbwjDthjBuejzA 9ULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fRGYCoNJerhbE2oAkhmp+QIkSaLnS39oZD47yp+oo9I=; b=dEiRuzUe+7Z7d9efGJ9plsTAmUXM42LDvz1pTatvA1VLLIsu8b9EtgMZBf4EY+HMNJ u2Vwq8ZFcg0wkFAyOe3TmtCnFOQlZvhgtReVzWk5Fdcc11vkBgdcEDB3Azb/lPSTm4em CXDGLVv74xoyVXQIALT8TTFS7zhhqggn8G9nM/WPkIie8k/ZCqs2nkvnpxa/4Vl5aGtF uwiYad76mI/Tnze0OiFkAsQcOd5WH6MVWcs+3n4Z+spVZjSeVKSTXZPSip4mi6vm23me 86rV0g8SKuwua4olumTd+bqCL3d73ILETQ4F/2JKthgtd1r+CrAOz6/Pwc4EGQKYpihm A2mA== X-Gm-Message-State: AIkVDXLrwN4W98KueJz9nuYrWziP8RSUE3LAe5UlHqHGbRJEemQQZ4awCecNc8dG9ZsohL2hrAYzJ7MitGPpbg== X-Received: by 10.223.153.15 with SMTP id x15mr16998541wrb.179.1485026153007; Sat, 21 Jan 2017 11:15:53 -0800 (PST) Original-Received: by 10.195.24.3 with HTTP; Sat, 21 Jan 2017 11:15:12 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211481 Archived-At: --f403045d5d725510c005469f9865 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jan 21, 2017 at 8:04 PM, Fabrice Popineau < fabrice.popineau@gmail.com> wrote: > My point is : ImageMagick is made available by dynamically loading 2 dlls= . > If they are not installed, then the feature is disabled (as far as I remember). If Emacs on Windows is built to use the DLLs, and they are not available (let's say you downloaded a binary tarball built with Imagemagick support, but you don't have the DLLs in your system), Windows won't allow emacs.exe to run. That's a big problem. > What happens if the jpeg or xpm or png dlls are not found ? Nothing, because they are not statically linked. If Emacs was built with jpeg support (or png, etc.), it will check at runtime (and on demand, the first time a jpeg function is needed) that the jpeg DLL can be loaded. If not, the function will fail and Emacs will take note that the DLL is unavailable. Juanma =E2=80=8B --f403045d5d725510c005469f9865 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Jan 21, 2017 a= t 8:04 PM, Fabrice Popineau <fabrice.popineau@= gmail.com> wrote:

> My point is : ImageMagick is made available by dyn= amically loading 2 dlls.
> If they are not installed, then the featur= e is disabled (as far as I remember).

If Emacs on Windows is built to use the DLLs, and they are not a= vailable (let's say you downloaded a binary tarball built with Imagemag= ick support, but you don't have the DLLs in your system), Windows won&#= 39;t allow emacs.exe to run. That's a big problem.

> What = happens if the jpeg or xpm or png dlls are not found ?=C2=A0

<= div style=3D"font-size:14.6667px">Nothing, because they are not statically = linked. If Emacs was built with jpeg support (or png, etc.), it will check = at runtime (and on demand, the first time a jpeg function is needed) that t= he jpeg DLL can be loaded. If not, the function will fail and Emacs will ta= ke note that the DLL is unavailable.

=C2=A0 =C2=A0 Juanma
= =E2=80=8B --f403045d5d725510c005469f9865--