Microchip Technology SW006022-2N Data Sheet
Compiler Command-Line Driver
2012 Microchip Technology Inc.
DS52071B-page 79
3.7.8
Options for Assembling
The following options control assembler operations. For more on available options, see
the MPLAB Assembler, Linker and Utilities for PIC24 MCUs and dsPIC DSCs User’s
Guide (DS51317).
the MPLAB Assembler, Linker and Utilities for PIC24 MCUs and dsPIC DSCs User’s
Guide (DS51317).
3.7.9
Options for Linking
-nostdinc
Do not search the standard system directories for header files.
Only the directories you have specified with -I options (and the
current directory, if appropriate) are searched. (See
Section 3.7.10 “Options for Directory Search”) for
information on -I.
By using both -nostdinc and -I-, the include-file search path
can be limited to only those directories explicitly specified.
Only the directories you have specified with -I options (and the
current directory, if appropriate) are searched. (See
Section 3.7.10 “Options for Directory Search”) for
information on -I.
By using both -nostdinc and -I-, the include-file search path
can be limited to only those directories explicitly specified.
-P
Tell the preprocessor not to generate #line directives. Used
with the -E option (see Section 3.7.2 “Options for
Controlling the Kind of Output”).
with the -E option (see Section 3.7.2 “Options for
Controlling the Kind of Output”).
-trigraphs
Support ANSI C trigraphs. The -ansi option also has this
effect.
effect.
-Umacro
Undefine macro macro. -U options are evaluated after all -D
options, but before any -include and -imacros options.
options, but before any -include and -imacros options.
-undef
Do not predefine any nonstandard macros (including
architecture flags).
architecture flags).
TABLE 3-15:
ASSEMBLY OPTIONS
Option
Definition
-Wa,option
Pass option as an option to the assembler. If option contains
commas, it is split into multiple options at the commas.
For example, to generate an assembly list file, use -Wa,-a.
commas, it is split into multiple options at the commas.
For example, to generate an assembly list file, use -Wa,-a.
TABLE 3-14:
PREPROCESSOR OPTIONS (CONTINUED)
Option
Definition