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

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

From: NISHIYAMA Tomoaki <tomoakin(at)staff(dot)kanazawa-u(dot)ac(dot)jp>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: NISHIYAMA Tomoaki <tomoakin(at)staff(dot)kanazawa-u(dot)ac(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Date: 2011-11-25 04:13:12
Message-ID: 5366141B-0F19-4FBD-B6E1-ACBFDB9742B3@staff.kanazawa-u.ac.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

> The way to build natively with a mingw-w64 compiler is doumented fairly simply at <http://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-NOTES-MINGW>:
> 
>   To build 64 bit binaries using MinGW, install the 64 bit tool set
>   from http://mingw-w64.sourceforge.net/, put its bin directory in the
>   PATH, and run configure with the --host=x86_64-w64-mingw option. 
> 
> This is exactly how the buildfarm member pitta was set up.
> 
> The only issue here is how to add support for using the 32bit mingw-w64 compiler in pretty much the same way.


I hope that configure --host=i686-w64-mingw use 32 bit tool sets and 
construct a 32 bit binary.  It is mostly the same procedure and should have
sufficient information to distinguish them.  Both 64 bit and 32 bit binaries
should be runnable on the same 64 bit system.

Best regards,


In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-11-25 04:52:45
Subject: Re: [PATCH] Support for foreign keys with arrays
Previous:From: Andrew DunstanDate: 2011-11-25 03:52:37
Subject: Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64

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