阅读:1501回复:2
关于DDK的命令行和VC配置
用DDK做驱动,既然DDK是基于命令行的,那么除了build还有什么命令呢。build -cz是什么意思,cz是什么意思
经过一些配置、调试可以用vc集成环境开发驱动了,但vc这个集成环境对于驱动开发有什么意义呢,都可以做什么呢,除了可以在其中写代码外还能做什么。 |
|
沙发#
发布于:2004-11-11 12:56
用DDK做驱动,既然DDK是基于命令行的,那么除了build还有什么命令呢。build -cz是什么意思,cz是什么意思 什么意思可以看帮助 build -? DDK驱动干嘛要挪到VC里 实际上在VC里编译的是DS开发的WDM驱动 |
|
|
板凳#
发布于:2004-11-11 13:34
BUILD: Version 4.22.3667
Usage: BUILD [-?] display this message [-#] force _objects.mac to be regenerated [-0] pass 0 generation only, no compile, no link [-2] same as old -Z (only do a 2 pass build - no pass 0) [-3] same as -Z [-a] allows synchronized blocks and drains during link pass [-b] displays full error message text (doesn't truncate) [-B [baseline]] Checks the build failures against a baseline If there is no baseline,terminates the build on the first error [-c] deletes all object files [-C] deletes all .lib files only [-D] check dependencies before building (on by default if BUILD_PRODUCT != NT) [-e] generates build.log, build.wrn & build.err files [-E] always keep the log/wrn/err files (use with -z) [-f] force rescan of all source and include files [-F] when displaying errors/warnings to stdout, print the full path [-g] Display warnings/errors/summary in color [-h] Hide console output [-G] enables target specific dirs files iff one target [-i] ignore extraneous dependency warning messages [-I] do not display thread index if multiprocessor build [-j filename] use 'filename' as the name for log files [-k] keep (don't delete) out-of-date targets [-l] link only, no compiles [-L] compile only, no link phase [-m] run build in the idle priority class [-M [n]] Multiprocessor build (for MP machines) [-n] No SYNCHRONIZE_BLOCK and SYNCHRONIZE_DRAIN directives [-o] display out-of-date files [-O] generate obj\_objects.mac file for current directory [-p] pause' before compile and link phases [-P] Print elapsed time after every directory [-q] query only, don't run NMAKE [-r dirPath] restarts clean build at specified directory path [-s] display status line at top of display [-S] display status line with include file line counts [-t] display the first level of the dependency tree [-T] display the complete dependency tree [-$] display the complete dependency tree hierarchically [-u] display unused BUILD_OPTIONS [-v] enable include file version checking [-w] show warnings on screen [-x filename] exclude include file from dependency checks [-X] generates build.xml file [-Xv] generates verbose build.xml file [-y] show files scanned [-z] no dependency checking or scanning of source files - one pass compile/link [-Z] no dependency checking or scanning of source files - three passes [-why] list reasons for building targets [-386] build targets for 32-bit Intel [-x86] Same as -i386 [-ia64] build targets for IA64 [-amd64] build targets for AMD64 [-arm] build targets for ARM [-jpath pathname] use 'pathname' as the path for log files instead of "." [-nmake arg] argument to pass to NMAKE [-clean] equivalent to '-nmake clean' Non-switch parameters specify additional source directories * builds all optional source directories BUILD: Done |
|