Re: postgresql build on MS Visual studio 20 - Mailing list pgsql-hackers-win32

From Andrew Francis
Subject Re: postgresql build on MS Visual studio 20
Date
Msg-id 4125744D.5010709@familyhealth.com.au
Whole thread Raw
In response to Re: postgresql build on MS Visual studio 20  (Anass HAMMEDI <Anass.HAMMEDI@asais.fr>)
List 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

pgsql-hackers-win32 by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: InitDB Failure on install
Next
From: Mario Ivankovits
Date:
Subject: Re: InitDB Failure on install