This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH v1] setup: allow building with i686-w64-mingw32
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 03 Jun 2012 09:19:29 -0500
- Subject: [PATCH v1] setup: allow building with i686-w64-mingw32
- References: <4FC87306.2080405@users.sourceforge.net>
On 2012-06-01 02:45, Yaakov (Cygwin/X) wrote:
Fedora has switched from the i686-pc-mingw32 toolchain to the
{i686,x86_64}-w64-mingw32 toolchains in F17. This means that setup
cannot currently be built on F17.
The attached draft patches for setup and mingw64-headers (r4913) allow
setup to be built cleanly and work correctly (AFAICS) with both i686
toolchains.
The code also compiles cleanly on x86_64-w64-mingw32 but needs some
additional LIBS as I circumvented autoload.c, which is clearly 32-bit
specific and should be unnecessary on 64-bit Windows (being new enough
to have all these functions). This probably needs further functional
changes and probably isn't useful until we have a 64-bit Cygwin, but it
did expose some type incompatibilities.
These are NOT ready to commit right now; they are being posted to help
collaboration with mingw-w64 to make this work.
Yaakov
Attachment:
setup-mingw64.patch
Description: application/itunes-itlp
Attachment:
mingw64-headers.patch
Description: application/itunes-itlp