|
From: Cesar S. <ces...@gm...> - 2007-09-01 12:14:22
|
Brian Hawley wrote: > > I'm slowly making progress on getting the new environment setup for > building drivers using mingw and msys. > [...] > 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. > Hi Brian, You may want to take a look at the libusb-win32 project: http://sourceforge.net/projects/libusb-win32/ It contains a USB device driver built with MinGW. I suggest looking at their makefiles for the compilation switches they used, and at the source code for guidance in writing a Windows device driver. As the libusb-win32 driver code is GPL'd, however, you must be prepared to license your own code under the same terms, if you ever distribute your derived work. Regards, Cesar |