5.6.4.5 Symbols and Macros

Table 5-12. Symbols and Macros Category
OptionDescriptionCommand Line1
Linker symbolsCreate a global symbol in the output file containing the absolute address (expr). You may use this option as many times as necessary to define multiple symbols in the command line. A limited form of arithmetic is supported for the expr in this context: you may give a hexadecimal constant or the name of an existing symbol, or use + and - to add or subtract hexadecimal constants or symbols.--defsym=sym
Preprocessor macro definitionsAdd linker macros.-Dmacro
SymbolsSpecify symbol information in the output.

-S or

--strip-debug; -s or

--strip-all

  1. For details on linker command-line options, see MPLAB® XC32 Assembler, Linker and Utilities User’s Guide for PIC32A MCU.