pgxs under Win32 for PL/Java

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Thomas Hallgren <thhal(at)mailblocks(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: pgxs under Win32 for PL/Java
Date: 2004-11-07 10:28:52
Message-ID: Pine.GSO.4.58.0411071121220.20318@chailly99
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Dear Thomas,

> I'm trying to change the Makefile system for PL/Java so that it uses
> PGXS instead of compiling using a complete PostgreSQL source tree. As it
> turns out, the directory "include/port/win32" is not present in the
> PostgreSQL binary installation. Without it, it's not possible to compile
> on win32.

Please find enclosed a patch which attempts to fix your use of pgxs under
win32:
- install port/* includes
- install libpostgres.a by default (it seems to require MAKE_DLL=true)
- fix include path under win32 portname

The specific win32 fixes are performed in the Makefile.win32 file.

I have no mean to test that on a win32 machine. Could you do it?

I'm wondering whether the MAKE_DLL fix should also be done under cygwin.
Any opinion?

Thanks in advance,

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr

Attachment Content-Type Size
make-win32.patch text/plain 1.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-11-07 10:50:59 Re: pgxs under Win32 for PL/Java
Previous Message Simon Riggs 2004-11-07 09:01:51 Re: Proposal for Recover mode in pg_ctl (in 8.0)

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Hallgren 2004-11-07 10:50:59 Re: pgxs under Win32 for PL/Java
Previous Message Simon Riggs 2004-11-07 08:33:10 Re: contrib/xml2: add function xml_encode_special_chars