SW500010 Microchip Technology, SW500010 Datasheet - Page 44

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 Driver Option Descriptions
2.6.3 -Efile: Redirect Compiler Errors to a File
This option has two purposes. The first is to change the format of displayed messages. The second
is to optionally allow messages to be directed to a file as some editors do not allow the standard
command line redirection facilities to be used when invoking the compiler.
type)
messages (errors, warnings etc) will be printed. For example, to compile x.c and redirect all errors
to x.err, use the command:
The -E option also allows errors to be appended to an existing file by specifying an addition char-
acter, +, at the start of the error filename, for example:
If you wish to compile several files and combine all of the errors generated into a single text file, use
the -E option to create the file then use -E+ when compiling all the other source files. For example,
to compile a number of files with all errors combined into a file called project.err, you could
use the -E option as follows:
Section
system and other related driver options.
2.6.4 -Gfile: Generate Source-level Symbol File
The -G option generates a source-level symbol file (i.e. a file which allows tools to determine which
line of source code is associated with machine code instructions, and determine which source-level
variable names correspond with areas of memory, etc.) for use with supported debuggers and sim-
ulators such as HI-TIDE
same base name as the project name (see Section 2.1), and an extension of .sym. For example the
option -Gtest.sym generates a symbol file called test.sym. Symbol files generated using the
-G option include source-level information for use with source-level debuggers.
44
The gernal form of messages produced with the -E option in force is:
filename
If a filename is specified immediately after -E, it is treated as the name of a file to which all
PICC --CHIP=16F877A -Ex.err x.c
PICC --CHIP=16F877A -E+x.err y.c
PICC --CHIP=16F877A -Eproject.err -O --PASS1 main.c
PICC --CHIP=16F877A -E+project.err -O --PASS1 part1.c
PICC --CHIP=16F877A -E+project.err -C asmcode.as
2.5
has more information regarding this option as well as an overview of the messaging
line_number:
TM
and MPLAB
(message number)
R
. If no filename is given, the symbol file will have the
message string
PICC Command-line Driver
(message

Related parts for SW500010