4.3.1.1 Library Location and Naming Convention
The compiler will search for standard libraries in the pic/lib/c99 directory.
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., d32 for 32-bit doubles,
sz
for size optimizations, sp for speed optimizations etc.
For example, the standard library for baseline and mid-range devices is pic-stdlib-d32-sz.a.