pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Compile static postgres.lib for postgres 15.3 on Windows 2+ messages / 2 participants [nested] [flat]
* Compile static postgres.lib for postgres 15.3 on Windows @ 2023-07-28 10:23 Priess Stefan <stefan.priess@nexus-chili.com> 0 siblings, 1 reply; 2+ messages in thread From: Priess Stefan @ 2023-07-28 10:23 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org> Hi all, 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 static postgres.lib using nmake. Since Postgres 10 this file has been removed. Is it still possilbe to build a static postgres.lib for windows ? And if so, how do I do it. Thanks! Stefan nexus / chili Stefan Priess Softwareentwicklung Tel: +49 6221 18079-10 E-Mail: stefan.priess@nexus-chili.com NEXUS / CHILI GmbH, Friedrich-Ebert-Str. 2, 69221 Dossenheim/Heidelberg www.nexus-chili.com<http://www.nexus-chili.com/; Eingetragene Gesellschaft beim Registergericht Mannheim, HRB 337363 Geschäftsführer: Dr. Uwe Engelmann, Dr. Heiko Münch ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Compile static postgres.lib for postgres 15.3 on Windows @ 2023-07-28 12:48 Tom Lane <tgl@sss.pgh.pa.us> parent: Priess Stefan <stefan.priess@nexus-chili.com> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2023-07-28 12:48 UTC (permalink / raw) To: Priess Stefan <stefan.priess@nexus-chili.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org> 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 static postgres.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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-07-28 12:48 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-07-28 10:23 Compile static postgres.lib for postgres 15.3 on Windows Priess Stefan <stefan.priess@nexus-chili.com> 2023-07-28 12:48 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox