The information in this article applies to:
SUMMARY
The text below presents the LINK32 librarian, its command line options, and
how to use the utility.
MORE INFORMATIONLINK32.EXE performs several functions, specified by one of the following command-line options:
The LINK32 librarian is a fairly simple tool that adds, removes, and
extracts COFF object files from libraries.
The LINK32 -LIB options are as follows:
The following examples demonstrate using these options to perform
common library management tasks.
Example #1To build the library TEST.LIB that contains the modules A.OBJ and B.OBJ, use the following command line:
Example #2To modify the existing library TEST.LIB to add the modules A.OBJ and B.OBJ, use the following command line:
Example #3To create a file that lists the object modules in a library, use the following command line:
This command line generates a listing that contains the names of the
object files in the library; the listing does not list the routines in
each object file. To retrieve this information, use the -DUMP option.
Example #4To update a library with a new version of an object module, use the following command lines:
No single command can do this. Avoid the following commands:
NOTE: Modules cannot be added to a library which has had all of the
modules removed.
NOTE: The object module specified by -REMOVE:obj_name must have the same case as shown by:
In other words, -REMOVE is case sensitive.
Additional query words: kbinf 1.00 1.00a
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |