Re: [GENERAL] Compatibility of libpg

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: [GENERAL] Compatibility of libpg
Дата
Msg-id c7b5f4f8-6346-d0cb-0c26-7a825149906f@hogranch.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Compatibility of libpg  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: [GENERAL] Compatibility of libpg  (Igor Korot <ikorot01@gmail.com>)
Список 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



В списке pgsql-general по дате отправления:

Предыдущее
От: Igor Korot
Дата:
Сообщение: Re: [GENERAL] Compatibility of libpg
Следующее
От: Igor Korot
Дата:
Сообщение: Re: [GENERAL] Compatibility of libpg