2 Libraries Overview
A library is a collection of functions grouped for reference and ease of linking. See the MPLAB® XC32 Assembler, Linker and Utilities User’s Guide for PIC32A MCU (DS-50003839) for more information about making and using libraries.
Compiler Installation Locations
The majority of the libraries discussed in this manual come with the MPLAB® XC32 C Compiler for PIC32A MCU, which is installed by default in the following locations:
- Windows OS 64-bit -
C:\Program Files\Microchip\xc32\vx.xx
- Mac OS -
/Applications/microchip/xc32/vx.xx
- Linux OS -
/opt/microchip/xc32/vx.xx
where vx.xx
is the version number.
Assembly Code Applications
Free versions of the MPLAB XC32 libraries are available from the Microchip web site. DSP and 32-bit MCU peripheral libraries are provided with object files and source code. A math library (containing functions from the standard C header file <math.h> ) is provided as an object file only. The complete standard C library is provided with the MPLAB XC32 C Compiler for PIC32A MCU.
C Code Applications
The MPLAB XC32 libraries are included in the lib subdirectory of the MPLAB XC32 C Compiler for PIC32A MCU install directory (see “Compiler Installation Locations”). These libraries can be linked directly into an application with a MPLAB XC32 linker.