The archiver maintains a group of object files as a single library
as used by the linker. The archiver operates on text and object
files, but does not allow mixing object formats within an archive.
The format of an archive is determined by the format of the first
object file on the file list when the archive is created.
The archiver invocation command is:
- arc960 |
gar960 -option [ -modifier
... ] archive [ name ... ]
Archiver options must be preceded by a -
character. (On DOS, you can also use a /
character.) Some options have modifiers. The options and modifiers
are listed below.
The archive
argument identifies the archive to be operated on. You must specify
a complete pathname if the archive is not in the current directory.
name specifies
an archive member or external file.
Options
- d
(Delete)
Deletes file
from the library lib.
- h (Help)
Displays help information.
- m (Move)
Moves members to the end of the archive or to the specified position.
- p (Print)
Prints members in the archive.
- r (Replace)
Replaces members or adds new members.
- t (Table)
Prints member information or the archive table of contents.
- u (Update)
updates members, or adds new members.
- x (Extract)
Extracts members to files without modifying the archive.
- z (Suppress)
Suppresses time stamp in archive header.
Modifiers
- a pname
(Position)
Adds or positions members after the pname
member. Used with r,
u, or m.
- b |
i pname (Before /Insert)
Adds or positions members before the pname
member. Used with r,
u, or m.
- c (Creation)
Suppresses the archive-creation message. Used with r
or u.
- l (Local)
Uses the current directory for temporary files. Used with any
option.
- o (Output
Date)
Creates file with the last-modified date recorded in the library.
Used with x.
- s (Symbols)
Creates or updates the library symbol table. Used with any option
or none.
- u (Update)
Updates members only if the member last-modified date is older
than the file last-modified date. Used with r.
- v (Progress)
Reports the archiver progress. Used with any option.
- V (Version)
Reports the archiver version and continues processing. Used with
any option.
- v960
(Version only)
Reports the archiver version and stops. Used with any option or
none.
Return
to the top of this page.
Go
to the ic960 Interface Index.
Go
to the gcc960 Interface Index.