18.3.7.3 MPLAB XC-DSC Toolchain
The required macros for the MPLAB XC-DSC toolchain are:
- MP_PROCESSOR_OPTION - device name used by the compiler
- MP_LINKER_FILE_OPTION which can be one of two strings:
",—script=myScript33ep512mu810.gld"
– Use this string if the project contains a linker script, in this case namedmyScript33ep512mu810.gld
.",-Tp33ep512mu810.gld"
– Use this string if the project does not contain a linker script. Use the name of the default linker script in the installation; in this case,p33ep512mu810.gld
. In Linux, the name of the.gld
file is case sensitive.
The optional macros for the MPLAB XC-DSC toolchain are:
- MP_EXTRA_CC_PRE
- MP_EXTRA_AS_PRE
- MP_EXTRA_AS_POST
- MP_EXTRA_AR_PRE (for lib projects)
- MP_EXTRA_AR_POST (for lib projects)
- MP_EXTRA_LD_PRE (for stand alone projects)
- MP_EXTRA_LD_POST (for stand alone projects)