4.1.1 XC32 Global Options

The following global feature controls are displayed in the MPLAB X IDE and VS Code project property dialogs, along with their corresponding driver options. When used, these options are applied at each stage of the compilation process.

Table 4-1. XC32 Global General Options Category
OptionDescriptionCommand Line
Override default device supportSelect “Do not override” to build the project with a default DFP. Select “Compiler location” to use the relevant DFP shipped with the compiler. DFPs provide device-specific information, such as register names and addresses, which can be used by code in the project.-mdfp
Don’t delete intermediate filesDon’t delete intermediate Files. Place them in the object directory and name them based on the source file.-save-temps[=dir]
Link-Time OptimizationsWhen these optimzations are enabled, the build will be constrained in the following ways:

- The per-file build settings will be ignored

- The build will no longer be an incremental one (full build only)

-f[no-]lto
Use GP relative addressing thresholdPut definitions of externally-visible data in a small data section if that data is no bigger than num bytes.-G num
Relaxed floating-point math

Link in a relaxed-compliance math library, providing alternative floating-point support routines that are faster and smaller than the default math routines, but make some sacrifices in compliance.

-relaxed-math
Common include dirs

Directory paths entered here will be appended to the already existing include paths of the compiler.

Relative paths are from the MPLAB X IDE project directory.

-I dir