X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=J3Bon8rqsJK7Dgf/dQZmAKW2hUrs+yss/7esQuZYOVJ EKznWtKjHStqnkG90dK8g+eGCD4/enr9nvdVv2OjN5IfQ+8Bpe+dlppzkEVthY39 ZZiaJtSSsRSeUyPv0q5DAA6PcowQZB5RXXuiWVAliOL62MmwymwagmhLacl7/2tU = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=qh190eStrStPciVvrPZc3iUqlME=; b=tVFvYeelEXjohtHbX hK/QL2/Jv7ihRnvIS54DMyniqh1xhxCuvA6zTwHn857XASFBUa7m6SRk06XjOMUP iZlW/ZkkRdhEO/syjxff47VBJeuWjY2WLwGtFU1B62HcpVifUfsLoJAayOn1Id7W BHCH4+0WxsQFoRuhqk2P3zLYUg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-5.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG autolearn=ham version=3.3.1 X-Received: by 10.194.109.136 with SMTP id hs8mr4834233wjb.8.1366125341710; Tue, 16 Apr 2013 08:15:41 -0700 (PDT) Message-ID: <516D6BCC.1000106@gmail.com> Date: Tue, 16 Apr 2013 16:18:36 +0100 From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com> User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: expat 2.1.0-1 References: <announce DOT 4FD7368F DOT 70308 AT etr-usa DOT com> <51671F38 DOT 2080403 AT gmail DOT com> <516D514E DOT 8000908 AT etr-usa DOT com> In-Reply-To: <516D514E.8000908@etr-usa.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 16/04/2013 14:25, Warren Young wrote: > On 4/11/2013 14:38, Dave Korn wrote: >> >> The static archive /usr/lib/libexpat.a was present in 2.0.1-1(*) and is >> missing in 2.1.0-1(**), was that intentional? > > I think I got that, um, "feature" for free when I converted to cygport for > that package. Someone is passing --disable-static to the configure script, > and it isn't me. > > I've fixed this with CYGCONF_ARGS="--enable-static" The static library > does now appear in the -devel package. > > The .a is about 3x the size of the .dll. Is that normal, or am I supposed > to be stripping the .a before packaging it? Yes, totally normal, it's a whole set of individual object files with all their overhead, rather than just the linked text/data content of those files. No, don't strip it, that decision should be left until linking a final executable. > Does someone actually want this static library? I'm going to RFU it > anyway, since I've gone to the trouble of fixing it, but I was curious if > it actually mattered to someone. GDB apparently prefers linking statically to libexpat. Dunno why, but it saves me adjusting my dependencies in a package I'm shipping to a customer, so thanks :) cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple