COHERENT manpages

This page displays the COHERENT manpage for LIBPATH [Directories that hold compiler phases and libraries].

List of available manpages
Index


LIBPATH -- Environmental Variable

Directories that hold compiler phases and libraries

LIBPATH  names the  directories  that hold  the  phases of  the COHERENT  C
compiler, the run-time  start-up modules, and libraries.  cc searches these
directories  as it  orchestrates  the compiling  and linking  of a  program
written in C or assembly-language.

A typical definition is:

    export LIBPATH=:/lib:/usr/lib

This searches the current directory `.', then /lib, then /usr/lib.

If you have  not set LIBPATH in your .profile,  cc uses the default LIBPATH
that is  set in  header file  path.h. This definition  is adequate  for all
standard installations of COHERENT.

See Also

cc,
environmental variables,
ld