This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [ANN] apache_1.3.22-2
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: Stipe Tolj <tolj at wapme-systems dot de>
- Cc: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Fri, 11 Jan 2002 11:44:04 -0500
- Subject: Re: [ANN] apache_1.3.22-2
- References: <3C3EE6D5.8916443E@wapme-systems.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.
--Chuck