Compartir a través de


Creating a Command Prompt Build Window (Windows CE 5.0)

Send Feedback

After you create an OS design, you can create a command-prompt build window to build your run-time image from.

To create a command prompt build window

  1. Choose the Start button, choose All Programs, choose Accessories, and then choose Command Prompt.

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

    set _WINCEROOT=<DRIVE:\>Wince500
    
  3. Navigate to %_WINCEROOT%\Public\Common\Oak\Misc.

  4. Run Wince.bat.

    The following code example shows how to use Wince.bat to set up environment variables for a specific configuration.

    In this example, Wince.bat sets up variables for an OS design named MyProj, which is targeted for the x86 processor, and for the CEPC hardware platform.

    Wince.bat x86 MyProj CEPC
    

    For more information about Wince.bat, see Windows CE Build Environment Tool.

  5. Set additional environment variables as needed.

    For information about environment variables you can set, see Environment Variables.

You can now run Blddemo.bat to perform the following tasks:

  • Build your modules and other functionality
  • Compile your source code
  • Copy your files into the directory specified by the _FLATRELEASEDIR environment variable
  • Make your run-time image

For information about Blddemo.bat, see Build Demo Tool.

See Also

Building a Run-time Image Using the Build Demo Tool | Run-Time Image Build Process | Miscellaneous Environment Variables | Set Environment Variable Tool

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.