Library files and start-up modules are specific to OMF (Object Module Format). An OMF can be one of the following:
There are two ways to select the OMF:
XC16_OMF
for all tools.-omf=omf
or
-momf=omf
.16-bit tools will first look for generic library files when building your application (no OMF specification). If these cannot be found, the tools will look at your OMF specifications and determine which library file to use.
As an example, if libdsp.a
is not found and no environment
variable or command-line option is set, the file libdsp-coff.a
will be
used by default.