noft Manual (G06.26+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction
- 2 noft Utility
- 3 noft Options
- Break Key
- ! (Exclamation Point)
- CD
- COMMENT
- DUMPADDRESS or DA
- DUMPOFFSET or DO
- DUMPPROC or DP
- DYNSTR2
- ENV
- EXIT or E
- FC
- FILE or F
- HELP or ?
- HISTORY or H
- LAYOUT
- LIBLIST
- LISTATTRIBUTE or LA
- LISTCOMPILERS or LC
- LISTOPTIMIZE or LO
- LISTPROC or LP
- LISTSOURCE or LS
- LISTSRLEXPORTS or LLE
- LISTSRLFIXUPS or LLF
- LISTSRLINFO or LLI
- LISTUNREFERENCED or LUR
- LISTUNRESOLVED or LU
- LOG
- OBEY
- OUT
- QUIT or Q
- RESET
- SET
- SHOW
- SYSTEM or VOLUME
- XREFPROC or XP
- 4 noft Diagnostic Messages
- 5 ar Utility
- 6 ar Diagnostic Messages
- A Sample nld and noft Session
- B Converting From Binder to noft
- C Native Object File Structure
- Glossary
- Index

noft Manual—528273-001
5-1
5 ar Utility
The ar utility creates and maintains archives composed of groups of object files. You
can mix PIC and non-PIC files in an archive. After an archive has been created, new
files can be added, and existing files can be extracted, deleted, or replaced.
The ar utility runs in these environments:
•
Guardian
•
Open System Services (OSS)
•
These PC platforms:
To run the ar utility, use this syntax. The syntax is the same in every environment in
which ar runs:
action-option
is an ar option that specifies the action to be performed. The action options are as
follows:
Platform
Operating System
Windows 98 Windows NT Windows 2000 Windows XP
TDS* Yes Yes No No
ETK** No Yes Yes Yes
* HP Tandem Development Suite
** HP Enterprise Toolkit—NonStop Edition
ar action-option [modifier-option ...] [position_name]
archive [file ...]
Name Function (page 1 of 2)
-d Delete the specified files from the archive.
-m Move the specified files. The -a, -b, or -i option with the
position-name operand indicates the destination of
the move. Otherwise, move the files to the end of the
archive.
-p Write the contents of the specified files from the archive to
the standard output. If no files are specified, write the
contents of all files in the archive, from first to last.
-q Quickly append the specified files to the end of the
archive file. In this case, ar does not check whether the
added members are already in the archive. Use this
option to bypass the searching otherwise done when
creating a large archive file piece by piece.