Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 ユーザーズマニュアル
製品コード
SW006021-1
XC8 Command-line Driver
2012 Microchip Technology Inc.
DS52053B-page 115
4.8.55
--STRICT: Strict ANSI Conformance
The --STRICT option is used to enable strict ANSI C conformance of all special,
non-standard keywords.
non-standard keywords.
The MPLAB XC8 C compiler supports various special keywords (for example the per-
sistent
sistent
type qualifier). If the --STRICT option is used, these keywords are changed
to include two underscore characters at the beginning of the keyword (for example,
__persistent
__persistent
) so as to strictly conform to the ANSI standard. Thus if you use this
option, you will need to use the qualifier __persistent in your code, not
persistent
persistent
.
Be warned that use of this option may cause problems with some standard header files
(e.g., <xc.h>) as they contain special keywords.
(e.g., <xc.h>) as they contain special keywords.
See Section 4.9 “MPLAB IDE V8 Universal Toolsuite Equivalents” or
Section 4.10 “MPLAB X Universal Toolsuite Equivalents” for use of this option in
MPLAB IDE.
Section 4.10 “MPLAB X Universal Toolsuite Equivalents” for use of this option in
MPLAB IDE.
4.8.56
--SUMMARY: Select Memory Summary Output Type
Use this option to select the type of memory summary that is displayed after compila-
tion. By default, or if the mem suboption is selected, a memory summary is shown. This
shows the total memory usage for all memory spaces.
tion. By default, or if the mem suboption is selected, a memory summary is shown. This
shows the total memory usage for all memory spaces.
A psect summary may be shown by enabling the psect suboption. This shows individ-
ual psects, after they have been grouped by the linker, and the memory ranges they
cover. Table 4-16 shows what summary types are available. The output printed when
compiling normally corresponds to the mem setting.
ual psects, after they have been grouped by the linker, and the memory ranges they
cover. Table 4-16 shows what summary types are available. The output printed when
compiling normally corresponds to the mem setting.
See Section 4.9 “MPLAB IDE V8 Universal Toolsuite Equivalents” or
Section 4.10 “MPLAB X Universal Toolsuite Equivalents” for use of this option in
MPLAB IDE.
Section 4.10 “MPLAB X Universal Toolsuite Equivalents” for use of this option in
MPLAB IDE.
4.8.57
--TIME: Report Time Taken For Each Phase of Build Process
Adding the --TIME option when building generates a summary which shows how
much time each stage of the build process took to complete.
much time each stage of the build process took to complete.
4.8.58
--VER: Display the Compiler’s Version Information
The --VER option will display what version of the compiler is running and then exit the
compiler.
compiler.
TABLE 4-16:
MEMORY SUMMARY SUBOPTIONS
Suboption
Controls
psect
A summary of psect names and the addresses where they were
linked will be shown.
linked will be shown.
mem
A concise summary of memory used will be shown. (default)
class
A summary of all classes in each memory space will be shown.
hex
A summary of addresses and HEX files which make up the final
output file will be shown.
output file will be shown.
file
Summary information will be shown on screen and saved to a file.