delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/11/17:18:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <01C10A11.38099B40.jorgens@coho.net>
From: Steve Jorgensen <jorgens AT coho DOT net>
Reply-To: "jorgens AT coho DOT net" <jorgens AT coho DOT net>
To: "Cygwin List (E-mail)" <cygwin AT cygwin DOT com>
Subject: RE: initdb failure - postgres hangs with 100% CPU
Date: Wed, 11 Jul 2001 13:56:00 -0700
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0


-----Original Message-----
From:	Jason Tishler [SMTP:Jason DOT Tishler AT dothill DOT com]
Sent:	Wednesday, July 11, 2001 11:27 AM
To:	Steve Jorgensen
Cc:	cygwin AT cygwin. Com (E-mail)
Subject:	Re: initdb failure - postgres hangs with 100% CPU

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.

[Steve Jorgensen]  Doh!  Right, .a is not a shared library on any platform. 
 I take it that Cygwin actually uses .dll as its normal shared library 
type, then, and does not have its own unique shared library type?  I 
presume this library is called pq.dll on Cygwin to avoid name conflicts 
with libpq.dll if both exist on a single system?

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.

[Steve Jorgensen]  I'm figuring (not that I know what I'm talking about) 
that if I want to use autoconf/automake, I should try to use gcc.  I don't 
know much about these tools yet, but I imagine teaching them to handle 
Windows paths would be a big hassle and not worth the trouble since gcc 
-mno-cygwin is an available option.


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

- Raw text -


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