OSRLogo
OSRLogoOSRLogoOSRLogo x Seminar Ad
OSRLogo
x

Everything Windows Driver Development

x
x
x
GoToHomePage xLoginx
 
 

    Mon, 22 Oct 2018     118021 members

   Login
   Join


 
 
Contents
  Online Dump Analyzer
OSR Dev Blog
The NT Insider
Downloads
ListServer / Forum
  Express Links
  · The NT Insider Digital Edition - May-June 2016 Now Available!
  · Windows 8.1 Update: VS Express Now Supported
  · HCK Client install on Windows N versions
  · There's a WDFSTRING?
  · When CAN You Call WdfIoQueueP...ously

Changes to SOURCES in XP DDK

It seems a couple (not too frequently used) parameters have changed in the SOURCES file, as of the Windows XP DDK. For example, to allow different flags for different targets, according to MAKEFILE.DEF:

xxx_warning_level

xxx_optimization

xxx_STDCALL = 1 use _stdcall calling convention 0 use _cdecl calling convention

xxx_cppflags

Where:

xxx_... is {MSC|386|axp64|alpha|MPPC|ia64|amd64} where MSC_ applies to the C8 compiler independent of the cpu type. Specific cpu_ will take precedence over the equivalent MSC_ variable. 

These replace other, earlier, parameters (such as NTCPPFLAGS).

Believe it or not, much of this is now documented in the DDK documentation set. So, if you haven't read the DDK doc set recently, you haven't read the DDK doc set at all.

Also, this highlights the importance of re-reading MAKEFILE.DEF from time to time. It changes.

User Comments
Rate this article and give us feedback. Do you find anything missing? Share your opinion with the community!
Post Your Comment

Post Your Comments.
Print this article.
Email this article.
bottom nav links