IBM
Contents Index Previous Next



Introduction


This chapter describes the source code of the runtime library for applications generated by the Cadvanced/Cbasic SDL to C Compiler. Applications generated by the Cmicro SDL to C Compiler are not covered.

The chapter covers basically two topics:

  1. The sections File Structure, The Symbol Table, and The SDL Model describe the run-time model for programs generated by the SDL Cadvanced/Cbasic SDL to C Compiler.
    Mainly it is the data structure used to represent various SDL objects that is discussed, both from the static point of view (the type definitions), and from the dynamic point of view (what information it represents and how it is initialized, changed, and used).
    The full runtime model that is used during simulations (with the monitor) is described. From this model, an optimization is made to obtain an application (not using the monitor). The optimization is discussed under Compilation Switches.
  2. In the sections Compilation Switches, Creating a New Library, and Adaptation to Compilers, different aspects on how to make new versions of the runtime library are discussed.
    The compilation switches treated in the section Compilation Switches are used to determine the properties of the runtime library and the generated C code, while section Creating a New Library shows how to make new versions of the runtime library using for example new combinations of compilation switches.
    In the section Adaptation to Compilers, porting issues are discussed.

http://www.ibm.com/rational
Contents Index Previous Next