3.1.4 Object files

When you link to object files (using the {$L file.o} directive, the compiler will look for this file in the same way as it looks for include files:

  1. It will look in the path specified in the object file name.
  2. It will look in the directory where the current source file is.
  3. It will look in all directories specified in the object file search path.

You can add files to the object file search path with the -Fo (see page 98) option.