Port for Microsoft Services for Unix (SFU) or SUA

From: Josh Rovero <rovero(at)sonalysts(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Port for Microsoft Services for Unix (SFU) or SUA
Date: 2009-12-28 21:17:31
Message-ID: 1262035051.28699.51.camel@jetstream.sonalysts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Has anyone built postgresql (or just libpq.a) on Windows SFU/SUA?
Would prefer to not reinvent any wheels....

We have a number of Unix/Linux applications that are also compiled
under Microsoft Windows SFU 3.5. We need to have a SFU-compatible
libpq.a, not a complete install. The regular Unix/Linux or
Win32 postgresql database runs fine, these apps just need to connect.

The system has a gnu build environment using the utilites
from Interop Systems at http://www.suacommunity.com/SUA.aspx.
The "complete toolset" has gcc, gmake, etc.

The OS reports itself (uname -a) as:
Interix zonda 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model72_Stepping2

I have run into and fixed a few issues, like INADDR_LOOPBACK not being
defined in the Interix /usr/include/netinet/in.h, adding "dummy"
entries for src/include/port/interix.h, src/template/interix,
src/backend/port/dynloader/interix.[c|h], etc,

./configure runs, and gcc compiles things fine up until
the first "ar", where I see "ar: illegal option -- g".

Thanks in advance,
--
P.J. "Josh" Rovero Vice President Sonalysts, Inc.
Email: rovero(at)sonalysts(dot)com www.sonalysts.com 215 Parkway North
Work: (860)326-3671 Waterford, CT 06385

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message matt 2009-12-28 21:30:44 parse tree to XML format
Previous Message Kevin Grittner 2009-12-28 20:33:41 Admission Control Policy