Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
От | Pavel Golub |
---|---|
Тема | Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64 |
Дата | |
Msg-id | 447208425.20111124105501@gf.microolap.com обсуждение исходный текст |
Ответ на | [PATCH] PostgreSQL fails to build with 32bit MinGW-w64 (Lars Kanis <kanis@comcard.de>) |
Ответы |
Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64 |
Список | pgsql-hackers |
Hello, Lars. You wrote: LK> Hi PostgreSQL hackers, LK> LK> support for Mingw-w64 compiler was added to postgres with commit LK> 91812df. Unfortunately only the 64 bit output is working right LK> now. This issue was already highlighted with initial patch in LK> http://archives.postgresql.org/pgsql-bugs/2011-07/msg00059.php LK> LK> Mingw-w64 uses the same header files for 32 and 64 bit compiles. LK> So the same conditions apply to mingw-w32 bit as for the WIN64 LK> case. In WIN64 "WSAAPI" is defined to nothing, but in 32 bit to LK> stdcall, so it needs to be used in the accept-parameter check, LK> too. Maybe you prefer PASCAL instead of WSAAPI in configure. LK> LK> I tested successful compilation for the following platforms: LK> - i686-w64-mingw32 - gcc v4.6.1 LK> - x86_64-w64-mingw32 - gcc v4.6.1 LK> - i586-mingw32msvc - gcc v4.4.4 LK> - x86_64-linux-gnu - gcc v4.6.1 LK> Can you please provide me with some howto on building PG sources with mingw-w64? -- With best wishes,Pavel mailto:pavel@gf.microolap.com
В списке pgsql-hackers по дате отправления: