I have installed Microsoft C 5.10 on DOS 6.22. It created a 'LIB' directory with static libraries to link against. Now I need to extract the symbols and the code for the functions from them, but can't find the format documented anywhere:
ninja@desktop:/mnt/d/backup/dos/msc510-install/LIB$ ls *.LIB CLIBC7.LIB CLIBCE.LIB GRAPHICS.LIB LLIBC7.LIB LLIBCE.LIB MLIBC7.LIB MLIBCE.LIB SLIBC7.LIB SLIBCE.LIB ninja@desktop:/mnt/d/backup/dos/msc510-install/LIB$ file CLIBC7.LIB CLIBC7.LIB: Microsoft Visual C library
Supposedly, static libraries from more recent versions of (Visual) C are COFF archives which can be expanded with ar, but it does not seem to work for these legacy libraries.