Building the Kernel Executable Image

The kernel, combined with the OAL, is the first service to run, and through the bring-up stages, it runs without the benefit of any sophisticated debug services. Bring the kernel up in stages and verify each stage before proceeding.

To build the kernel executable image

  1. From the command prompt, go to the kernel subdirectory: %_WINCEROOT%\Platform\<Platform>\Kernel.

  2. At the command prompt, enter the following command:

    build
    

    This generates %_WINCEROOT%\Platform\MyPlatform\Target\ARM\Kernkitl.exe. A Build.log file is also generated in the current working directory, which summarizes the build process. If the build fails, errors are recorded in the build log file.

    For more information about the Windows CE build tool, see Build Tool.

  3. Resolve any build errors by adding the necessary stub function or variable.

    For more information about creating stubs, see Creating Stubs for OAL Functions.

See Also

How to Develop an OEM Adaptation Layer

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.