Required Libraries and Source Code Files

Every CodeWarrior project must include a runtime library.

Select the library appropriate for your project, given the language your are using (C or C++), the processor on your target board, and your target setting choices. Use the information in Runtime Library Naming Conventions to help you pick the correct library.

The runtime libraries are in this directory:

    installDir \PowerPC_EABI_Support\Runtime\Lib\ 
  

Along with the pre-built runtime libraries, this CodeWarrior product includes the source code and project files required to build the runtime libraries. As a result, you can modify them as necessary.

All runtime library source code files are in this directory:

installDir\PowerPC_EABI_Support\Runtime\Src

The runtime library project files are in this directory:

installDir\PowerPC_EABI_Support\Runtime\Project

The project names are Runtime.PPCEABI.mcp and Run_EC++.PPCEABI.mcp . Each project has a different build target for each configuration of the runtime library.

For more information about customizing the runtime libraries, read the comments in the source code files as well as the runtime library release notes.

Note: The C and C++ runtime libraries do not initialize hardware. The CodeWarrior tools assume that you load and run the programs linked with these libraries with the CodeWarrior debugger. When your program is ready to run as a standalone application, you must add the required hardware initialization code.

Finally, in addition to a runtime library, every C and C++ project must include one of the startup files listed below. These files contain functions called by the runtime code that you can customize if necessary. One kind of customization is board-specific initialization. For other customization examples, see either of these files: