[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
LIBRARY Specify one or more program libraries
------------------------------------------------------------------------------
Purpose : Specify one or more program libraries
Syntax : LIBRARY [d:][path]<libname>
[, [d:][path]<libname> ...]
Default : Compiler specified default libraries
Example : LIB C:\LIBS\Mylib1, Mylib2, D:\OTHER\Mylib3
The LIBRARY command is used to specify to the linker the names of one or
more program library files required by the program. The default file
extension of .LIB is assumed, and need not be specified. If more than one
library is specified in a single LIBRARY command, each library name should
be separated by a comma.
Library files are processed differently from FILE commands in that a LIBRARY
command causes only modules which are required by the program to be
included. i.e. modules are included from a library if a public definition in
the library module resolves an external reference. Object files named in
FILE commands are included regardless of whether they are required or not.
The LIBRARY command may be used for both root and overlaid libraries. If the
library is to be overlaid, the LIBRARY command should be placed within a
BEGINAREA / ENDAREA sequence.
See Also:
DEFLIB
FILE
NODEFLIB
SEARCH
MODULE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson