Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 ユーザーズマニュアル

製品コード
SW006021-1
ページ / 518
MPLAB
®
 XC8 C Compiler User’s Guide
DS52053B-page 244
 2012 Microchip Technology Inc.
6.3.9
-O: Specify Output File
By default the assembler determines the name of the object file to be created by strip-
ping any suffix or extension from the first source filename and appending .obj. The 
-O
 option allows the user to override the default filename and specify a new name for 
the object file.
6.3.10
-T: Specify Listing Page Width
This option allows specification of the assembly list file page width, in characters. 
width
 should be a decimal number greater than 41. The default width is 80 characters.
6.3.11
-V: Produce Assembly Debug Information
This option will include line number and filename information in the object file produced 
by the assembler. Such information may be used by debuggers.
Note that the line numbers will correspond with assembler code lines in the assembler 
file. This option should not be used when assembling an assembly file produced by the 
code generator. In that case, debug information should relate back to the original C 
source, not the intermediate assembly code.
6.3.12
-VER:Specify Version Information
This option allows the full version information, including optional text to indicate beta 
builds or release candidate builds, to be passed to the assembler. This information is 
only used in the title of the assembly list file and is not reflected in the output to the 
--VER
 option.
6.3.13
-X: Strip Local Symbols
The object file created by the assembler contains symbol information, including local 
symbols; i.e., symbols that are neither public or external. The -X option will prevent the 
local symbols from being included in the object file, thereby reducing the file size. 
description
6.3.14
--CHIP: Specify Device Name
This option defines the device which is being used. The device type can also be indi-
cated by use of the device directive in the assembler source file, see 
Section 6.4.9.20 “PROCESSOR”. You can also add your own processors to the 
compiler via the compiler’s chipinfo file.
This option is applied if compiling using xc8, the command-line driver and the --CHIP 
driver option, see Section 4.8.20 “--CHIP: Define Device”.
6.3.15
--DISL: 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.