Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: cygwin-apps Subject: Re: [ANN] apache_1.3.22-2 References: <3C3EE6D5 DOT 8916443E AT wapme-systems DOT de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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