Web lists-archives.org

[Mingw-users] building winddk sample driver





I'm slowly making progress on getting the new environment setup for 
building drivers using mingw and msys.

I've run into another glitch that perhaps someone can help with.

I'm using the 6001 ddk and attempting to compile the sample echo driver 
(which is WDF based).

I see that mingw has its own tree of include files, and that wdf.h is not 
there.  It is reasonable to assume that MinGW doesn't support the WDF yet?

If I don't modify the include of <ntddk.h> to <ddk/ntddk.h> then ntddk can 
not be found.  And, if I add the WinDDK include path with -I, i get a lot of
redefined references.

I don't intend to build the entire DDK, I'm just looking to validate that a 
driver built with mingw acts the same as when build with 'build' of the DDK.

thanks in advance for any help.

-- Brian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users