Starting with version 2.10 there are now several search paths for files needed by the linker: One for libraries, one for object files and one for config files.
The library search path contains in this order:
/usr/lib/cc65/lib
on
Linux systems.LD65_LIB
if it is defined.lib
of the directory defined in the environment
variable CC65_HOME
, if it is defined.
--lib-path
option on the command line.The object file search path contains in this order:
/usr/lib/cc65/obj
on
Linux systems.LD65_OBJ
if it is defined.obj
of the directory defined in the environment
variable CC65_HOME
, if it is defined.
--obj-path
option on the command line.The config file search path contains in this order:
/usr/lib/cc65/cfg
on
Linux systems.LD65_CFG
if it is defined.cfg
of the directory defined in the environment
variable CC65_HOME
, if it is defined.
--cfg-path
option on the command line.