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

building the client libraries with gcc?

From: Jerry Asher <jerry(at)hollyjerry(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: building the client libraries with gcc?
Date: 2001-05-31 16:50:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
I need to build the postgres driver used by the opensource aolserver 
webserver.  As the phrase driver implies, this little piece of glue enables 
aolserver applications to interact with postgres.

I have successfully built pg 7.1.2 on cygwin, but find that my driver needs 
a piece of pg that isn't built with the standard 7.1.2 cygwin 
configuration, namely: I need pglib.dll and pglibdll.lib, the dll and the 
library interace.  (I gather these are referred to as the client libraries.)

I found doc/src/install-win32.sgml which details how us Visual C++ can be 
used to build these client libraries.

Is there any easy way to build these client libraries with the cygwin tools 
and gcc?

I have little experience with the arcana of sophisticated *nix makefiles 
and even less with the Windows variant nmake files.  I am sure it would 
take me forever to understand what the win32.maks require.  (To quote Dr. 
Evil, can you throw me a bone?)

If the easy thing to do is to install Visual C++ (I've been VCC free for 
three years now) can you tell me if it's safe to build the client libraries 
using VC++ on the same configured tree that I just finished building pg 
itself on?  And having built the client library, is it safe once more to 
build pg, or should I clean the tree and reconfigure?


Jerry Asher

Jerry Asher                       jerry(at)hollyjerry(dot)org
1678 Shattuck Avenue Suite 161    Tel: (510) 549-2980
Berkeley, CA 94709                Fax: (877) 311-8688

pgsql-cygwin by date

Next:From: Jonathan LononDate: 2001-05-31 18:11:06
Subject: Initdb fail error - help!
Previous:From: Russell BlackDate: 2001-05-31 15:39:50
Subject: Re: initdb takes forever!

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