7 Linker

This chapter describes the operation and the usage of the linker.

The application name of the linker is hlink. In most instances it will not be necessary to invoke the linker directly, as the compiler driver, xc8-cc, will automatically execute the linker with all the necessary arguments. Using the linker directly is not simple, and should be attempted only by those with a sound knowledge of the requirements of the linking process. If psects are not linked correctly, code failure can result.