Create and maintain library archives (POSIX)


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


The ar_variant depends on the target platform, as follows:

Target platform: ar_variant:
ARM ntoarm-ar
x86 ntox86-ar


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 .

Contributing author:


Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus