Next Previous Contents

3. Search paths

Normal include files are searched in the following places:

  1. The current directory.
  2. A compiled-in directory, which is often /usr/lib/cc65/asminc on Linux systems.
  3. The value of the environment variable CA65_INC if it is defined.
  4. A subdirectory named asminc of the directory defined in the environment variable CC65_HOME, if it is defined.
  5. Any directory added with the -I option on the command line.

Binary include files are searched in the following places:

  1. The current directory.
  2. Any directory added with the --bin-include-dir option on the command line.


Next Previous Contents