Lists: | pgsql-bugs |
---|
From: | kmx <kmx(at)atlas(dot)cz> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | PostgreSQL fails to build with 32bit MinGW-w64 |
Date: | 2011-07-07 23:51:16 |
Message-ID: | 4E164674.7070103@atlas.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Hi,
couple of weeks (maybe months) ago postgresql introduced support for mingw-w64 compiler on
MS Windows platform; however the related patch was based on assumption that
mingw-w64 project delivers just 64bit compiler (which is not true - they
deliver both 32/64bit compilers).
According to my testing - postgresql-9.0.4 does compile fine with 64bit
mingw-w64 but fails with 32-bit mingw-w64 compiler.
Try to have a look at the enclosed patch which makes it possible to compile
postgresql-9.0.4 with 32bit mingw-w64.
--
kmx
Attachment | Content-Type | Size |
---|---|---|
postgresql-9.0.4.diff | text/plain | 2.5 KB |
From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | kmx <kmx(at)atlas(dot)cz> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: PostgreSQL fails to build with 32bit MinGW-w64 |
Date: | 2011-07-20 19:06:47 |
Message-ID: | CA+TgmoY2Q+6Va6vX5=61rTkPRcvTnK=vHLMYmGsmVmE8dpVrow@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
On Thu, Jul 7, 2011 at 7:51 PM, kmx <kmx(at)atlas(dot)cz> wrote:
> couple of weeks (maybe months) ago postgresql introduced support for mingw-w64 compiler on
> MS Windows platform; however the related patch was based on assumption that
> mingw-w64 project delivers just 64bit compiler (which is not true - they
> deliver both 32/64bit compilers).
>
> According to my testing - postgresql-9.0.4 does compile fine with 64bit
> mingw-w64 but fails with 32-bit mingw-w64 compiler.
>
> Try to have a look at the enclosed patch which makes it possible to compile
> postgresql-9.0.4 with 32bit mingw-w64.
You might want to read this:
http://wiki.postgresql.org/wiki/Submitting_a_Patch
And add your patch here:
https://commitfest.postgresql.org/action/commitfest_view/open
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company