【Keil5 MDK】armar工具的基本用法【提取.a/.lib库文件信息】

ARM Librarian, 5.03 [Build 76]
- archive creation and maintenance tool

Command format:

armar options archive [ file_list ]

Wildcards '?' and '*' may be used in file_list

Options:-

-r Insert files in <file_list>, replace existing members of the same name.
-d Delete the members in <file_list>.
-x Extract members in <file_list> placing in files of the same name.
-m Move files in <file_list>.
-p Print files to stdout.
-a pos Insert/move files after file named <pos>.
-b pos Insert/move files before file named <pos>.
-u Update older files only, used with -r.

-n Do not add a symbol table to an object archive.
-s Force regeneration of archive symbol table.
-t Print table of contents of archive.
--zs Show the symbol table.
--zt Summarize the archive contents (sizes + entries).
-c Suppress warning when a new archive is created.
-C Do not overwrite existing files when extracting.
-T Truncate file names to system maximum length.
-v Give verbose output.
--create Force creation of a new archive.
--via file Take additional arguments from via file.
--sizes List the size of each member and the library total.
--entries List sections containing ENTRY points.
--vsn Print the current Armar Version.
--help Print this message.

Examples:-

armar -r mylib.a obj1 obj2 obj3...
armar -x mylib.a ?sort*
armar -d mylib.a hash.o
armar -tv ansilib.a

 

【提取.a/.lib库文件信息】

armar -tv ansilib.a

原文地址:https://www.cnblogs.com/utank/p/8384812.html