5.7.4.1 xc-dsc-gcc - General Category
| Option | Description | Command Line |
|---|---|---|
| Generate debugging info | Check to create an ELF file with
information to allow debugging of code in MPLAB X IDE. Uncheck for production code. | -g |
| Isolate each function in a section | Check to place each function into its
own section in the output file. The name of the function determines the
section’s name in the output file. Note: When you
specify this option, the assembler and linker may create larger
object and executable files and will also be slower. Uncheck to place multiple functions in a section. | -ffunction-sections |
| Place data into its own section | Place each data item into its own
section in the output file. The name of the data item determines the name of the section. When you specify this option, the assembler and linker may create larger object and executable files and will also be slower. | -fdata-sections |
| Use 64-bit double | Use long double
instead of double type equivalent to float. Mixing this
option across modules can have unexpected results if modules share
double data either directly through argument passage or indirectly
through shared buffer space. | -fno-short-double |
| Disable instruction scheduling | Prevent the compiler from scheduling instructions. | -fno-schedule-insns
|
| Fill upper value for data in flash | Fill upper flash memory with the value specified. | -mfillupper=value |
| Name the text section | Place text (program code) in a section named
name rather than the default .text
section. | -mtext=name |
