Next: Compiling a program
Up: Compiler usage
Previous: Include 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:
- It will look in the path specified in the object file name.
- It will look in the directory where the current source file is.
- 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 5.1)
option.
Unless you specify the -n (See 5.1) option, the compiler will look
for a configuration file ppc386.cfg in the following places:
- Under LINUX
- The current directory.
- In your home directory, it looks for .ppc386.cfg.
- The directory specified in the environment variable
PPC_CONFIG_PATH, and if it's not set under /etc.
- Under all other OSes:
- The current directory.
- If it is set, the directory specified in the environment variable.
PPC_CONFIG_PATH.
- The directory where the compiler is.
Michael Van Canneyt
Thu Sep 10 13:56:17 CEST 1998