The archiver is called as follows:
<tscreen><verb>
- Usage: ar65 <operation> lib file|module ...
- Operation is one of:
- a Add modules
- d Delete modules
- l List library contents
- x Extract modules
- V Print the archiver version
+ Usage: ar65 <operation ...> lib file|module ...
+ Operations are some of:
+ r Add modules
+ d Delete modules
+ t List library table
+ v Increase verbosity (put before other operation)
+ x Extract modules
+ V Print the archiver version
</verb></tscreen>
-You may add modules to a library using the `a' command. If the library
+You may add modules to a library using the `r' command. If the library
does not exist, it is created (and a warning message is printed which you
may ignore if creation of the library was your intention). You may
specify any number of modules on the command line following the library.
Here's an example:
<tscreen><verb>
- ar65 a mysubs.lib sub1.o sub2.o
+ ar65 r mysubs.lib sub1.o sub2.o
</verb></tscreen>
This will add two modules to the library `mysubs.lib' creating the
Modules names in the library are stored without the path, so, using
<tscreen><verb>
- ar65 a mysubs.lib ofiles/sub1.o ofiles/sub2.o
+ ar65 v v r mysubs.lib ofiles/sub1.o ofiles/sub2.o
</verb></tscreen>
-will add two modules named `sub1.o' and `sub2.o' to the library.
+will verbose add two modules named `sub1.o' and `sub2.o' to the library.
Deleting modules from a library is done with the `d' command. You may not
give a path when naming the modules.
error if the library does not contain that module.
-The `l' command prints a list of all modules in the library. Any module
+The `t' command prints a table of all modules in the library. Any module
names on the command line are ignored.
Example:
<tscreen><verb>
- ar65 l mysubs.lib
+ ar65 tv mysubs.lib
</verb></tscreen>