[comp.sys.ibm.pc] Library Files

rzh@lll-lcc.UUCP (Roger Hanscom) (03/29/89)

Does anybody know an easy way to retrieve "members" of a
library file (i.e. extract individual .obj or .rel files
from a collection of same).  I've got an old library file
that was apparently created with the librarian of Datalite
C (or some-such).  I'm not about to purchase a version of
that program just to read this file.  Any ideas??  Do all
library utilities format their output in fundamentally
similar ways -- not exactly identical, but similar??

     roger     rzh@lll-lcc.llnl.gov
               ucbvax!lll-lcc!rzh

cs3b3aj@maccs.McMaster.CA (Stephen M. Dunn) (03/30/89)

   Assuming that the library in question isn't in some non-standard form,
you can extract .obj files using either Microsoft's LIB or Borland's TLIB.
I don't know the command you'd use for TLIB, but for LIB you would type
something like this:

    LIB library_name *module_name;

where the command * means "extract the following module" (but it doesn't
remove it from the library, just puts a copy of it onto your disk).

Hope this helps.
-- 
======================================================================
! Stephen M. Dunn, cs3b3aj@maccs.McMaster.CA ! DISCLAIMER:           !
! I always wanted to be a lumberjack! - M.P. ! I'm only an undergrad !
======================================================================