This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]