Re: Compatibility of libpg

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Compatibility of libpg
Date: 2017-05-02 01:38:49
Message-ID: c7b5f4f8-6346-d0cb-0c26-7a825149906f@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5/1/2017 5:44 PM, Igor Korot wrote:
>
> But I want to build from MSVC. I already have a solution for it. All I
> need is to create a project inside that solution which will build the
> dll and lib files for me.
>
> Or I have to use nmake?

pretty sure you need to run the top level config script to generate all
the right stuff, then you probably can have MSVC run the makefile in the
libpq directory. I find it easier to just build the whole server, then
just use the libpq.dll rather than trying to build pieces seperately, as
it really doesn't take very long. i believe there are notes on
building with MSVC on Windows,
https://www.postgresql.org/docs/current/static/install-windows-full.html
... I see there are instructions for building libpq only,
https://www.postgresql.org/docs/current/static/install-windows-libpq.html
but I believe you still need most of the prerequisites as outlined in
17.1.1 ... 17.1.3 discusses a mkvcbuild.pl which makes a pgsql.sln
project(?) for Visual Studio

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2017-05-02 02:49:39 Re: Compatibility of libpg
Previous Message Igor Korot 2017-05-02 00:44:44 Re: Compatibility of libpg