SW006012 Microchip Technology, SW006012 Datasheet - Page 65

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
3.6
© 2007 Microchip Technology Inc.
ENVIRONMENT VARIABLES
The variables in this section are optional, but, if defined, they will be used by the
compiler. The compiler driver, or other subprogram, may choose to determine an
appropriate value for some of the following environment variables if they are unset. The
driver, or other subprogram, takes advantage of internal knowledge about the
installation of MPLAB C30. As long as the installation structure remains intact, with all
subdirectories and executables remaining in the same relative position, the driver or
subprogram will be able to determine a usable value.
TABLE 3-16:
PIC30_C_INCLUDE_
PATH
PIC30_COMPILER_
PATH
PIC30_EXEC_
PREFIX
PIC30_LIBRARY_
PATH
PIC30_OMF
TMPDIR
Option
COMPILER-RELATED ENVIRONMENTAL VARIABLES
This variable's value is a semicolon-separated list of directories, much
like PATH. When MPLAB® C30 searches for header files, it tries the
directories listed in the variable, after the directories specified with -I
but before the standard header file directories.
If the environment variable is undefined, the preprocessor chooses an
appropriate value based on the standard installation. By default, the
following directories are searched for include files:
<install-path>\include and
<install-path>\support\h
The value of PIC30_COMPILER_PATH is a semicolon-separated list of
directories, much like PATH. MPLAB C30 tries the directories thus
specified when searching for subprograms, if it can’t find the
subprograms using PIC30_EXEC_PREFIX.
If PIC30_EXEC_PREFIX is set, it specifies a prefix to use in the
names of subprograms executed by the compiler. No directory
delimiter is added when this prefix is combined with the name of a
subprogram, but you can specify a prefix that ends with a slash if you
wish. If MPLAB C30 cannot find the subprogram using the specified
prefix, it tries looking in your PATH environment variable.
If the PIC30_EXEC_PREFIX environment variable is unset or set to
an empty value, the compiler driver chooses an appropriate value
based on the standard installation. If the installation has not been
modified, this will result in the driver being able to locate the required
subprograms.
Other prefixes specified with the -B command line option take
precedence over the user- or driver-defined value of
PIC30_EXEC_PREFIX.
Under normal circumstances it is best to leave this value undefined
and let the driver locate subprograms itself.
This variable's value is a semicolon-separated list of directories, much
like PATH. This variable specifies a list of directories to be passed to
the linker. The driver's default evaluation of this variable is:
<install-path>\lib; <install-path>\support\gld.
Specifies the OMF (Object Module Format) to be used by MPLAB
C30. By default, the tools create COFF object files. If the environment
variable PIC30_OMF has the value elf, the tools will create ELF
object files.
If TMPDIR is set, it specifies the directory to use for temporary files.
MPLAB C30 uses temporary files to hold the output of one stage of
compilation that is to be used as input to the next stage: for example,
the output of the preprocessor, which is the input to the compiler
proper.
Using MPLAB C30 C Compiler
Definition
DS51284F-page 59

Related parts for SW006012