-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/07/2014 12:41 AM, Joe Conway wrote: > Yes, this pretty much exactly describes how I build PL/R for > Windows. I had to match my build system SDK with the one EDB uses > to get a compatible binary. It would be nice if we had something > equivalent to PGXS on Windows, or maybe even a community build > system where authors could get Windows binaries built.
I'd be interested in hearing if you have any luck doing this with a standlone MSVC build: .dll build type, no manifest, compile as C code, appropriate include and lib paths, define WIN32, link to postgres.lib, add PGDLLEXPORT to all declarations of functions with a PG_FUNCTION_INFO_V1, build. - -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJS01XNAAoJELBXNkqjr+S2S4QH/icetcqZDmsHFHjZnm3hY+LP M0+rU8+E3on5V/JmWR3bBESmlYXRYM53LmgwapwCfQ45rsrMSiKACyxtl/XkWsEh 38NTsagjlZtsyZIiUoe9d0szSNQerS86ZDBwXAvJnBSNLQy1AnDQ5tzsFbdeZph4 veL6MnoKNIacfbkEBoCjM0KyYdjnYnt4nRlmbGKQNg/h4Y9KqgJsFFpk0r8dfz+v KNPPyOmdHIcMyCgJS9hIdAdzc+CPPjYBZC3oVVQAuIOsqccmTykPr4Nh3MVcSfCy JJTRZhzgU6TdRZIi4adY8Ys39O+TJM2T5Wr1xJ6+Eapnd6L1AiY/08jbZIrsFVc= =5/Y6 -----END PGP SIGNATURE----- -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers