ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/11/11:47:05

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C3F1654.4050401@ece.gatech.edu>
Date: Fri, 11 Jan 2002 11:44:04 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Stipe Tolj <tolj AT wapme-systems DOT de>
CC: cygwin-apps <cygwin-apps AT cygwin DOT com>
Subject: Re: [ANN] apache_1.3.22-2
References: <3C3EE6D5 DOT 8916443E AT wapme-systems DOT de>

Stipe Tolj wrote:

>   * changed the dependant lib linking flag from -lgdbm to -lgdbm.dll
> to use
>     the shared import library for mod_rewrite.

Again I say, this should not be necessary.  The linker, ld, will 
automatically search FIRST for the import lib libgdbm.dll.a BEFORE 
searching for the static lib libgdbm.a.  The only way to change this 
behavior is to call 'ld -Bstatic' (aka 'ld -static') or 'gcc -static' to 
FORCE ld to search only for libgdbm.a.

If you were previously linking with a command similar to:

ld -o foo foo.o -lgdbm

but foo was created by linking statically against libgdbm.a -- then that 
is a bug (or installation error).  Please do NOT do wacky things like 
add ".dll" to the end of a library spec.


- Raw text -

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