6.6.1 XC16 (Global Options)
Set up global options for all 16-bit language tools. See also “Options Page Features”.
Option | Description | Command Line |
---|---|---|
Output file format | Select either ELF/DWARF or COFF. | -omf=elf
|
Define common macros | Add macros common to compiler, assembler and linker. | -Dmacro |
Generic build | Build for a generic core device (no peripherals). | |
Use legacy libc | Check to use libraries in the format before
v3.25. Uncheck to use the new (HI-TECH) libraries format. | -legacy-libc |
Fast floating point math | Check to use faster single and double
floating point libraries, which consume more RAM. Uncheck to use original libraries which are slower but create smaller code. | -fast-math |
Relaxed floating point math | Check to use relaxed-compliance math library.
This is a math library that follows slightly different rules than those the
IEEE standard dictates for infinities, NaNs, and denormal (tiny) numbers. Uncheck to use standard floating point math library. | -relaxed-math |
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 |