Обсуждение: PostgreSQL fails to build with 32bit MinGW-w64

Поиск
Список
Период
Сортировка

PostgreSQL fails to build with 32bit MinGW-w64

От
kmx
Дата:
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


Вложения

Re: PostgreSQL fails to build with 32bit MinGW-w64

От
Robert Haas
Дата:
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