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

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

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
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:24:09
Message-ID: 4ECE0D39.7060100@cybertec.at (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

2011-11-24 09:55 keltezéssel, Pavel Golub írta:
>
> Can you please provide me with some howto on building PG sources with
> mingw-w64? 

Install Fedora 15 or 16, add this repo file into /etc/yum.repos.d :

http://build1.openftd.org/fedora-cross/fedora-cross.repo

Then "yum install mingw*". This will install mingw64 both 32 and 64-bit.
Replaces a lot of official mingw32 packages from Fedora.

Then you can do for 32-bit:

cd postgresql-9.1.1
mingw32-configure
mingw32-make
sudo mingw32-make install

or for 64-bit:

mingw64-configure
mingw64-make
sudo mingw64-make install

Best regards,
Zoltán Böszörményi

-- 
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
     http://www.postgresql.at/


In response to

pgsql-hackers by date

Next:From: Florian WeimerDate: 2011-11-24 09:27:51
Subject: Re: Making TEXT NUL-transparent
Previous:From: Pavel StehuleDate: 2011-11-24 09:21:21
Subject: Re: Making TEXT NUL-transparent

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