mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2024-12-13 10:29:09 +00:00
update man pages.
This commit is contained in:
parent
1f1577d0d4
commit
543bb91ac9
18
wdclib.1
18
wdclib.1
@ -40,7 +40,7 @@ are given, the default is to assume option
|
|||||||
.Fl A .
|
.Fl A .
|
||||||
To create a library from a set of object files, use the command:
|
To create a library from a set of object files, use the command:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -A MYLIB.LIB LIBSRC1.OBJ LIBSRC2.OBJ LIBSRC3.OBJ
|
.Dl Nm Fl A Ar MYLIB.LIB Ar LIBSRC1.OBJ Ar LIBSRC2.OBJ Ar LIBSRC3.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
which will create a library file called
|
which will create a library file called
|
||||||
.Ar MYLIB.LIB
|
.Ar MYLIB.LIB
|
||||||
@ -57,7 +57,7 @@ with new ones.
|
|||||||
The following example shows how to remove the modules associated with an
|
The following example shows how to remove the modules associated with an
|
||||||
object file.
|
object file.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -D MYLIB.LIB LIBSRC3.OBJ
|
.Dl Nm Fl D Ar MYLIB.LIB Ar LIBSRC3.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
All of the modules associated with the file
|
All of the modules associated with the file
|
||||||
.Ar LIBSRC3.OBJ
|
.Ar LIBSRC3.OBJ
|
||||||
@ -65,8 +65,8 @@ will be deleted from the library.
|
|||||||
.Pp
|
.Pp
|
||||||
This example shows how to replace a file in a library.
|
This example shows how to replace a file in a library.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -D MYLIB.LIB LIBSRC2.OBJ
|
.Dl Nm Fl D Ar MYLIB.LIB Ar LIBSRC2.OBJ
|
||||||
.Dl WDCLIB -A MYLIB.LIB LIBSRC2.OBJ
|
.Dl Nm Fl A Ar MYLIB.LIB Ar LIBSRC2.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
The modules associated with
|
The modules associated with
|
||||||
.Ar LIBSRC2.OBJ
|
.Ar LIBSRC2.OBJ
|
||||||
@ -84,8 +84,8 @@ For example, these commands add all files with a
|
|||||||
.Ar .OBJ
|
.Ar .OBJ
|
||||||
extension to the library.
|
extension to the library.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl DIR *.OBJ > OBJLIST
|
.Dl Nm DIR Ar *.OBJ > Pa OBJLIST
|
||||||
.Dl WDCLIB -A MYLIB.LIB -F OBJLIST
|
.Dl Nm Fl A Ar MYLIB.LIB Fl F Ar OBJLIST
|
||||||
.It Fl L
|
.It Fl L
|
||||||
This option causes a list of the files in the library to be printed.
|
This option causes a list of the files in the library to be printed.
|
||||||
Associated with each file name is a file number. This number will also
|
Associated with each file name is a file number. This number will also
|
||||||
@ -93,11 +93,11 @@ appear in the symbol listing which indicates which file contains the
|
|||||||
module that defines that symbol. This command will display the names
|
module that defines that symbol. This command will display the names
|
||||||
of all files added to a library.
|
of all files added to a library.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -L MYLIB.LIB
|
.Dl Nm Fl L Ar MYLIB.LIB
|
||||||
.Pp
|
.Pp
|
||||||
This command adds two files to the library.
|
This command adds two files to the library.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -AL MYLIB.LIB LIBSRC1.OBJ LIBSRC2.OBJ
|
.Dl Nm Fl AL Ar MYLIB.LIB Ar LIBSRC1.OBJ Ar LIBSRC2.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
After the files are added, a list of all the files in the library will
|
After the files are added, a list of all the files in the library will
|
||||||
be printed.
|
be printed.
|
||||||
@ -113,7 +113,7 @@ name. After extraction, the modules in the library are deleted.
|
|||||||
.Pp
|
.Pp
|
||||||
The following example extracts two files from a library.
|
The following example extracts two files from a library.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCLIB -X MYLIB.LIB LIBSRC3.OBJ LIBSRC1.OBJ
|
.Dl Nm Fl X Ar MYLIB.LIB Ar LIBSRC3.OBJ Ar LIBSRC1.OBJ
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr wdc02as 1 ,
|
.Xr wdc02as 1 ,
|
||||||
|
8
wdcln.1
8
wdcln.1
@ -383,6 +383,14 @@ are:
|
|||||||
and
|
and
|
||||||
.Fl Z Ns Ar data Ns = .
|
.Fl Z Ns Ar data Ns = .
|
||||||
.El
|
.El
|
||||||
|
.Sh ENVIRONMENT
|
||||||
|
The following environment variables affect the execution of
|
||||||
|
.Nm :
|
||||||
|
.Bl -tag -width indent
|
||||||
|
.It Ev WDC_LIB
|
||||||
|
A semi-colon separated list of directories to search if an
|
||||||
|
input file cannot be found in the current directory.
|
||||||
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr wdc02as 1 ,
|
.Xr wdc02as 1 ,
|
||||||
.Xr wdc02cc 1 ,
|
.Xr wdc02cc 1 ,
|
||||||
|
6
wdcobj.1
6
wdcobj.1
@ -39,7 +39,7 @@ data.
|
|||||||
To examine the individual records in an object module but without seeing all
|
To examine the individual records in an object module but without seeing all
|
||||||
of the data bytes, use the command:
|
of the data bytes, use the command:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCOBJ -L PROG.OBJ
|
.Dl Nm Fl L Ar PROG.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl R
|
.It Fl R
|
||||||
This option causes display of each of the individual records in the object
|
This option causes display of each of the individual records in the object
|
||||||
@ -47,7 +47,7 @@ module. Information about the object file format is available on request.
|
|||||||
.Pp
|
.Pp
|
||||||
To examine the individual records in an object module, use the command:
|
To examine the individual records in an object module, use the command:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCOBJ -R PROG.OBJ
|
.Dl Nm Fl R Ar PROG.OBJ
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl S
|
.It Fl S
|
||||||
Normally, when
|
Normally, when
|
||||||
@ -61,7 +61,7 @@ The following command displays just the section names and types of all
|
|||||||
modules in the file
|
modules in the file
|
||||||
.Ar PROG.OBJ :
|
.Ar PROG.OBJ :
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCOBJ -S PROG.OBJ
|
.Dl Nm Fl S Ar PROG.OBJ
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr wdc02as 1 ,
|
.Xr wdc02as 1 ,
|
||||||
|
3
wdcsym.1
3
wdcsym.1
@ -43,7 +43,8 @@ file. Normally, the global symbol records are suppressed.
|
|||||||
The following command displays the section information, and symbols for all
|
The following command displays the section information, and symbols for all
|
||||||
sections and the global symbols as well.
|
sections and the global symbols as well.
|
||||||
.Pp
|
.Pp
|
||||||
.Dl WDCSYM -S PROG.SYM
|
.Dl Nm Fl S Ar PROG.SYM
|
||||||
|
.Pp
|
||||||
.El
|
.El
|
||||||
The basic structure of the file is outlined as follows:
|
The basic structure of the file is outlined as follows:
|
||||||
.Bl -inset -compact -offset indent
|
.Bl -inset -compact -offset indent
|
||||||
|
Loading…
Reference in New Issue
Block a user