The input files expected by LIB depend on the mode in which it is used, as follows:
Mode | Input |
---|---|
Default (building or modifying a library) | COFF object (.OBJ) files, COFF libraries (.LIB), 32-bit OMF object (.OBJ) files |
Extracting a member with /EXTRACT | COFF library (.LIB) |
Building an export file and import library with /DEF | Module-definition (.DEF) file, COFF object (.OBJ) files, COFF libraries (.LIB), 32-bit OMF object (.OBJ) files |
Note: Object Model Format (OMF) libraries created by the 16-bit version of LIB cannot be used as input to the 32-bit LIB.