[PATCH v1] setup: allow building with i686-w64-mingw32

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Sun Jun 3 14:19:00 GMT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-mingw64.patch
Type: application/x-itunes-itlp
Size: 16951 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20120603/7ae3844e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw64-headers.patch
Type: application/x-itunes-itlp
Size: 10264 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20120603/7ae3844e/attachment-0001.bin>


More information about the Cygwin-apps mailing list