5.7.2 XC-DSC (Global Options)
Set up global options for all XC-DSC language tools. See the 5.7.7 Options Page Features section for further information.
| Option | Description | Command Line |
|---|---|---|
| Override default device support | Check to automatically handle issuing the DFP (device file
pack) location (-mdfp). Uncheck to allow compiler defaults. | |
| Output file format | ELF/DWARF is the default output file format. | -omf=elf |
| Define common macros | Add macros common to compiler, assembler and linker. | -Dmacro |
| Generic build | Build for a generic core device (no peripherals). | |
| Don’t delete intermediate files | Check to not delete intermediate files. Place
them in the object directory and name them based on the source file. Uncheck to remove intermediate files after a build. | -save-temps=obj |
| 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. | -Idir |
| Elf file to use for preserved locations | Elf file which will be used to look up previous defined
sections and use the locations from that object file for the new compiled
project. Relative paths are from MPLAB X project directory. | --preserved="file.elf" |
| Preserve locations on C files only | Preserve any locations within a C file. This will NOT preserve locations from precompiled libraries or assembly source files. | -mpreserve-all |
| Preserve all locations within the project | --preserve-all |
