SW500010 Microchip Technology, SW500010 Datasheet - Page 27
![HI-TECH C PRO FOR PIC10/12/16](/photos/9/32/93259/sw500010_sml.jpg)
SW500010
Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
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
778-1006
778-1006
- Current page: 27 of 502
- Download datasheet (3Mb)
PICC Command-line Driver
The final step not only involves the link stage, but also code generation of all the p-code files. In
effect, the HI-TECH C PRO for the PIC10/12/16 MCU Family version code generator performs
some of the tasks normally performed by the linker. Any user-specified (non standard) libraries also
need to be passed to the compiler during the final step. This is the incremental build sequence used
by HI-TIDE
If is important to note that the code generator needs to compile all p-code or p-code library files in
the one step. Thus, if the --PASS1 option is not used (or --PRE is not used), all C source files,
and any p-code libraries, must be built together in the one command.
of C source files, an undefined symbol error for _main will be produced by the code generator. If
the file that contains the definition for main() is present, but it is a subset of the C source files
making up a project that is being compiled, the code generator will not be able to see the entire C
program and this will defeat most of the optimization techniques employed by the code generator.
of the above restrictions, for example you cannot have an C function compiled into a p-code library
that is called only from assembler code.
2.2.3 Special Processing
There are several special steps that take place during compilation.
If a compilation is performed, and the source file that contains main() is not present in the list
There may be multi-step compilation methods employed that lead to compiler errors as a result
Compile all modified assembler source files to relocatable object files using the -C driver
option
Compile all p-code and relocatable object files into a single output object file
T
M
using a multi-step compilation. The following could be used.
PICC --chip=16F877A --pass1 main.c
PICC --chip=16F877A --pass1 io.c
PICC --chip=16F877A -c mdef.as
PICC --chip=16F877A main.p1 io.p1 mdef.obj sprt.obj c_sb.lpp
a_sb.lib
If using a make system with incremental builds, only those source files that have changed
since the last build need the first compilation step performed again, so not all of the first
three steps need be executed.
UT RIAL
ULTI
TM
-
.
STEP COMPILATION
The files in the previous example are to be compiled
The Compilation Sequence
27
Related parts for SW500010
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: