Re: postgresql build on MS Visual studio 20

Andrew Francis <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.