mirror of
https://github.com/cc65/cc65.git
synced 2024-10-06 16:55:57 +00:00
Merge pull request #444 from polluks/patch-8
Verbosity was missing; POSIX operations
This commit is contained in:
commit
1a20630d2a
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<title>ar65 Users Guide
|
<title>ar65 Users Guide
|
||||||
<author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">
|
<author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">
|
||||||
<date>19.07.2000
|
<date>2017-05-28
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
ar65 is an archiver for object files generated by ca65. It allows to create
|
ar65 is an archiver for object files generated by ca65. It allows to create
|
||||||
@ -32,16 +32,17 @@ for the cc65 compiler. ar65 is part of this suite.
|
|||||||
The archiver is called as follows:
|
The archiver is called as follows:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
Usage: ar65 <operation> lib file|module ...
|
Usage: ar65 <operation ...> lib file|module ...
|
||||||
Operation is one of:
|
Operations are some of:
|
||||||
a Add modules
|
r Add modules
|
||||||
d Delete modules
|
d Delete modules
|
||||||
l List library contents
|
t List library table
|
||||||
x Extract modules
|
v Increase verbosity (put before other operation)
|
||||||
V Print the archiver version
|
x Extract modules
|
||||||
|
V Print the archiver version
|
||||||
</verb></tscreen>
|
</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 (`a' is deprecated). If the library
|
||||||
does not exist, it is created (and a warning message is printed which you
|
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
|
may ignore if creation of the library was your intention). You may
|
||||||
specify any number of modules on the command line following the library.
|
specify any number of modules on the command line following the library.
|
||||||
@ -53,7 +54,7 @@ has a newer timestamp than the one to add.
|
|||||||
Here's an example:
|
Here's an example:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
ar65 a mysubs.lib sub1.o sub2.o
|
ar65 r mysubs.lib sub1.o sub2.o
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
This will add two modules to the library `mysubs.lib' creating the
|
This will add two modules to the library `mysubs.lib' creating the
|
||||||
@ -63,10 +64,10 @@ sub2.o, they are replaced by the new ones.
|
|||||||
Modules names in the library are stored without the path, so, using
|
Modules names in the library are stored without the path, so, using
|
||||||
|
|
||||||
<tscreen><verb>
|
<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>
|
</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
|
Deleting modules from a library is done with the `d' command. You may not
|
||||||
give a path when naming the modules.
|
give a path when naming the modules.
|
||||||
@ -81,13 +82,13 @@ This will delete the module named `sub1.o' from the library, printing an
|
|||||||
error if the library does not contain that module.
|
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 (`l' is deprecated).
|
||||||
names on the command line are ignored.
|
Any module names on the command line are ignored.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
ar65 l mysubs.lib
|
ar65 tv mysubs.lib
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user