Port for Microsoft Services for Unix (SFU) or SUA - Mailing list pgsql-hackers

From Josh Rovero
Subject Port for Microsoft Services for Unix (SFU) or SUA
Date
Msg-id 1262035051.28699.51.camel@jetstream.sonalysts.com
Whole thread Raw
Responses Re: Port for Microsoft Services for Unix (SFU) or SUA  (Magnus Hagander <magnus@hagander.net>)
List 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@sonalysts.com  www.sonalysts.com  215 Parkway North
Work:   (860)326-3671                            Waterford, CT 06385




pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Admission Control Policy
Next
From: Guillaume Lelarge
Date:
Subject: Re: Application name patch - v3