- windows ddk build over cygwin build
- Posted by Sophia on August 27th, 2004
Are there any significant pro's and con's of driver build using native
windows ddk build utility on windows platform over cygwin build? does whql
expect any kind of specific build process?
thanks
- Posted by Don Burn on August 27th, 2004
Well since Microsoft changes things and getting all the parameters correct
for compiling and linking drivers is a pain, why would you use anything
other than what Microsoft supports. I've consulted to firms contracting out
drivers to 3rd parties and I tell them to reject any driver that has not
been built with the standard DDK build environment.
Seriously, Windows device driver writing is a complex task to begin with,
why in the world would you add potential additional problems by not using
the standard environment, especially since Microsoft gives away for the
price of shipping the DDK with everything you need.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"Sophia" <Sophia@discussions.microsoft.com> wrote in message
news:A1723628-756E-4541-A4B5-12235C30E779@microsoft.com...
- Posted by Mark Roddy on August 27th, 2004
In article <A1723628-756E-4541-A4B5-12235C30E779@microsoft.com>,
Sophia@discussions.microsoft.com says...
I'm not sure exactly what you mean by "ddk build utility...over cygwin
build". The ddk build utility is going to use nmake and is going to
expect specific environment variables to be set and is going to assume
that it is using the microsoft compilation toolset. None of that
correlates to the cygwin toolset. On the other hand if you are using
cygwin's version of make as a front end to drive a build process that
includes invoking the ddk build utility, that might work, depending on
how you arrange to invoke ddk build.
As Don pointed out, you are basically asking if it is ok to hurt
yourself, and the answer is, if you really must hurt yourself, and you
have good reason for doing so, then go ahead.
WHQL has no idea how you built your driver.
--
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
- Posted by Maxim S. Shatskih on August 28th, 2004
Nobody will help you in resolving any issues with CygWin build.
Also GCC is not compatible with MS's compiler in #pragma commands.
So, use the suggested tools 
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Sophia" <Sophia@discussions.microsoft.com> wrote in message
news:A1723628-756E-4541-A4B5-12235C30E779@microsoft.com...