Re: Compile static postgres.lib for postgres 15.3 on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile static postgres.lib for postgres 15.3 on Windows
Дата
Msg-id 2326806.1690548487@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Compile static postgres.lib for postgres 15.3 on Windows  (Priess Stefan <stefan.priess@nexus-chili.com>)
Ответы AW: Compile static postgres.lib for postgres 15.3 on Windows
Список pgsql-general
Priess Stefan <stefan.priess@nexus-chili.com> writes:
> up to version 9.6.22 there was a win32.mak file in the src/interfaces/libpw folder which could be used to compile a
staticpostgres.lib using nmake. Since Postgres 10 this file has been removed. 

Yup.  It didn't really work right and there was insufficient interest
in maintaining it.

> Is it still possilbe to build a static postgres.lib for windows ? And if so, how do I do it.

Run the normal build process using MSVC, and then just take libpq.lib
from the results.  On any modern machine that's just going to take
a few minutes, so it's not worth maintaining a separate libpq-only
build path.

            regards, tom lane



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

Предыдущее
От: Gert Cuykens
Дата:
Сообщение: impact pgbench on a physical replicated stream
Следующее
От: Amn Ojee Uw
Дата:
Сообщение: Re: PostgreSQL - How to login with my Linux user account