library manager (WATCOM)
Syntax:
wlib [options] lib_file [cmd_list]
Options:
- -b
- suppress the creation of a backup file
- -c
- perform case-sensitive comparison
- -d=output_directory
- the directory in which extracted object modules are placed
- -i(r|n)(n|o)
- imports for the resident/non-resident names table are to be imported by
name/ordinal.
- -l[=list_file]
- create a listing file
- -m
- display C++ mangled names
- -n
- always create a new library
- -o=output_file
- set the output file name for library
- -p=record_size
- set the library record size
- -q
- operate quietly
- -s
- strip line number records from object files
- -t
- remove path information from module name specified in THEADR records
- -x
- extract all object modules from library
Description:
The Watcom Library Manager can be used to create and update object library
files.
It takes as input an object file or a library file, and creates or updates
a library file.
The lib_file argument
is the file specification for the library file to be processed.
If no file extension is specified, a file extension of .lib
is assumed.
The cmd_list argument
is a list of commands to the Watcom Library Manager specifying what
operations are to be performed. Commands in cmd_list
are separated by a space. The commands are as follows:
- +obj_file
- add the file obj_file to the library
- -mod_name
- remove the module mod_name from the library
- -+mod_name
- replace the module mod_name in the library
- +-mod_name
- replace the module mod_name in the library
- :mod_name
- extract the module mod_name from the library
- :-mod_name
- extract the module mod_name, and delete it from the library
- +dll_name
- create an import library from the Dynamic Link Library
dll_name
- +sym.dll_name[.export_name][.ordinal]
- add an entry from a DLL to a import library
See also:
ar,
the Library Manager
chapter in the Compiler & Tools User's Guide