Forwarding to mingw-w64 list.

Some of the headers modified is generated from WINE widl, so the
preprocessor should be changed instead, jacek?

Kai, Ozkan, what do you make of these changes (mingw64-headers.patch)?

-------- Original Message --------
Subject: [PATCH v1] setup: allow building with i686-w64-mingw32
Date: Sun, 03 Jun 2012 09:19:29 -0500
From: Yaakov (Cygwin/X) <yselkow...@users.sourceforge.net>
To: cygwin-a...@cygwin.com

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

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to