Skip site navigation (1) Skip section navigation (2)

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

From: Pavel Golub <pavel(at)microolap(dot)com>
To: Lars Kanis <kanis(at)comcard(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Date: 2011-11-24 08:55:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hello, Lars.

You wrote:

LK> Hi PostgreSQL hackers,
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> 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> 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

Can you please provide me with some howto on building PG sources with

With best wishes,
 Pavel                          mailto:pavel(at)gf(dot)microolap(dot)com

In response to


pgsql-hackers by date

Next:From: Alexander ShulginDate: 2011-11-24 08:58:57
Subject: Re: Notes on implementing URI syntax for libpq
Previous:From: NISHIYAMA TomoakiDate: 2011-11-24 08:48:04
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group