To produce a listing of a very small library, we can create a library from the following two very small C source files:
| File text1.c contains the function foo: | File test2.c contains the function bar: |
extern void bar( void);
void foo(){
bar();
}
|
void bar(){
}
|
Here is sample a listing file produced by the ilib utility for the library test.lib that is built from compiled object files test1.obj and test2.obj. Descriptive notes appear between the output lines.
IBM Librarian for Windows (TM) Version 0.00.04 cc_WTC352C (C) Copyright IBM Corporation, 1991, 1996. (C) Copyright Microsoft Corp., 1988, 1989. Licensed Materials - Property of IBM - All Rights Reserved.
Library name : test.lib
0000:test1 (OFFSET:0x00000176, SIZE:0x00000142):
- Public Definitions: ?foo
- External Definitions: ?bar <- 00000:F:\ilib\list\test2
0001:test2 (OFFSET:0x000002b8, SIZE:0x0000012b):
- Public Definitions: ?bar
- External Definitions:
Library is case sensitive
Contains extended dictionary
Contains browse information
Total number of modules = 2
Total bytes for modules = 621
Total number of symbols in dictionary = 2
======== Dependencies by Module ========
Module 00000 : (00001) 00001 Module 00001 : (00000)
======== Browse Information by Module ========
Module 00000 : F:\ilib\list\test1.obj Module 00001 : F:\ilib\list\test2.obj
![]()
Static and Dynamic
Link Libraries
Maintaining Libraries
Decorated and Mangled Names
![]()
List the Contents of a
Static Library
![]()
The ilib
Command
ilib
Command Options
