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]

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


On 6/2/2012 00:03, Yaakov (Cygwin/X) wrote:
> 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.
> 

I'm not sure about that, Kai?

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

You are supposed to use -I/path/to/include/ddk to use the headers, this
is one of the differences with mingw.org.

> 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.
> 

PSDK should not be used together with the DDK, Kai suggests using
winternl.h in place of ntddk.h.

Attachment: signature.asc
Description: OpenPGP digital signature


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