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

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

From: Lars Kanis <kanis(at)comcard(dot)de>
To: Pavel Golub <pavel(at)gf(dot)microolap(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Date: 2011-11-24 09:39:07
Message-ID: 5981833.d1fHQkAM7E@c1170lx (view raw or flat)
Thread:
Lists: pgsql-hackers
> Can you please provide me with some howto on building PG sources with
> mingw-w64? 

For 32/64 bit mingw-v4.6.1 on ubuntu 11.10:
apt-get install flex gcc-mingw-w64
./configure --host=i686-w64-mingw32 --build=x86_64-linux --without-zlib && make
and
./configure --host=x86_64-w64-mingw32 --build=x86_64-linux --without-zlib && make

For 32 bit mingw-v4.4.4 on ubuntu 11.10:
apt-get install flex gcc-mingw32
./configure --host=i586-mingw32msvc --build=x86_64-linux --without-zlib && make

Regards,
Lars Kanis

In response to

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2011-11-24 09:41:08
Subject: Re: Making TEXT NUL-transparent
Previous:From: Alexander ShulginDate: 2011-11-24 09:35:02
Subject: Re: Making TEXT NUL-transparent

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