Re: postgresql build on MS Visual studio 20

From: Andrew Francis <locust(at)familyhealth(dot)com(dot)au>
To: Anass HAMMEDI <Anass(dot)HAMMEDI(at)asais(dot)fr>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: postgresql build on MS Visual studio 20
Date: 2004-08-20 03:47:25
Message-ID: 4125744D.5010709@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Anass HAMMEDI wrote:
> Is building libpq.dll supported. & how? plz.

Open a command prompt with the Visual Studio environment set up (generally
Start Menu -> Programs -> Visual Studio -> VS Tools -> VS Command Line).

Go to the src\interfaces\libpq directory inside the postgres distribution.

Run "nmake /f Makefile.win32 [options]".

Available options are documented in Makefile.win32.

If you run into compiler or link errors relating to
rename/unlink/pgrename/pgunlink functions, you may wish to try using the
most recent CVS snapshot, or read the recent "libpq build problem with
<io.h> on MS VC++" thread from this mailing list.

Hope this helps.

- Andrew

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Philip Warner 2004-08-20 04:04:34 Re: tablespace and sequences?
Previous Message Tom Lane 2004-08-20 03:47:17 Re: tablespace and sequences?