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

製品コード
SW006021-1
ページ / 518
Utilities
 2012 Microchip Technology Inc.
DS52053B-page 301
8.5.1
-Pname[,architecture]
The -P options takes a string which is the name of the device used. CROMWELL may 
use this in the generation of the output format selected.
Note that to produce output in COFF format an additional argument to this option which 
also specifies the device architecture is required. Hence for this format the usage of this 
option must take the form: -Pname,architectureTable 8-7 enumerates the 
architectures supported for producing COFF files.
8.5.2
-N
To produce some output file formats (e.g., COFF), CROMWELL requires that the names 
of the program memory space psect classes be provided. The names of the classes 
are specified as a comma-separated list. See the map file (Section 7.4 “Map Files”
to determine which classes the linker uses.
For example, mid-range devices typically requires -NCODE,CONST,ENTRY,STRING.
8.5.3
-D
The -D option is used to display details about the named input file in a human-readable 
format. This option is useful if you need to check the contents of the file, which are 
usually binary files. The input file can be one of the file types as shown in Table 8-5.
8.5.4
-C
This option will attempt to identify if the specified input files are one of the formats as 
shown in Table 8-5. If the file is recognized, a confirmation of its type will be displayed.
8.5.5
-F
When generating a COD file, this option can be used to force all local symbols to be 
represented as global symbols. The may be useful where an emulator cannot read 
local symbol information from the COD file.
8.5.6
-Okey
This option specifies the format of the output file. The key can be any of the types listed 
in Table 8-5.
8.5.7
-Ikey
This option can be used to specify the default input file format. The key can be any of 
the types listed in Table 8-5.
TABLE 8-7:
ARCHITECTURE ARGUMENTS
Architecture
 Description
PIC12
Microchip baseline PIC
®
 MCU chips
PIC14
Microchip mid-range PIC MCU chips
PIC14E
Microchip Enhanced mid-range PIC MCU 
chips
PIC16
Microchip high-end (17CXXX) PIC MCU chips
PIC18
Microchip PIC18 chips
PIC24
Microchip PIC24F and PIC24H chips
PIC30
Microchip dsPIC30 and dsPIC33 chips