5.6.2.2 Other Options

Table 5-3. Other Options Category
OptionDescriptionCommand Line1
Diagnostics level

Select warnings to display in the Output window. Select “Generate warnings” to have the usual warnings issued by the compiler; “Suppress warnings”to have only errors displayed, and "Fatal Warnings" to have the assembler treat warnings as if they were errors.

--[no-]warn

--fatal-warnings

Include source codeCheck for a high-level language listing. High-level listings require that the assembly source code is generated by a compiler, a debugging option like -g is given to the compiler, and assembly listings (-al) are requested.

Uncheck for a regular listing.

-ah
Expand macrosCheck to expand macros in a listing.

Uncheck to collapse macros.

-am
Include false conditionalsCheck to include false conditionals (.if, .ifdef) in a listing.

Uncheck to omit false conditionals.

-ac
Omit forms processingCheck to turn off all forms processing that would be performed by the listing directives .psize, .eject, .title and .sbttl.

Uncheck to process by listing directives.

-an
Include assembly

Check for an assembly listing. This -a suboption may be used with other suboptions.

Uncheck to exclude an assembly listing.

-al
List symbolsCheck for a symbol table listing.

Uncheck to exclude the symbol table from the listing.

-as
Omit debugging directivesCheck to omit debugging directives from a listing. This can make the listing cleaner.

Uncheck to included debugging directives.

-ad
Include section infoDisplay information on each of the code and data sections. This information contains details on the size of each of the sections and then a total usage of program and data memory.-ai
List to fileUse this option if you want the assembly listing for any assembly source files in the project.

They will have the same basename as the source, with a .lst extension.

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