Справочник Пользователя для Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1

Модели
SW006021-1
Скачать
Страница из 518
MPLAB
®
 XC8 C Compiler User’s Guide
DS52053B-page 242
 2012 Microchip Technology Inc.
6.3
OPTIONS
The command line options recognized by ASPIC[18] are given in Table 6-1, and a full 
description of each option followings.
6.3.1
-A: Generate Assembly File
An assembler file will be produced if this option is used rather than the usual object file 
format. This is useful when checking the optimized assembler produced using the -O 
optimization option.
By default the output file will an extension .opt, unless the -Ooutfile output option 
is used to specify another name.
6.3.2
-C: Specify Chip Info File
Specify the chipinfo file to use. The chipinfo file is called picc.ini and can be found 
in the dat directory in the compiler’s installation directory. This file specifies information 
about the currently selected device.
TABLE 6-1:
ASPIC[18] COMMAND-LINE OPTIONS
Option
 Meaning
 Default
-A
Produce assembler output
Produce object code
-Cchipinfo
Define the chipinfo file
dat\picc[18].ini
-E[file
 | digit]
Set error destination/format
-Flength
Specify listing page length
66
-H
Output HEX values for 
constants
Decimal values
-I
List macro expansions
Don’t list macros
-L[listfile
 ]
Produce listing
No listing
-N
Disable merging optimizations
Merging optimizations enabled
-O
Perform optimization
No optimization
-Ooutfile
Specify object name
srcfile.obj
-R
Specify non-standard ROM
-Twidth
Specify listing page width
80
-V
Produce line number info
No line numbers
-VER=version
Specify full version information 
for list file title
-Wlevel
Set warning level threshold
0
-X
No local symbols in OBJ file
--CHIP=device
Specify device name
--DISL=list
Specify disabled messages
No message disabled
--EDF=path
Specify message file location
--EMAX=number
Specify maximum number of 
errors
10
--OPT=optimization
Specify optimization type
--VER
Print version number and stop