Linking

The Code Development Systems support two styles of linking: traditional linking using BClink, and Absolute Code Mode.

Linking combines several precompiled object code files and resolves the references between them. In desktop computers, the linker, librarian, and loader all contribute to turning modular compiled software components into a runnable executable. The reasons for using a separate linker program are not as compelling when talking about embedded systems without operating systems.

Traditional linking with BClink involves compiling individual C modules into object files (.OBJ), and then linking them together using BClink and a linker command file. The linker command file specifies the objects, libraries, and options to be used for the final executable. Most importantly, the linker command file must include all the #pragma options to configure the compiler.