delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/11:25:14

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
Date: Tue, 26 Aug 2003 17:24:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: importlibraries names
Message-ID: <20030826152415.GA11513@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <111684063771 DOT 20030826154402 AT familiehaase DOT de> <20030826135754 DOT GT7858 AT cygbert DOT vinschen DOT de> <21685972105 DOT 20030826161550 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <21685972105.20030826161550@familiehaase.de>
User-Agent: Mutt/1.4.1i

[This isn't xfree-related.  Redirected to cygwin AT cygwin DOT com]

On Tue, Aug 26, 2003 at 04:15:50PM +0200, Gerrit P. Haase wrote:
> >> Would it be a problem to create the symlinks to be libxyz.a instead of
> >> libxyz.dll.a in future releases or use the same names of the
> >> importlibraries as it was before, without version included?
> 
> > No.  There are two types of import libs:
> 
> > libfoo.dll.a which results in linking against the apropriate DLL and
> > libfoo.a which is the static lib.  This scheme has been settled already
> > loooong ago and is obeyed by binutils.  If the configuration script
> > gets this wrong, the configuration script should be fixed.
> 
> Hmmm, since there are no .dll.a import libraries on linux, pretty much
> configure scripts are failing at this point.  It works well as long as
> static and import libraries are provided as it is the case with the most
> packages, but if there are no static libraries, what is lost if there
> are no .dll.a files?

Reliability?  You never know from the name if it's a shared or a static
import lib.

The configuration script is just faulty.  A configuration script should
test if linking against -lfoo works, not if there's a library called
libfoo.a.  It's not exactly right to assume that all platforms are using
this naming scheme.  A platform might as well use foo.lib or something
entirely different.  Or, even simpler, as on Linux where libfoo.so is ok,
too.  Does the script test for .so files?  If so, why not testing for
.dll.a files as well?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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