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:pa...@gf.microolap.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers