Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 Benutzerhandbuch

Produktcode
SW006021-1
Seite von 518
MPLAB
®
 XC8 C Compiler User’s Guide
DS52053B-page 298
 2012 Microchip Technology Inc.
8.4.4
-Ooutfile
Allows specification of the output file name. By default the listing will be written to the 
standard output and may be redirected in the usual manner. Alternatively outfile 
may be specified as the output file name.
8.4.5
-Pwidth
This option allows the specification of the width to which the listing is to be formatted, 
e.g., -P132 will format the listing for a 132 column printer. The default is 80 columns.
8.4.6
-Sstoplist
 
The -S option should have as its argument the name of a file containing a list of sym-
bols not to be listed in the cross-reference. Symbols should be listed, one per line in 
the file. Use the C domain symbols. Multiple stoplists may be supplied with multiple -S 
options.
8.4.7
-Xprefix
The -X option allows the exclusion of symbols from the listing, based on a prefix given 
as argument to -X. For example, if it was desired to exclude all symbols starting with 
the character sequence xyz then the option -Xxyz would be used. If a digit appears 
in the character sequence then this will match any digit in the symbol, e.g., -XX0 would 
exclude any symbols starting with the letter X followed by a digit.
8.4.8
--EDF=message file: Set Message File Path
This option is mainly used by the command-line driver, xc8, to specify the path of the 
message description file. The default file is located in the dat directory in the compiler’s 
installation directory.
SeSection 4.6 “Compiler Messages” for full information about the compiler’s 
messaging system.
8.4.9
--EMAX=number: Specify Maximum Number of Errors
This option is mainly used by the command-line driver, xc8, to specify the maximum 
number of errors that can be encountered before CREF terminates. The default number 
is 10 errors.
This option is applied if compiling using xc8, the command-line driver and the 
--ERRORS
SeSection 4.6 “Compiler Messages” for full information about the compiler’s 
messaging system.
8.4.10
--MSGDISABLE=message numbers Disable Messages
This option is mainly used by the command-line driver, xc8, to disable particular 
message numbers. It takes a comma-separate list of message numbers that will be 
disabled during compilation.
This option is applied if compiling using xc8, the command-line driver and the
--MSGDISABLE
SeSection 4.6 “Compiler Messages” for full information about the compiler’s 
messaging system.