delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/11/00:44:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3E488D98.3070301@ece.gatech.edu>
Date: Tue, 11 Feb 2003 00:43:52 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ralf Habacker <Ralf DOT Habacker AT freenet DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: [avail for test] libtool-devel-20030121-1
References: <000001c2d13b$d5c30a40$5c1306d5 AT BRAMSCHE>
In-Reply-To: <000001c2d13b$d5c30a40$5c1306d5@BRAMSCHE>

Ralf Habacker wrote:
>>ARGH.  This defeats the whole purpose of the policy change -- and it is
>>a policy change driven by the libtool development.  I don't want to
>>support a forked version of libtool that differs from mainline on a
>>basic policy issue.
>>
> 
> May be, but like Max has stated, I don't like to be forced to make every static
> lib as shared lib. This would break the whole kde build system, because often
> convenience librarys are build and assembled together into a dll. 

convenience libs do not count.  You can still link a DLL with 
convenience libs, because it is assumed that a true convenience lib is 
built by your project, for your project, and only for your project -- it 
is not available to "outside users" and therefore there can never be any 
mismatch between the symbols provided by (part of) the DLL and those 
provided by the "real" static library.

The prohibition is on OUTSIDE static dependencies.  For instance, 
suppose you only have libz.a.  Now, you build cygkde.dll (or libkde.so 
on some unixoid platform)  which depends on libz.a.  Now, if I build 
chuckclient.exe which depends on the kde shared lib, and on -lz, I could 
possibly get a symbol conflict.  [This is actually more of an issue if I 
were trying to build chucklib.dll]

So, the libtool folks prohibited this behavior (for this reason, and 
also because it plays havoc with libtool's attempt to keep track of, via 
libfoo.la, the dependencies of each created sharedlib).

But don't worry about convenience libs; those are fine.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019