Skip site navigation (1) Skip section navigation (2)

Re: Fwd: building the client libraries with gcc?

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Jerry Asher <jerry(at)hollyjerry(dot)org>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Fwd: building the client libraries with gcc?
Date: 2001-06-05 15:49:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

On Mon, Jun 04, 2001 at 03:00:03PM -0700, Jerry Asher wrote:
> I sent this message to pg-cygwin four days ago and looked forward to your 
> advice.
> Since perhaps you missed it, please excuse me if I send it direct to you now.


> Basically, I am trying to build the client libraries for postgres so that I 
> can build a postgres driver into the aolserver open source webserver.  (I 
> have a rather large application (the openacs toolkit) that uses aolserver 
> and the postgres driver (on linux) and cannot change this application over 
> to odbc for technical and cultural reasons.)
> Anyway, I need to build the client libraries.
> As I mention below, the instructions that come with pg on how to do this 
> are Visual C++ oriented, most likely since the original author was not 
> aware of the cygwin project.
> Have you tried to build the client libraries using just gcc and cygwin 
> tools?  Can you offer any hints or advice?

You can try Mingw or Cygwin's gcc -mno-cygwin, but I have never tried to
do this myself.  Otherwise, you can download a pre-built (using MSVC++),
*BUT UNTESTED* libpq.dll and libpqdll.lib from:


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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

pgsql-cygwin by date

Next:From: Jason TishlerDate: 2001-06-05 19:44:03
Subject: Re: Fwd: building the client libraries with gcc?
Previous:From: Pat HardyDate: 2001-06-05 01:30:28
Subject: Re: Cannot build JDBC driver for PostgreSQL 7.12 on NT

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group