Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
MPLAB
®
XC16 C Compiler Users Guide
DS50002071C-page 226 2012-2013 Microchip Technology Inc.
20.5 DEFAULT LINKER SCRIPT
The command line always requires a linker script. However, if no linker script is
specified in an MPLAB IDE project, the IDE will use the device linker script file
(device.gld) included with the compiler as the default linker script. This
device-specific file contains information such as:
Memory region definitions
Program, data and debug sections mapping
Interrupt and alternate interrupt vector table maps
SFR equates
Base addresses for various peripherals
Linker scripts may be found, by default, in:
<install-dir>\support\DeviceFamily\gld
where DeviceFamily is the 16-bit device family, such as dsPIC30F.
To use a custom linker script in your project, simply add that file to the command line
or the project in the Linker Script (MPLAB IDE v8) or Linker Files (MPLAB X IDE)
folder.
Protego_Release_01_05-Related-OEM-Documentation-MPLAB-XC16-C-Compiler.pdf