mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
ar: ar: add Chinese translation
This commit is contained in:
parent
321d7aabb6
commit
dc13a4b7b8
1 changed files with 23 additions and 0 deletions
23
pages.zh/common/ar.md
Normal file
23
pages.zh/common/ar.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# ar
|
||||
|
||||
> 创建, 修改, 提取库文件 (.a, .so, .o).
|
||||
|
||||
- 从库文件中提取全部成员:
|
||||
|
||||
`ar -x {{libfoo.a}}`
|
||||
|
||||
- 列出库文件中的成员:
|
||||
|
||||
`ar -t {{libfoo.a}}`
|
||||
|
||||
- 替换或添加文件到库文件:
|
||||
|
||||
`ar -r {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}`
|
||||
|
||||
- 插入对象文件索引(相当于使用`ranlib`):
|
||||
|
||||
`ar -s {{libfoo.a}}`
|
||||
|
||||
- 使用文件和附带的目标文件索引创建存档:
|
||||
|
||||
`ar -rs {{libfoo.a}} {{foo.o}} {{bar.o}} {{baz.o}}`
|
Loading…
Add table
Reference in a new issue