Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 11 Jul 2001 14:26:36 -0400
From: Jason Tishler <Jason.Tishler@dothill.com>
To: Steve Jorgensen <jorgens@coho.net>
Cc: "cygwin@cygwin. Com (E-mail)" <cygwin@cygwin.com>
Subject: Re: initdb failure - postgres hangs with 100% CPU
Message-ID: <20010711142636.X320@dothill.com>
Mail-Followup-To: Steve Jorgensen <jorgens@coho.net>,
	"cygwin@cygwin. Com (E-mail)" <cygwin@cygwin.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <01C109FA.8D257200.jorgens@coho.net>
User-Agent: Mutt/1.3.18i
Organization: Dot Hill Systems Corp.

Steve,

On Wed, Jul 11, 2001 at 11:09:52AM -0700, Steve Jorgensen wrote:
> I would have thought a native cygwin library would be .a, not .dll.

pq.dll is the "shared" (i.e., DLL) library, libpq.a is the import
library to which client code link.

> Did I 
> make the Cygwin library, but make it as a DLL (thus completely useless) 
> because I gave -win32 as the target?

My WAG is that you just made the normal Cygwin pq.dll.  Sorry, I don't
know what a "-win32" target is.

> I presume that you saw the recent activity regarding the above.  Why don't
> you give Christof's patches a shot?
> 
> I shall, and thanks.  Now I should figure out what's the difference between 
> mingw and -mno-cygwin, and why one uses one vs the other.

The code produced by either should be functionally identical.  Both are
only dependent on MS DLLs and not on the Cygwin one.  Mingw is a native
Win32 app and does not grok Posix style paths, mounts, symlinks, etc.
Of course, Cygwin gcc -mno-cygwin does.  IMO, the differences lie mainly
in the build environment.  Choose the flavor that you like best.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
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/

