[RFU] mingw64
JonY
jon_y@users.sourceforge.net
Mon Aug 8 10:19:00 GMT 2011
On 8/8/2011 16:21, Corinna Vinschen wrote:
> Btw., I just found that the same headers are missing in
> mingw64-i686-headers-1.0b_svn4214-1.tar.bz2, so it's not target
> dependent. I didn't check for other missing headers, though.
> I just noticed the problem because I created a testcase which
> included ddk/ntddk.h.
>
> And here's another problem. Even with the older svn4075 headers
> I have a problem when building stuff using ddk headers:
>
> $ cat > x.c <<EOF
> #include <ddk/ntddk.h>
> int main() { return 0; }
> EOF
> $ x86_64-w64-mingw32-gcc -g -o x x.c
> In file included from x.c:1:0:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:38:17: fatal error: wdm.h: No such file or directory
> compilation terminated.
>
> The problem is that ntddk.h does not include <ddk/wdm.h>, but only
> <wdm.h>, so every time I want to build something using the ddk headers I
> have to add something like -I=/mingw/include/ddk to the gcc command
> line. Is that intentional? From my perspective, this is a bug in the
> ddk headers.
>
Some digging around reveals that this is indeed intentional to reflect
with MS DDK where additional -I is required, this is one of the
difference between mingw.org and mingw-w64 headers set. I think some
headers got moved around since then.
I'll still try to make refresh updates when I get the time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20110808/9465ecbe/attachment.sig>
More information about the Cygwin-apps
mailing list