Share via


Creating a Command Prompt Build Window

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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. From the desktop, choose the Start button, choose Programs, choose Accessories, and then choose Command Prompt.

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

    set _WINCEROOT=<DRIVE:\>Wince600
    
  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 ARMV4I processor, and for the CEPC hardware platform.

    Wince.bat ARMV4I MyProj CEPC
    

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

Tasks

Building a Run-time Image Using the Build Demo Tool

Other Resources

Run-Time Image Build Process
Miscellaneous Environment Variables
Set Environment Variable Tool