Re: ./configure fails for --host=i686-w64-mingw32 on Ubuntu - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ./configure fails for --host=i686-w64-mingw32 on Ubuntu
Date
Msg-id 10406.1510871726@sss.pgh.pa.us
Whole thread Raw
In response to ./configure fails for --host=i686-w64-mingw32 on Ubuntu  (Pavel Golub <pavel@microolap.com>)
List pgsql-hackers
Pavel Golub <pavel@microolap.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


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] SERIALIZABLE on standby servers
Next
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] ginInsertCleanup called from vacuum could still misstuples to be deleted