From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Klauer Newsgroups: gmane.comp.audio.sox.devel Subject: Re: Building a Windows binary Date: Sun, 10 Mar 2013 06:57:12 +0100 Message-ID: <20130310065712.Horde.x-t2XruWis5RPCC4Qt9lizA@webmail.df.eu> References: <20130308174037.Horde.iDMiP1NNcXdROhSFCvQ2uZA@webmail.df.eu> Reply-To: sox-devel@lists.sourceforge.net NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362895055 30631 80.91.229.3 (10 Mar 2013 05:57:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 05:57:35 +0000 (UTC) To: sox-devel@lists.sourceforge.net Original-X-From: sox-devel-bounces@lists.sourceforge.net Sun Mar 10 06:57:58 2013 Return-path: Envelope-to: gcasd-sox-devel@m.gmane.org Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of chirlu.de designates 80.67.31.28 as permitted sender) client-ip=80.67.31.28; envelope-from=ulrich@chirlu.de; helo=smtprelay01.ispgateway.de; In-Reply-To: User-Agent: Internet Messaging Program (IMP) H4 (5.0.19) Content-Disposition: inline X-Df-Sender: dWtsYXVlckBjaGlybHUuZGU= X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.67.31.28 listed in list.dnswl.org] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1UEZG4-0006fO-Ip X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-devel-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox.devel:273 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEZGc-0005B9-Ph for gcasd-sox-devel@m.gmane.org; Sun, 10 Mar 2013 06:57:55 +0100 Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UEZGA-0003Vm-Vm; Sun, 10 Mar 2013 05:57:27 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UEZGA-0003Vd-8b for sox-devel@lists.sourceforge.net; Sun, 10 Mar 2013 05:57:26 +0000 Received: from smtprelay01.ispgateway.de ([80.67.31.28]) by sog-mx-2.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1UEZG4-0006fO-Ip for sox-devel@lists.sourceforge.net; Sun, 10 Mar 2013 05:57:26 +0000 Received: from [80.67.16.116] (helo=webmailfront01.ispgateway.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1UEZFw-0004B4-9i; Sun, 10 Mar 2013 06:57:12 +0100 Received: from 77-21-78-174-dynip.superkabel.de (77-21-78-174-dynip.superkabel.de [77.21.78.174]) by webmail.df.eu (Horde Framework) with HTTP; Sun, 10 Mar 2013 06:57:12 +0100 Chris Bagwell : > Sounds promising solution. I especially like how it downloads everything > so we can move between build computers much faster. Yes, although "fast" is relative; it takes its time to build everything from scratch, especially GCC (about twenty minutes for me; a faster computer might help). But this can run in the background, of course. > Can you tell MXE to build and prefer static libraries so that we can ship a > minimal of DLL's? Its not a show stopper if we don't but it does reduce > some run-time issues. Yes, it already builds static-only libraries by default. My test builds don't require any DLLs at all (not even zlib), except for those that have --enable-dl-XXX for legal reasons. (The newest is at http://www.chirlu.de/temp/sox-win32-experimental/, by the way; it is from relatively-current git master though, not from 14.4.0.) I also found out recently that libtool recognizes an option "-all-static" when linking executables. It will then statically link everything, even indirect dependencies, and even when dynamic libraries are also present. I think I will make a configuration option for that and remove the workarounds. Ulrich ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev