Search Paths for Primary Source Files

Primary source files are C or C++ source files that are named in the configuration file.

When you specify a library or object file as a source file, the linker searches for the files to satisfy references from C and C++ source code.

When you specify a C or C++ source file in your configuration file you can include an absolute or relative path. If you do not supply an absolute path VisualAge C++ looks for the source file in the following order:

  1. Look first in the directory that contains the configuration file.
  2. Searched next in the path indicated by the build option incl(searchPath, path).
  3. On OS/2 and Windows NT platforms, search the path stored in the INCLUDE environment variable.

The INCLUDE environment variable is set when you run open the VisualAge C++ command line window, or when you select and open an icon that is placed in the VisualAge C++ program group during installation.



Configuration Files
C++ Source Files and Source Regions
Search Paths for Included Source Files
Search Paths for Included Source Files
Linker Searches


Add or Change Source Files
Set Build Options
Build
Build with Existing Object Files and Libraries


Build Options