[RFC] setup: allow building with i686-w64-mingw32

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Jun 1 16:03:00 GMT 2012

On 2012-06-01 03:47, JonY wrote:
> On 6/1/2012 15: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 patch fixes most of the issues with the build.  (I
>> just added the necessary mingw64-i686-* libraries to Ports.)  ntdll.h
>> needs some more work though; perhaps JonY could provide some input?
> Can you list some of the issues you've encountered with ntdll.h?

1) ddk/ntapi.h does not exist.

2) DDK headers can't find other DDK headers which they require.  IMHO 
those should be changed from <> includes to "" includes in mingw64-headers.

3) Once I circumvent those, I get a ton of redefinition and conflicting 
declaration errors between winnt.h and ddk/ntddk.h.  Its too long to 
list here, so I suggest you give it a try.


More information about the Cygwin-apps mailing list