Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

ar

Create and maintain library archives (POSIX)

Syntax:

ar_variant -key_letter[mod [relpos]] archive [member…]
ar_variant -M [ <mri-script ]

Runs on:

QNX Neutrino, Linux, Microsoft Windows

Options:

The ar_variant depends on the target platform, as follows:

Target platform: ar_variant:
ARM ntoarm-ar
MIPS ntomips-ar
PowerPC ntoppc-ar
SH4 ntosh-ar
x86 ntox86-ar

Description:

The ar program creates and modifies archives, and extracts members from them. An archive is a single file holding a collection of other files in a structure that makes it possible to retrieve the original individual files (called members of the archive).

The original files' contents, mode (permissions), timestamp, owner, and group are preserved in the archive; you can restore them on extraction. The ar utility can maintain archives whose members have names of any length.

For detailed documentation, see the GNU website at http://www.gnu.org/.

Contributing author:

GNU

See also:

nm