Re: ./configure fails for --host=i686-w64-mingw32 on Ubuntu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Golub <pavel(at)gf(dot)microolap(dot)com>, Pavel Golub <pavel(at)microolap(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ./configure fails for --host=i686-w64-mingw32 on Ubuntu
Date: 2017-11-16 22:35:26
Message-ID: 10406.1510871726@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Golub <pavel(at)microolap(dot)com> writes:
> Following instructions on Wiki
> https://wiki.postgresql.org/wiki/Building_With_MinGW I was trying to
> cross compile PostgreSQL 10.1 from a Linux box (Ubuntu 16.04). But it
> always fails on configure step. I tried two different systems, results
> are the same.

> $ ./configure --host=i686-w64-mingw32

Hm, are you sure you interpreted the wiki page's directions properly?
If you are running on a 64-bit Linux box, I think you need
--host=x86_64-w64-mingw32

I'm trying this on a Fedora box right now, and although it's
really slow, it seems to be working ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2017-11-16 22:43:20 Re: [HACKERS] ginInsertCleanup called from vacuum could still miss tuples to be deleted
Previous Message Simon Riggs 2017-11-16 22:34:50 Re: [HACKERS] SERIALIZABLE on standby servers