Share via


Including a Replacement Floating Point C Run-Time Library in a Run-Time Image (Windows Embedded CE 6.0)

1/5/2010

After you have created a replacement floating point C run-time library, you can choose to include it in a Windows Embedded CE-based run-time image.

For information about the guidelines for creating a replacement floating point C run-time library, see Replacement Floating Point C Run-Time Library Creation Overview.

For information about how to create an OS design project that you can use to build a run-time image, see How to Use the IDE to Create, Customize, and Build a Run-Time Image.

The following procedure assumes that you have created both a replacement floating point C run-time library and an OS design.

To include a replacement floating point C run-time library in a run-time image

  1. In Platform Builder, select and then open the existing OS design into which you want to include the replacement floating C run-time library that you have created.

  2. From the View menu, select Other Windows, and then select Catalog Items View.

  3. In the Catalog Items View window, navigate to and select the Catalog item OEM Floating Point CRT (ARM only).

    An alternate method is to set the Sysgen variable SYSGEN_OEM_FPCRT=1.

    Regardless of the method that you use, this results in the exclusion of the standard floating point CRT library from the OS design, which means that Platform Builder does not copy the library to the flat release directory associated with your OS design.

  4. In the Solution Explorer, navigate to and open the Parameter Files folder.

  5. For each Project.bib file associated with your OS design, edit it by adding the following lines to the MODULES section in each file, and then save your changes.

    fpcrt.dll      $(_FLATRELEASEDIR)\fpcrt.dll    NK  SH
    k.fpcrt.dll    $(_FLATRELEASEDIR)\fpcrt.dll    NK  SHMK
    

    For information about .bib files, see Binary Image Builder File.

  6. From the Build menu, perform a clean targeted build of your OS design.

  7. To verify that the correct versions of Fpcrt.dll and K.fpcrt.dll are included in the run-time image, use Viewbin. For more information, see Viewbin Tool.

    You have successfully included a replacement floating point C run-time library in your run-time image, and you are now ready to download the run-time image to a target device.

See Also

Concepts

Replacement Floating Point C Run-Time Library Creation Overview

Other Resources

Replacement Floating Point C Run-Time Library