Setting Up a Command-Line Build Shell
Other versions of this page are also available for the following:
8/27/2008
To create and build the boot loader, you will need to set up a command-line build shell.
To set up a command-line build shell
From the Windows taskbar, choose Start, Programs, Accessories, and then choose Command Prompt.
At the command prompt, type the following text string:
set _WINCEROOT=<DRIVE:\>wince500
Wince500 is the name of the topmost directory for the Windows Embedded CE operating system (OS). For more information about the hierarchy of directories, see Run-Time Image and OS Directories.
Type the following text string:
cd %_WINCEROOT%\public\common\oak\misc
Run the Wince.bat batch file.
This step configures all the command-line environment variables for a particular OS design. In this example, you are building for an ARM processor, ARMV4I, a CEBASE image, and a platform called MyPlatform. The following example shows the syntax for this particular configuration:
Wince.bat ARMV4I CEBASE MyPlatform
For more information about Wince.bat, see Windows Embedded CE Build Environment Tool.
Setting the _WINCEROOT environment variable and then running the Wince.bat batch file can be combined into a single icon on the desktop. Microsoft recommends this as the way to establish a build shell.