Re: Is there a way to build PostgreSQL client libraries with MinGW

From: Xiaobo Gu <guxiaobo1982(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Is there a way to build PostgreSQL client libraries with MinGW
Date: 2011-01-24 14:02:09
Message-ID: AANLkTikTTqCa_Yd9wfOvRuhT6sUdSFEDU9FWyZWSDGCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Hi,
According to http://www.pgbuildfarm.org/cgi-bin/show_status.pl, only
GCC 3.4.2 and 4.5.0 have successfully build PostgreSQL,and only under
32 bit Windows environment, and I guess from
http://archives.postgresql.org/pgsql-hackers/2010-12/msg02073.php that
you mean we should only the above two versions of GCC to build
PostgreSQL, but my questions are:
1. I have 64bit GCC 4.5.0 installed before installing the lasted
MinGW, but after that the gcc version became to 3.4.4, which is not
support, how to change the GCC other versions than the one shipped
with MSYS.

2.You have only test 3.4.2 and 4.5.0 for 32 bit environments, do the
64 bit versions of GCC work under 64bit Windows?

Xiaobo Gu

On Mon, Jan 24, 2011 at 5:19 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>
>
> On 01/23/2011 11:11 PM, Xiaobo Gu wrote:
>>
>> Yes, I want it working on 64 bit Windows Server 2003 R2 and 64 bit
>> Windows 7 home basic.
>> Which version of 32bit MinGW  do you use, I use the one shipped with
>> Rtools212.exe which is downloaded from
>> http://www.murdoch-sutherland.com/Rtools, and there is no chmod.
>>
>
> Please avoid top-answering on this list. I use the Mingw project's published
> files: <http://sourceforge.net/projects/mingw/files/>
>
> cheers
>
> andrew
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-01-24 15:23:10 Re: BUG #5837: PQstatus() fails to report lost connection
Previous Message Robert Haas 2011-01-24 11:55:10 Re: BUG #5837: PQstatus() fails to report lost connection

Browse pgsql-hackers by date

  From Date Subject
Next Message Vangelis Katsikaros 2011-01-24 14:56:24 Re: gist README
Previous Message Robert Haas 2011-01-24 13:29:53 Re: review: FDW API