LF Fortran 95

-LIBPATH dir1[;dir2 ...]

Library Path

Link only. Default: current directory.

The -LIBPATH option allows specification of one or more directories to be searched for libraries. Note that all necessary library files must still be called out in the command line.

See Linking Libraries for more information on linking with libraries and library search order.

Visual Studio Property

The -libpath option corresponds to the Linker|Library Search Path property. This property can be set on the property page for the project only.


LF95 main.obj mine.lib -libpath d:\mylibs This is equivalent to: LF95 main.obj d:\mylibs\mine.lib

See Also

Linking Libraries

Setting Build Options