The IAR Archive Tool—iarchive—creates and manipulates a library (anarchive) of several ELF object files.

Usage:          iarchive [command] archive obj1 ... objN
iarchive [command] obj1 ... objN -o archive
iarchive [command] archive Available command line options:
--create Create new archive
--delete
-d Delete module(s) from archive
--extract
-x Extract module(s) from archive
--output archive
-o archive Name of archive file
--replace
-r Replace or add module(s) to archive
--symbols List symbol table of archive
--toc
-t List archive table of content
--verbose
-V verbose operation
-f file Read command line options from file

The IAR Archive Tool, iarchive, can create a library (an archive) file from several ELF object files.

You can also use iarchaive to manipulate ELF libraries.

A library file contains several relocatable ELF object modules, each of which can be independently used by a linker.

In contrast with object modules specified directly to the linker, each module in a library is only included if it is needed.

The invocation syntax for the archive builder is:

iarchive parameters

command Command line options that define an operation to be performed. Such an option must be specified before the name of the library file.

libraryfile The library file to be operated on.

objectfile1 ... objectfileN  The object file(s) that the specified command operates on.

options Command line options that define actions to be performed. These options can be placed anywhere on the command line.

This example creates a library file called mylibrary.a from the source object files module1.o, module.2.o, and module3.o:

iarchive mylibrary.a module1.o module2.o module3.o

This example lists the contents of mylibrary.a:

iarchive --toc mylibrary.a

This example replaces module3.o in the library with the content in the module3.o file and appends module4.o to mylibrary.a:

iarchive --replace mylibrary.a module3.o module4.o

command 

--create       Creates a library that contains the listed object files.

--create libraryfile objectfile1 ... objectfileN

--delete, -d  Deletes the listed object files from the library.

--delete libraryfile objectfile1 ... objectfileN

--extract, -x Extracts the listed object files from the library.

--extract libraryfile [objectfile1 ... objectfileN]

--replace, -r Replaces or appends the listed object files to the library.

--replace libraryfile objectfile1 ... objectfileN

--symbols     Lists all symbols defined by files in the library.

--symbols libraryfile  Use this command to list the names of all object files (modules) in a specified library

--toc, -t        Lists all files in the library.

--toc libraryfile

options 

-f                    Extends the command line.

-f filename

--output, -o     Specifies the library file.

-o {filename|directory}

By default, iarchive assumes that the first argument after the iarchive command is the name of the destination library.

Use this option to explicitly specify a different filename for the library.

--silent            Sets silent operation.

Causes the tool to operate without sending any messages to the standard output stream

--verbose, -V   Reports all performed operations.

Use this option to make the tool report which operations it performs, in addition to giving diagnostic messages.

The IAR Archive Tool—iarchive的更多相关文章

  1. ffmpeg编译参数详解

    Usage: configure [options]用 法:configure [选项]Options: [defaults in brackets after descriptions]选   项: ...

  2. 学习 java命令

    依稀记得自己第一次编译*.java文件,第一次运行*.class文件.但是六七年过去了,现在运行java写的程序更多的是用tomcat这种web容器.最近有个小需求,写一个监控zookeeper集群的 ...

  3. FFMPEG ./configure 参数及意义

    FFMPEG版本:2.6.2,编译环境:ubuntu 14.4. 不同版本的FFMPEG参数可能不同,可在FFMPEG目录下使用以下命令查看 ./configure --help --help pri ...

  4. [原]如何用Android NDK编译FFmpeg

    我们知道在Ubuntu下直接编译FFmpeg是很简单的,主要是先执行./configure,接着执行make命令来编译,完了紧接着执行make install执行安装.那么如何使用Android的ND ...

  5. mysql下面的INSTALL-BINARY的内容,所有的mysql的配置内容都在这

    2.2 Installing MySQL on Unix/Linux Using Generic Binaries Oracle provides a set of binary distributi ...

  6. Cadstar格式导入功能

    Cadstar格式导入功能   Skip to end of metadata   Attachments:4 Added by Wenlong Hua, last edited by Wenlong ...

  7. MANIFEST.MF详解(转)

    转载自http://blog.csdn.net/zhifeiyu2008/article/details/8829637 打开Java的JAR文件我们经常可以看到文件中包含着一个META-INF目录, ...

  8. xcode6.3 编译ffmpeg 2.6.3(已验证编译成功)

    1.解压ffmpeg2.6.3源代码,在根目录下新建文件myconfig,内容如下,执行命令chmod 777 ./myconfig 2../myconfig 3.make 4.make instal ...

  9. Jar文件 META-INF/MANIFEST.MF文件详解

    打开Java的JAR文件我们经常可以看到文件中包含着一个META-INF目录, 这个目录下会有一些文件,其中必有一个MANIFEST.MF,这个文件描述了该Jar文件的很多信息,下面将详细介绍MANI ...

随机推荐

  1. Oracle自定义数据类型 1

    原文 oracle 自定义类型 type / create type 一 Oracle中的类型 类型有很多种,主要可以分为以下几类: 1.字符串类型.如:char.nchar.varchar2.nva ...

  2. [Papers]NSE, $u$, Lorentz space [Sohr, JEE, 2001]

    $$\bex \bbu\in L^{p,r}(0,T;L^{q,\infty}(\bbR^3)),\quad\frac{2}{p}+\frac{3}{q}=1,\quad 3<q<\inf ...

  3. Java魔法类:sun.misc.Unsafe

    Unsafe类在jdk 源码的多个类中用到,这个类的提供了一些绕开JVM的更底层功能,基于它的实现可以提高效率.但是,它是一把双刃剑:正如它的名字所预示的那样,它是Unsafe的,它所分配的内存需要手 ...

  4. yii框架AR详解

    虽 然Yii DAO可以处理事实上任何数据库相关的任务,但很可能我们会花费90%的时间用来编写一些通用的SQL语句来执行CRUD操作(创建,读取,更新和删除). 同时我们也很难维护这些PHP和SQL语 ...

  5. Zabbix监控Linux磁盘I/O

    东西都上传到这里了: https://github.com/RexKang/Zabbix/tree/master/OS/Linux-disk-discovery   需要用到的东西: Zabbix的L ...

  6. 二叉树的基本操作(C)

    实现二叉树的创建(先序).递归及非递归的先.中.后序遍历 请按先序遍历输入二叉树元素(每个结点一个字符,空结点为'='): ABD==E==CF==G== 先序递归遍历: A B D E C F G ...

  7. <转>揭秘DNS后台文件:DNS系列之五

    揭秘DNS后台文件 在前面的博文中我们介绍了DNS的体系结构,常用记录,还介绍了辅助服务器的配置,今天我们来介绍一下DNS服务器背后的几个文件.其实DNS服务器的工作完全依靠这几个文件,了解了DNS的 ...

  8. spring初探1

    spring初探1 关于新建对象,对象依赖的三种方式比较 场景 某个交易的业务组建拆分,为原先的功能模块新写了一个业务组件 使用new. 修改上层代码的对象生成部分( 如果不是面向接口编程,简直就是灾 ...

  9. Delphi下使用OpenOffice+JodConverter+SWFtools进行文件转换

    目的:office文件转换为PDF或SWF,最终可使用Flexpaper调用adobe flash player进行浏览 放弃两个文件转换工具: 1.FlashPaper,转换出的文件由于自带工具栏, ...

  10. 【一段日子荟萃】where should I go.

    当<UNIX环境高级编程>和<鸟哥的私房菜>到我的桌头的时候,我忽然产生了厌倦的心. NO,我不是想做这个,我不是想学习这个操作系统的结构和接口. 我想些一个操作系统,更一般的 ...