home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
glibs115.zip
/
doc
/
glib.txt
< prev
next >
Wrap
Text File
|
1993-03-20
|
3KB
|
133 lines
GLIB(1) Utility Commands GLIB(1)
NAME
glib - Library file (.LIB) manager for IBM OS/2 2.0 with GNU
GCC/2 C++ compiler
SYNOPSIS
glib _l_i_b_r_a_r_y _c_o_m_m_a_n_d ...
COMMANDS
-l -a _o_b_j_e_c_t -d _o_b_j_e_c_t -x _o_b_j_e_c_t -b _b_a_t_c_h_f_i_l_e
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 omitted 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.
OPTIONS
_G_l_i_b accepts the following options.
_l_i_b_r_a_r_y
This required option defines the library to be created
or opened. The option should include the .lib exten-
sion.
-l List the library contents. Each module name is listed
with it's public definitions.
-a _o_b_j_e_c_t
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 _o_b_j_e_c_t
Delete object in library. The object will be deleted
from the library and the library will be rebuilt.
-x _o_b_j_e_c_t
Extract object from libray. The object will be
extracted from the library and written to filename
object.
-b _b_a_t_c_h_f_i_l_e
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.
GLIB 1.1.5 Last change: Mar 20 1993 1
GLIB(1) Utility Commands GLIB(1)
EXAMPLES
List all the modules and publics in library libc.lib, add module
printf.obj and extract open.obj:
glib libc.lib -l -a printf.obj -x open
Perform exactly the same operations using a batch file instead of
options on the command line:
glib libc.lib -l -b lib.bat
The contents of the batch file, lib.bat, are:
-a printf.obj
-x open
Use a wildcard to extract all the objects from libc.lib:
glib libc.lib -x *.obj
GLIB 1.1.5 Last change: Mar 20 1993 2