The following are examples showing how to control ILIB output.
Library
The following example creates create the library newlib.lib out of the objects in text.obj and mylib.lib.
ilib /out:newlib.lib text.obj mylib.lib
DEF File
This example creates the module definition file winner.def from the DLL winner.dll.
ilib /gd:winner.def winner.dll
Import Library/Export Oject Pair
The following example creates an import library named winner.lib and an export object named winner.exp. However, if no exported symbols are contained in winner.def, then winner.lib will not be produced.
ilib /gi winner.def
List File
The following example generates the list will generate the list file mylib.lst, based on the library mylib.lib, in the current directory.
ilib /list:mylib.lst mylib.lib