Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Controlling ILIB output

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
Note:
Unless newlib.lib is specified as an input file, its contents will not be included in the library. If an output file already exists, and is not used as an input file, it will be replaced.

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
Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide