home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / glib / glib.man < prev    next >
Text File  |  1992-09-03  |  2KB  |  80 lines

  1.  
  2.  
  3.  
  4. GLIB(1)                  USER COMMANDS                    GLIB(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      glib - Library file (.LIB) manager for IBM OS/2 2.0 with GNU
  10.      GCC/2 C++ compiler
  11.  
  12. SYNOPSIS
  13.      glib library command ...
  14.  
  15. COMMANDS
  16.      -l -a object -d object -x object -b batchfile
  17.  
  18. DESCRIPTION
  19.      _g_l_i_b adds, extracts and deletes object files  (.obj)  from a
  20.      library  (.lib)  file.   The object and library file formats
  21.      are described in the Microsoft  application  notes  included
  22.      with  this  package. Where a ".obj" extension is appropriate
  23.      for an option parameter it's inclusion is optional. If omit-
  24.      ted  the  default extension will be a lowercase ".obj". This
  25.      default can be overriden by providing at least one extension
  26.      of  your  own.  The  object  name  can include zero or  more
  27.      wildcard, "*", characters for all options.
  28.  
  29.      _g_l_i_b will allow the following command line options:
  30.  
  31.      library
  32.  
  33.      This required option defines the library to  be  created  or
  34.      opened. The option should include the .lib extension.
  35.  
  36.      -l
  37.  
  38.      List the library contents. Each module name is  listed  with
  39.      it's public definitions.
  40.  
  41.      -a   object
  42.  
  43.      Add object to library. The  object  will  be  added  to  the
  44.      library  and  the library will be rebuilt. If an object with
  45.      the same name already exists  in  the  library  it  will  be
  46.      overwritten.
  47.  
  48.      -d   object
  49.  
  50.      Delete object in library. The object will  be  deleted  from
  51.      the library and the library will be rebuilt.
  52.  
  53.      -x   object
  54.  
  55.      Extract object from libray. The  object  will  be  extracted
  56.      from the library and written to filename object.
  57.  
  58.      -b   batchfile
  59.  
  60.      Read commands from batchfile.  With  the  exception  of  the
  61.      library  any  commands  can  be put in a batchfile. The file
  62.      should contain one option parameter pair per line.  No  line
  63.      continuation characters are needed.
  64.  
  65. EXAMPLES
  66.      glib libc.lib -l -a printf.obj -x open
  67.  
  68.      This will list  all  the  modules  and  publics  in  library
  69.      "libc.lib", add module "printf.obj" and extract "open.obj".
  70.  
  71.      glib libc.lib -l -b lib.bat
  72.  
  73.      The contents of lib.bat are:
  74.  
  75.      -a printf.obj
  76.      -x open
  77.  
  78.      This will perform exactly the same operations as the  previ-
  79.      ous command line.
  80.