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. 502 Bad Gateway nginx 解决

    打开 /usr/local/php/etc/php-fpm.conf 调大以下两个参数(根据服务器实际情况,过大也不行) <value name=”max_children”>5120&l ...

  2. hdu 2732 Leapin' Lizards(最大流)Mid-Central USA 2005

    废话: 这道题不难,稍微构造一下图就可以套最大流的模板了.但是我还是花了好久才解决.一方面是最近确实非常没状态(托词,其实就是最近特别颓废,整天玩游戏看小说,没法静下心来学习),另一方面是不够细心,输 ...

  3. shell脚本基础——常用的sed命令举例

    一般在实际使用编辑器的过程中 , 常需要执行替换文件中的字符串.移动.删除.与搜寻数据行等等动作.当然 , 一般交互式编辑器(如 vi.emacs)都能做得到上述功能 , 但文件一旦有大量上述编辑需求 ...

  4. hibernate 建表一对一 就是一对多,多的一方外键唯一unique

    Person.java package cn.itcast.hiberate.sh.domain.onetoone; import java.io.Serializable; import java. ...

  5. 自定义View绘制字符串

    import android.app.Activity; import android.os.Bundle; import android.view.Display; import android.v ...

  6. 【剑指offer 面试题47】不用加减乘除做加法

    思路: 利用位运算 C++: #include <iostream> using namespace std; int main() { , b = ; int sum, carry; d ...

  7. selenium python (六)定位一组对象

    checkbox源码: <html><head><meta http-equiv="content-type" content="text/ ...

  8. 代理抓取RSS信息

    最近工作很闲,就自己写了一个可以看RSS订阅的网站.话说,RSS阅读器到处都是,随便下一个就可以了,为什么还去做一个网站形式的呢?作为一个热(xian)爱(de)前(dan)端(teng)的程序员,我 ...

  9. SpringMVC 3.1集成Spring Security 3.1

    这篇算是一个入门文章,昨天看见有网友提问,spring mvc集成spring security 的时候出错,揣测了一下问题木有解决.我就帮忙给搭建了一个集成框架他说可以,他告诉我这样的文章网上少.今 ...

  10. 帮哥们做的一个整理文档的小工具(C++ string的标准函数还是很给力的,代码在最下)

    其实把程序用到生活中,真的能节约不少时间!程序的力量是无穷滴! 哥们的毕业设计是要做法律文书匹配之类的东东,有一步是要抽取所有的法律法规名称,而刚好我们要处理的文件中,法规的名称之前都有个‘.‘,所以 ...