Share via


Setting Up a Command-Line Build Shell

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

  1. From the Windows taskbar, choose Start, Programs, Accessories, and then choose Command Prompt.

  2. At the command prompt, type the following text string:

    set _WINCEROOT=<DRIVE:\>wince420
    

    Wince420 is the name of the topmost directory for the Windows CE operating system (OS). For more information about the hierarchy of directories, see Platform and OS Directories.

  3. Type the following text string:

    cd %_WINCEROOT%\public\common\oak\misc
    
  4. Run the Wince.bat batch file.

    This step configures all the command-line environment variables for a particular configuration. In this example, you are building for an ARM processor, ARMV4I, an HLBASE image, and a platform called MyPlatform. An HLBASE image is headless-based, which Microsoft recommends for new BSP development. The following example shows the syntax for this particular configuration:

    wince ARMV4I HLBASE MYPLATFORM
    

    For more information about Wince.bat, see Windows 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.

See Also

How to Develop a Boot Loader

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.