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

製品コード
SW006021-1
ページ / 518
XC8 Command-line Driver
 2012 Microchip Technology Inc.
DS52053B-page 93
4.8.1
-C: Compile to Object File
The -C option is used to halt compilation after executing the assembler, leaving a relo-
catable object file as the output. It is frequently used when compiling assembly source 
files using a make utility. It cannot be used unless all C source files are present on the 
command line. Use --PASS1 to generate intermediate files from C source, see 
Section 4.8.45 “--PASS1: Compile to P-code”.
SeSection 4.3.3 “Multi-Step Compilation” for more information on generating and 
using intermediate files.
--MSGDISABLE=list
Disable warning messages
--MSGFORMAT=specification
Set advisory message format
--NODEL
Do not remove temporary files
--NOEXEC
Do not execute compiler applications
--OBJDIR=path
Set object files directory
--OPT=optimizations
Control optimization
--OUTDIR=path
Set output directory
--OUTPUT=path
Set output formats
--PASS1
Produce intermediate p-code file and stop
--PRE
Produce preprocessed source files and stop
--PROTO
Generate function prototypes
--RAM=ranges
Adjust RAM ranges
--ROM=ranges
Adjust ROM ranges
--RUNTIME=options
Specify runtime options
--SCANDEP
Scan for dependencies
--SERIAL=specification
Insert a hexadecimal code or serial number
--SETOPTION=argument
Set advanced options
--SETUP=specification
Setup the compiler
--SHROUD
Shroud (obfuscate) generated p-code files
--STRICT
Use strict ANSI keywords
--SUMMARY=type
Summary options
--TIME
Report compilation times
--VER
Show version information
--WARN=number
Set warning threshold level
--WARNFORMAT=specification
Set warning format
TABLE 4-6:
DRIVER OPTIONS (CONTINUED)
Option
Meaning