Archiver

The archiver allows: creating, modifying, and extracting archives. With its help, you can create libraries. For example, the following command creates a library:

ar rcs <library-name>.a <module-1>.o <module-2>.o ...

To list the files from the library, use the following command:

ar -t <library-name>.a

Last updated

Was this helpful?