다음을 통해 공유


Setting Up a Command-Line Build Shell (Windows CE 5.0)

Send Feedback

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:\>wince500
    

    Wince500 is the name of the topmost directory for the Windows CE operating system (OS). For more information about the hierarchy of directories, see Run-Time Image 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 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 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.