5 Linking
The linker is always invoked when building projects using the PIC Assembler, unless
you stop the build prematurely by using the -c
option. The linker must
be executed to obtain a final program image to download to your hardware.
The linker is controlled by its own set of options. These options include those that specify the memory arrangement of the device. Linker scripts are not and cannot be used.
You do not need to run the linker explicitly to specify or change the linker
options. Several pic-as
driver options indirectly control the linker,
and the -Wl,
driver option can be used to pass through linker options
directly to the linker. This option also allows you to override some of the default
options issued to the linker by the driver.