home *** CD-ROM | disk | FTP | other *** search
-
-
-
- GLIB(1) USER COMMANDS GLIB(1)
-
-
-
- NAME
- glib - Library file (.LIB) manager for IBM OS/2 2.0 with GNU
- GCC/2 C++ compiler
-
- SYNOPSIS
- glib library command ...
-
- COMMANDS
- -l -a object -d object -x object -b batchfile
-
- DESCRIPTION
- _g_l_i_b adds, extracts and deletes object files (.obj) from a
- library (.lib) file. The object and library file formats
- are described in the Microsoft application notes included
- with this package. Where a ".obj" extension is appropriate
- for an option parameter it's inclusion is optional. If omit-
- ted the default extension will be a lowercase ".obj". This
- default can be overriden by providing at least one extension
- of your own. The object name can include zero or more
- wildcard, "*", characters for all options.
-
- _g_l_i_b will allow the following command line options:
-
- library
-
- This required option defines the library to be created or
- opened. The option should include the .lib extension.
-
- -l
-
- List the library contents. Each module name is listed with
- it's public definitions.
-
- -a object
-
- Add object to library. The object will be added to the
- library and the library will be rebuilt. If an object with
- the same name already exists in the library it will be
- overwritten.
-
- -d object
-
- Delete object in library. The object will be deleted from
- the library and the library will be rebuilt.
-
- -x object
-
- Extract object from libray. The object will be extracted
- from the library and written to filename object.
-
- -b batchfile
-
- Read commands from batchfile. With the exception of the
- library any commands can be put in a batchfile. The file
- should contain one option parameter pair per line. No line
- continuation characters are needed.
-
- EXAMPLES
- glib libc.lib -l -a printf.obj -x open
-
- This will list all the modules and publics in library
- "libc.lib", add module "printf.obj" and extract "open.obj".
-
- glib libc.lib -l -b lib.bat
-
- The contents of lib.bat are:
-
- -a printf.obj
- -x open
-
- This will perform exactly the same operations as the previ-
- ous command line.
-