X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Far65.sgml;h=900a0a92b0e304528050b15eb39d5659de805236;hb=5d274e4bc5b81002146e72602dae235dcd4c591e;hp=136defd406cd610dc0b5e138cb35ac974d2c8beb;hpb=ec417c0dc5f920807f3483e4309d755734ae0e69;p=cc65 diff --git a/doc/ar65.sgml b/doc/ar65.sgml index 136defd40..900a0a92b 100644 --- a/doc/ar65.sgml +++ b/doc/ar65.sgml @@ -1,10 +1,8 @@
- ar65 Users Guide <author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz"> -<date>19.07.2000 <abstract> ar65 is an archiver for object files generated by ca65. It allows to create @@ -32,16 +30,17 @@ for the cc65 compiler. ar65 is part of this suite. 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 <tt/'r'/ command ('a' is deprecated). 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. @@ -53,45 +52,45 @@ has a newer timestamp than the one to add. 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 +This will add two modules to the library 'mysubs.lib' creating the library if necessary. If the library contains modules named sub1.o or sub2.o, they are replaced by the new ones. 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 +Deleting modules from a library is done with the <tt/'d'/ command. You may not give a path when naming the modules. Example: <tscreen><verb> - ar65 d mysubs.lib sub1.o + ar65 d mysubs.lib sub1.o </verb></tscreen> -This will delete the module named `sub1.o' from the library, printing an +This will delete the module named 'sub1.o' from the library, printing an error if the library does not contain that module. -The `l' command prints a list of all modules in the library. Any module -names on the command line are ignored. +The <tt/'t'/ command prints a table of all modules in the library ('l' is deprecated). +Any module names on the command line are ignored. Example: <tscreen><verb> - ar65 l mysubs.lib + ar65 tv mysubs.lib </verb></tscreen> -Using the `x' command, you may extract modules from the library. The +Using the <tt/'x'/ command, you may extract modules from the library. The modules named on the command line are extracted from the library and put into the current directory. @@ -104,11 +103,11 @@ this is not a problem. Example for extracting a module from the library: <tscreen><verb> - ar65 x mysubs.lib sub1.o + ar65 x mysubs.lib sub1.o </verb></tscreen> -The `V' command prints the version number of the assembler. If you send +The <tt/'V'/ command prints the version number of the assembler. If you send any suggestions or bugfixes, please include your version number. In addition to these operations, the archiver will check for, and warn @@ -132,17 +131,14 @@ including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: <enum> -<item> The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. -<item> Altered source versions must be plainly marked as such, and must not - be misrepresented as being the original software. -<item> This notice may not be removed or altered from any source - distribution. +<item> The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +<item> Altered source versions must be plainly marked as such, and must not + be misrepresented as being the original software. +<item> This notice may not be removed or altered from any source + distribution. </enum> </article> - - -