SW500010 Microchip Technology, SW500010 Datasheet - Page 23

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
PICC Command-line Driver
Some of the compiler’s output files contain project-wide information and are not directly associated
with any one particular input file, e.g. the map file. If the names of these project-wide files are not
specified on the command line, the basename of these files is derived from the first C source file
listed on the command line. If there are no files of this type being compiled, the name is based on
the first input file (regardless of type) on the command line. Throughout this manual, the basename
of this file will be called the project name.
files, such as map files, are named after the project, however check the manual for the IDE you are
using for more details.
2.1.1 Long Command Lines
The PICC driver is capable of processing command lines exceeding any operating system limitation.
To do this, the driver may be passed options via a command file. The command file is read by using
the @ symbol which should be immediately followed (i.e. no intermediate space character) by the
name of the file containing the command line arguments.
arguments may be placed over several lines by using a space and backslash character for all non-
blank lines, except for the last line.
with the project, making them more easily accessible and permanently recorded for future use.
Most IDEs use project files whose names are user-specified. Typically the names of project-wide
The file may contain blank lines, which are simply skipped by the driver. The command-line
The use of a command file means that compiler options and project filenames can be stored along
directives. These modules are then passed to the remainder of the compiler applications.
Thus, a module may consist of several source and header files. A module is also often
referred to as a translation unit. These terms can also be applied to assembly files, as
they too can include other header and source files.
T
U
text editor and contains both the options and file names that are required to compile your
project as follows:
--chip=16F877A -m \
--opt=all -g \
main.c isr.c
After it is saved, the compiler may be invoked with the command:
PICC @xyz.cmd
UT RIAL
SING COMMAND FILES
A command file xyz.cmd is constructed with your favorite
Invoking the Compiler
23

Related parts for SW500010