4.3.1.1 Location and Naming Convention
The compiler will search for standard libraries in the pic/lib/c99 or pic/lib/c90 directory, based on your language standard selection.
The standard libraries are named family-type-options.a, where the following apply.
- family can be pic18 for PIC18 devices, or pic for all other 8-bit PIC devices
- type indicates the sort of library functionality provided and can be stdlib for the standard library functions, or intlib for intrinsic functions, etc.
- options indicates hyphen-separated names to indicate variants of the library to accommodate different compiler options or modes, e.g., htc for the default flavor of C used by MPLAB XC8, d32 for 32-bit doubles, sp for space optimizations etc.
For example, the standard library for baseline and mid-range devices using 24-bit double types is pic-stdlib-d24-sz.a.