PostgreSQL fails to build with 32bit MinGW-w64

Started by kmxabout 15 years ago2 messagesbugs
Jump to latest
#1kmx
kmx@atlas.cz

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

Attachments:

postgresql-9.0.4.difftext/plain; name=postgresql-9.0.4.diffDownload+12-8
#2Robert Haas
robertmhaas@gmail.com
In reply to: kmx (#1)
Re: PostgreSQL fails to build with 32bit MinGW-w64

On Thu, Jul 7, 2011 at 7:51 PM, kmx <kmx@atlas.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