Choosing a Build Environment
The Windows Driver Kit (WDK) contains a variety of build environments for different operating systems and processors. These environments are all named for the binaries that they build, not the operating system that the build occurs on. For example, choose one of the Windows XP build environments to create drivers for Windows XP systems.
With one exception, you can use any build environment on any computer. For example, you can use the Windows XP build environments on a Windows Server 2003 computer to build binaries that will run on Windows XP. Or you can use the Windows Server 2008 IA-64 build environment on a Windows Vista Professional computer with an x86 processor to build binaries that will run on an Intel Itanium computer with Windows Server 2008.
The one exception is that you cannot build 16-bit binaries (such as virtual device drivers or boot loaders) on an Itanium computer or an x64-based computer. When you install the WDK on a 64-bit computer, the 16-bit build environments will not be available during installation.
文档可以直接查看WDK下自带的Help目录
x86:Windows是32位版本,和CPU是32位还是64位无关
x64:64位版本的Windows
IA64:Intel的与x86不兼容的64位平台
所以一般用x86就好了
常用的编译命令就是build

本文详细介绍了Windows Driver Kit (WDK)中为不同操作系统和处理器提供的多种构建环境。通过选择合适的构建环境,可以创建适用于特定操作系统的驱动程序。例如,使用Windows XP构建环境来创建适用于Windows XP系统的驱动程序。文章还强调了通用性,说明大多数构建环境可以在任何计算机上使用,包括跨不同架构的移植能力。

510

被折叠的 条评论
为什么被折叠?



