This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: initdb failure - postgres hangs with 100% CPU
- To: Jason Tishler <Jason dot Tishler at dothill dot com>
- Subject: Re: initdb failure - postgres hangs with 100% CPU
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Wed, 11 Jul 2001 16:37:23 -0400
- CC: Steve Jorgensen <jorgens at coho dot net>,"cygwin at cygwin dot Com (E-mail)" <cygwin at cygwin dot com>
- References: <20010711142636.X320@dothill.com>
Jason Tishler wrote:
> pq.dll is the "shared" (i.e., DLL) library, libpq.a is the import
> library to which client code link.
Jason, I recommend that postgres build the import library with a
".dll.a" extention, rather than ".a". This requires no changes when
linking client code; ld will interpret "-lpq" to mean "libpq.dll.a"
FIRST, and then later look for "libpq.a" iff .dll.a is not found.
What you're doing now is fine; it works now and will continue to work --
but convention sez ".a" = static lib, ".dll.a" = import lib. (yah, I
know that the mswindows import libs in the cygwin and mingw packages use
".a" ....)
--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/