AR

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
(wikidata)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|subcat=Archiving
 
|subcat=Archiving
 
|extensions={{ext|a}}, {{ext|lib}}
 
|extensions={{ext|a}}, {{ext|lib}}
 +
|wikidata={{wikidata|Q27824050}}, {{wikidata|Q27824053}}
 
}}
 
}}
 
:''For another "ar" format, see [[ar (Haruhiko Okumura)]].''
 
:''For another "ar" format, see [[ar (Haruhiko Okumura)]].''
Line 21: Line 22:
 
* [http://llvm.org/docs/CommandGuide/llvm-ar.html llvm-ar]
 
* [http://llvm.org/docs/CommandGuide/llvm-ar.html llvm-ar]
 
* {{Deark}}
 
* {{Deark}}
 +
* {{XAD}}
  
 
== Sample files ==
 
== Sample files ==

Latest revision as of 01:54, 11 January 2026

File Format
Name AR
Ontology
Extension(s) .a, .lib
Wikidata ID Q27824050, Q27824053
For another "ar" format, see ar (Haruhiko Okumura).

ar is a non-compressed archive format for Unix-style operating systems. It was mostly superseded by tar for general archiving use, but persists in use for specialized applications involving linkable libraries for development.

Contents

[edit] Overview

There are at least 5 different variants of the ar file format since it has never been formally standardized: AIX(big), AIX(small), Coherent, BSD, and GNU.

[edit] Examples

To list the contents of an archive, using the ar utility:

$ ar tv example.a

To extract the contents of an archive:

$ ar xvo example.a

[edit] Software

[edit] Sample files

[edit] References

  • Wikipedia page for the ar archiver
  • IBM AIX documentation on scribd here (page 386+; someone might find a better accessible version)
  • Also from IBM is this description (and this for the "small" variant)
  • The Microsoft PE/COFF documentation also has a section on .lib files which use the same format
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox