LIB251 User's Guide

Adding Modules

The ADD command is used to add one or more object modules to an existing library file. The ADD command must be entered in the following format:

ADD filename <[>(modulename, ...)<]> <[>, ...<]> TO libfile

Where

filenameis the name of an object file or library file. You may specify several files separated by commas.
modulenameis the name of a module in a library file. If you do not wish to add the entire contents of a library, you may select the modules to add. Module names are specified immediately following the library filename, they must be enclosed in parentheses, and they must be separated by commas.
libfileis the name of an existing library file. The specified object modules are added to this library.

For example:

LIB251 ADD MOD1.OBJ, UTIL.LIB(FPMUL, FPDIV) TO NEW.LIB

* ADD FPMOD.OBJ TO NEW.LIB