vxWorks中的AR命令
已有 743 次阅读2016-11-2 17:08
|个人分类:嵌入式开发|
vxworks
AR命令可心用于维护vxWorks生成的库文件(.a文件),ararm/arppc分别用于arm和ppc平台。
D:\Tornado2.2_ppc\target\config\ads828x_boot>arppc
Usage:
arppc [-X32_64] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count]
archi
ve-file file...
arppc -M
[<mri-script]
commands:
d - delete
file(s) from the archive
m[ab] - move file(s) in the
archive
p - print
file(s) found in the archive
q[f] - quick append file(s) to
the archive
r[ab][f][u] - replace existing or insert new file(s)
into the archive
t - display
contents of archive
x[o] - extract file(s) from the
archive
command specific modifiers:
[a] - put file(s) after
[member-name]
[b] - put file(s) before
[member-name] (same as [i])
[N] - use instance [count]
of name
[f] -
truncate inserted file names
[P] - use full path names
when matching
[o] - preserve original
dates
[u] - only
replace files that are newer than current archive contents
generic
modifiers:
[c] -
do not warn if the library had to be created
[s] - create an archive
index (cf. ranlib)
[S] - do not build a
symbol table
[v]
- be verbose
[V]
- display the version number
[-X32_64] -
(ignored)
arppc: supported targets: elf32-powerpc aixcoff-rs6000
elf32-powerpcle ppcboot e
lf32-little elf32-big srec symbolsrec tekhex binary
ihex