Client library cross-compiling: Win32, Win64, MacOSX. Possible?

Lists: pgsql-hackers
From: Pavel Golub <pavel(at)microolap(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Client library cross-compiling: Win32, Win64, MacOSX. Possible?
Date: 2011-11-16 07:58:05
Message-ID: 1277652641.20111116095805@gf.microolap.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello.

Are there any howto's or articles about building client access library
(libpq) for several target OSes, e.g. Win32, Win64, MacOS in the same
MinGW environment?

And is it possible at all? I know that there is MinGW-w64 to produce
Win64 binaries, but I want to have one farm for all.

If not, is there any opportunity to have needed binaries from some
postgresql build farms?

--
With best wishes,
Pavel mailto:pavel(at)gf(dot)microolap(dot)com


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pavel Golub <pavel(at)gf(dot)microolap(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Client library cross-compiling: Win32, Win64, MacOSX. Possible?
Date: 2011-11-21 18:12:47
Message-ID: 201111211812.pALIClY26360@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Pavel Golub wrote:
> Hello.
>
> Are there any howto's or articles about building client access library
> (libpq) for several target OSes, e.g. Win32, Win64, MacOS in the same
> MinGW environment?
>
> And is it possible at all? I know that there is MinGW-w64 to produce
> Win64 binaries, but I want to have one farm for all.
>
> If not, is there any opportunity to have needed binaries from some
> postgresql build farms?

I think we are just happy it works at all. I have rarely seen
cross-compiling on that platform.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +