SW500009 Microchip Technology, SW500009 Datasheet - Page 24

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 Compiler Options
will search the directories c:\include and d:\myapp\include for any header files included into
the source code, then search the default include directory (the include directory where the compiler
was installed).
directive. See Section 4.3.9.3.
2.4.6 -Llibrary: Scan Library
The -L option is used to specify additional libraries which are to be scanned by the linker. Libraries
specified using the -L option are scanned before the standard C library, allowing additional versions
of standard library functions to be accessed.
cessor range, number of ROM pages and the number of RAM banks; and the suffix .lib are added.
Thus the option -LL when compiling for a 16F877 will, for example, scan the library pic42c-l.lib
and the option -Lxx will scan a library called pic42c-xx.lib. All libraries must be located in the
LIB subdirectory of the compiler installation directory. As indicated, the argument to the -L option
is not a complete library filename.
or whose locations are not in the LIB subdirectory, simply include the libraries’ names on the com-
mand line along with your source files. Alternatively, the linker may be invoked directly allowing
the user to manually specify all the libraries to be scanned.
2.4.7 -L-option: Adjust Linker Options Directly
The -L driver option can also be used to specify an option which will be passed directly to the
linker. If -L is followed immediately by text starting with a dash character “-”, the text will be
passed directly to the linker without being interpreted by PICC. For example, if the option -L-FOO
is specified, the -FOO option will be passed on to the linker. The linker will then process this option,
when, and if, it is invoked, and perform the appropriate function, or issue an error if the option is
invalid.
10
This option has no effect for files that are included into assembly source using the INCLUDE
The argument to -L is a library keyword to which the prefix pic; numbers representing the pro-
If you wish the linker to scan libraries whose names do not follow the above naming convention
Take care with command-line options. The linker cannot interpret driver options; sim-
ilarly the command-line driver cannot interpret linker options. In most situations, it is
always the command-line driver, PICC, that is being executed. If you need to add al-
ternate settings in the linker tab in an MPLAB Build options... dialogue, these are
the driver options (not linker options), but which are used by the driver to generate the
appropriate linker options during the linking process.
PICC Command-line Driver

Related parts for SW500009