SW500009 Microchip Technology, SW500009 Datasheet - Page 21

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
PICC Command-line Driver
options specify an additional data field which follows the option name immediately and without any
whitespace, e.g. -Ddebug.
the double dash, you can determine that the option --ASMLIST, for example, is not a -A option
followed by the argument SMLIST.) Some of these options define suboptions which typically appear
as a comma-separated list following an equal character, =, e.g. --OUTPUT=intel,cof. The exact
format of the options varies and are described in detail in the following sections.
that would be used if this option was absent altogether; all, which indicates that all the available
suboptions should be enabled as if they had each been listed; and none, which indicates that all
suboptions should be disabled. Some suboptions may be prefixed with a plus character, +, to indicate
that they are in addition to the other suboptions present, or a minus character “-”, to indicate that
they should be excluded. In the following sections, angle brackets, < >, are used to indicate optional
parts of the command.
2.4.1 -C: Compile to Object File
The -C option is used to halt compilation after generating a relocatable object file. This option is
frequently used when compiling multiple source files using a “make” utility. If multiple source files
are specified to the compiler each will be compiled to a separate .obj file. The object files will
be placed in the directory in which PICC was invoked, to handle situations where source files are
located in read-only directories. To compile three source files main.c, module1.c and asmcode.as
to object files you could use a command similar to:
The compiler will produce three object files main.obj, module1.obj and asmcode.obj which
could then be linked to produce an Intel HEX file using the command:
Option
--WARNFORMAT=format
All single letter options are identified by a leading dash character, “-”, e.g. -C. Some single letter
Multi-letter, or word, options have two leading dash characters, e.g. --ASMLIST. (Because of
Some commonly used suboptions include default, which represent the default specification
PICC --CHIP=16F877A -C main.c module1.c asmcode.as
PICC --CHIP=16F877A main.obj module1.obj asmcode.obj
PICC Command-line Options
Meaning
Format warning message strings to given style
PICC Compiler Options
7

Related parts for SW500009