Hello,

in the 32 bit build environment a simple include like

 >>> cat check.c >>>
     #include <ddk/ntddk.h>
<<< end check.c <<<

works with that command line:

     i686-pc-mingw32-gcc -c check.c

With the 64 bit toolchain (20100604_sezero) and headers from 
mingw-w64/experimental/ddk_test SVN 2511:

     x86_64-w64-mingw32-gcc -c check.c

this fails with missing headers, for example:
.../x86_64-w64-mingw32/include/ddk/ntddk.h:38:17: error: wdm.h: No such 
file or directory
.../x86_64-w64-mingw32/include/ddk/ntddk.h:42:17: error: mce.h: No such 
file or directory

I know, that I can set "-I$PREFIX/x86_64-w64-mingw32/include/ddk". But, 
the $PREFIX is a problem in this case. This needs an absolute path. The 
toolchain I can install somewhere and simple set the variable PATH for 
the binaries is enough to work. But now, for the DDK headers I need to 
know the absolute PATH of toolchin in the project Makefile for the the 
include path. :-(

Any ideas?

Is using  "#include <ddk/ntddk.h>" a generally foul, and I needs to use 
"#include <ntddk.h>"?

-- 
Henry N.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to