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: [RFU] mingw64


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.


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]