From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: How about using static link instead of dynamic loaded dlls? Date: Thu, 05 Jun 2003 10:51:23 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3EDF129B.6000002@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054807080 18157 80.91.224.249 (5 Jun 2003 09:58:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2003 09:58:00 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 05 11:57:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NrUh-0004gj-00 for ; Thu, 05 Jun 2003 11:57:15 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19Nrmh-00075n-00 for ; Thu, 05 Jun 2003 12:15:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NrSn-0000qy-O1 for emacs-devel@quimby.gnus.org; Thu, 05 Jun 2003 05:55:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NrRS-0007N4-6s for emacs-devel@gnu.org; Thu, 05 Jun 2003 05:53:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NrQv-0006rW-Fc for emacs-devel@gnu.org; Thu, 05 Jun 2003 05:53:23 -0400 Original-Received: from [209.61.173.204] (helo=integrasp.com) by monty-python.gnu.org with smtp (Exim 4.20) id 19NrOk-00062k-DK for emacs-devel@gnu.org; Thu, 05 Jun 2003 05:51:06 -0400 Original-Received: (qmail 8801 invoked from network); 5 Jun 2003 09:45:26 -0000 Original-Received: from host217-37-167-241.in-addr.btopenworld.com (HELO ntserver.altio.com) (217.37.167.241) by 66.216.96.43 with SMTP; 5 Jun 2003 09:45:26 -0000 Original-Received: from gnu.org (ALTIOJR [192.168.111.42]) by ntserver.altio.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id L60A2KFY; Thu, 5 Jun 2003 10:51:15 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en Original-To: Mike Woolley In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14750 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14750 Mike Woolley wrote: > Would it be possible to link in the libraries statically and *not* > require the DLL's at all at run-time? > Of course, the resulting program is bigger, but does that matter > these days? It is more than that. Linking with third party libraries carries legal obligations (many of which are self-imposed, as the licenses of many of the libraries in question are more Public than Free). I deliberately avoided making any binary distributed by FSF dependant on those libraries to avoid the need to deal with these legal issues, but I tried to do so in a way that does not cripple the binary we distribute if the user choses to download those DLLs separately from some other source. I still think that this can be solved without any need for reverting to static linking if you and any others having problems are prepared to do some debugging and tell us exactly what is incompatible between the different versions of DLL you have.