SW500009 Microchip Technology, SW500009 Datasheet - Page 23

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
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.4.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, 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.
the -G option. The option is also required at the link stage, if this is performed separately. For
example:
The --IDE option, see Section
2.4.5 -Ipath: Include Search Path
Use -I to specify an additional directory to use when searching for header files which have been
included using the #include directive. The -I option can be used more than once if multiple
directories are to be searched.
-I option is present. The default search path is searched after any user-specified directories have
been searched. For example:
Note that all source files for which source-level debugging is required should be compiled with
The default include directory containing all standard header files are always searched even if no
PICC --CHIP=16F877A -Eproject.err -O -C main.c
PICC --CHIP=16F877A -E+project.err -O -C part1.c
PICC --CHIP=16F877A -E+project.err -C asmcode.as
PICC --CHIP=16F877A -G -C test.c modules1.c
PICC --CHIP=16F877A -Gtest.sym test.p1 module1.p1
PICC --CHIP=16F877A -C -Ic:\include -Id:\myapp\include test.c
2.4.27.1
has more information regarding this option as well as an overview of the messaging
TM
and MPLAB
2.4.32
will typically enable the -G option.
R
. If no filename is given, the symbol file will have the
PICC Compiler Options
9

Related parts for SW500009