From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 pretest MS Windows snapshots Date: Sat, 04 Jul 2020 16:16:13 +0300 Message-ID: <834kqnv2si.fsf@gnu.org> References: <525489ee-b53c-49f4-bcc1-512f48175e08@default> <87wo3lhmj7.fsf@russet.org.uk> <83sge9x1ja.fsf@gnu.org> <83lfk1x0xu.fsf@gnu.org> <87h7unft33.fsf@russet.org.uk> <838sfzv8cx.fsf@gnu.org> <874kqnfmv5.fsf@russet.org.uk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12081"; mail-complaints-to="usenet@ciao.gmane.io" Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 04 15:16:47 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 1jri2B-00033B-79 for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jul 2020 15:16:47 +0200 Original-Received: from localhost ([::1]:49580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jri2A-0004LU-8W for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jul 2020 09:16:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jri1b-0003so-Ef for emacs-devel@gnu.org; Sat, 04 Jul 2020 09:16:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34104) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jri1b-0000qL-3b; Sat, 04 Jul 2020 09:16:11 -0400 Original-Received: from [176.228.60.248] (port=2813 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jri1a-0001SV-CI; Sat, 04 Jul 2020 09:16:10 -0400 In-Reply-To: <874kqnfmv5.fsf@russet.org.uk> (message from Phillip Lord on Sat, 04 Jul 2020 14:09:18 +0100) 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:252665 Archived-At: > From: Phillip Lord > Cc: drew.adams@oracle.com, emacs-devel@gnu.org > Date: Sat, 04 Jul 2020 14:09:18 +0100 > > > Yes, you need to include it like you do with libxpm. > > Hmmm. This perhaps rather stretches the definition of "no-deps". At the > moment, I include libXpm because historically it was always distributed > with the built emacs (although emacs will run without it). > > The problem is that the libXpm.dll I use is very carefully selected. It > isn't actually from msys and I always use the same one (on the basis > that libXpm is never, ever going to be updated), because I had > significant problems with some versions of libXpm from Msys having > dependencies (libwinpthread, I think). > > So, I think that there is a decision point here. I could make the > "no-deps" download what it says it is, and have no deps (including > libXpm). As the version with deps is now the default suggested option > this might more sense. Otherwise I risk the no-deps version getting more > dependencies in an unpredictable manner. I'm not sure I see the significance of adding one more library to the no-deps distribution. If you are afraid of dependencies of libgmp, then I don't think its MSYS2 version has any, does it? If the dependencies of libgmp is not the issue, then what is? In any case, if you build Emacs with libgmp, you _must_ accompany the binary with the DLL you used at build time, because, unlike libxpm, libgmp is a static dependency of Emacs, and Emacs will refuse to start if it isn't present. If that's not what you want, you only alternatives are: . link against libgmp statically, or . build Emacs without libgmp, using src/minigmp.c instead