From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22959: Emacs on Windows depends on libwinpthreads Date: Wed, 09 Mar 2016 18:59:00 +0200 Message-ID: <83ziu7oaej.fsf@gnu.org> References: <87egbj4sbh.fsf@russet.org.uk> <83d1r3pqr0.fsf@gnu.org> <871t7j4no3.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457542786 17427 80.91.229.3 (9 Mar 2016 16:59:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2016 16:59:46 +0000 (UTC) Cc: 22959@debbugs.gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 09 17:59:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1adhRz-00014t-Uv for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Mar 2016 17:59:08 +0100 Original-Received: from localhost ([::1]:42590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adhRz-0005ka-En for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Mar 2016 11:59:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adhRv-0005j0-5t for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 11:59:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adhRu-0004vF-Al for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 11:59:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adhRu-0004vB-7J for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 11:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adhRt-0002Pd-WC for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 11:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Mar 2016 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22959 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22959-submit@debbugs.gnu.org id=B22959.14575427399264 (code B ref 22959); Wed, 09 Mar 2016 16:59:01 +0000 Original-Received: (at 22959) by debbugs.gnu.org; 9 Mar 2016 16:58:59 +0000 Original-Received: from localhost ([127.0.0.1]:41760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adhRr-0002PM-Ij for submit@debbugs.gnu.org; Wed, 09 Mar 2016 11:58:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34943) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adhRp-0002PA-VO for 22959@debbugs.gnu.org; Wed, 09 Mar 2016 11:58:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adhRh-0004s7-GA for 22959@debbugs.gnu.org; Wed, 09 Mar 2016 11:58:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adhRh-0004s3-DO; Wed, 09 Mar 2016 11:58:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3896 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1adhRg-0002l2-OB; Wed, 09 Mar 2016 11:58:49 -0500 In-reply-to: <871t7j4no3.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114655 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: 22959@debbugs.gnu.org > Date: Wed, 09 Mar 2016 16:32:44 +0000 > > > If MinGW64 builds binaries that depend on libwinpthread DLL, then why > > isn't that DLL part of the MinGW64 GCC installation? That sounds like > > a bug in MinGW64 packaging, or maybe your installation is somehow > > incomplete or misconfigured? > > It is part of the distribution. The problem is generating a binary for > other people that they can use. If I install Emacs and then package that > location, the executable will not work. Ah, okay. Then I think the only way of making distributable binaries is to find a GCC distribution that doesn't infect programs it produces with the libwinpthread dependency. > > (This is the first time that a MinGW64 Emacs user complains about > > this, so I wonder how others solve this problem.) > > The Emacs-W64 distribution which builds in ming-w64 just copies > libwinpthread-1.dll into the bin directory. Someone who does that will have to provide the sources of that library from the same location, or they will be in violation of the GPL. > The other solution is > > ./configure CFLAGS=-static If that gives reasonable results, yes. What problems, if any, does it create?