Linker Architecture

A linker combines and arranges data and instructions from one or more object code files into a single file, or image. This image is ready to execute on the target platform. The CodeWarrior linker uses settings from the host's integrated development environment (IDE) or command line to determine how to generate the image file.

The linker also normally requires a linker command file and may read a 'libs.db' file that defines the EWL (Embedded Warrior Library) model. A linker command file allows you to specify precise details of how data and instructions should be arranged in the image file.

Note: For more information on the Embedded Warrior Library (EWL) for C or C++, see the following manuals: EWL C Reference and EWL C++ Reference

The following is the list of steps the CodeWarrior linker takes to build an executable image.