Program LINKPIC
linkpic <gpath>
This program is a wrapper that runs the Microchip MPLINK linker. GPATH
is the generic pathname for this link. Implicit and default file names
will start with <gpath>. For example, the HEX output file name will be
<gpath>.HEX, the map file <gpath>.MAP, etc.
The environment variable MPLABDir is assumed to be set to the directory
containing the Microchip executables. If this variable is not present
or empty, then the Microchip executables are assumed to be in the
executables search path, in other words they can be run directly
without having to specify the full path name.
The following files will be read or created/overwritten:
<gpath>.lkr
This is the MPLINK linker command input file. It must be
present. This command file is the only way to specify object
modules and libraries to link. It also contains other control
information. See the Microchip MPLINK documentation for
details.
<gpath>.out
Absolute executable created as a result of the link operation.
<gpath>.map
Memory map output file.
<gpath>.hex
HEX output file. This file will be in Intel INHX32 format.
<gpath>.cod
Output file in Microchip format. This file is required by the
Microchip debugger. Some of the other output files are derived
from the .cod file after the .cod file is created.