📄 ranlib.html
字号:
<html lang="en">
<head>
<title>GNU Binary Utilities</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Binary Utilities">
<meta name="generator" content="makeinfo 4.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="ranlib">ranlib</a>,
Next:<a rel="next" accesskey="n" href="readelf.html#readelf">readelf</a>,
Previous:<a rel="previous" accesskey="p" href="objdump.html#objdump">objdump</a>,
Up:<a rel="up" accesskey="u" href="index.html#Top">Top</a>
<hr><br>
</div>
<h2 class="chapter">ranlib</h2>
<pre class="smallexample"> ranlib [<code>-vV</code>] <var>archive</var>
</pre>
<p><code>ranlib</code> generates an index to the contents of an archive and
stores it in the archive. The index lists each symbol defined by a
member of an archive that is a relocatable object file.
<p>You may use <code>nm -s</code> or <code>nm --print-armap</code> to list this index.
<p>An archive with such an index speeds up linking to the library and
allows routines in the library to call each other without regard to
their placement in the archive.
<p>The <small>GNU</small> <code>ranlib</code> program is another form of <small>GNU</small> <code>ar</code>; running
<code>ranlib</code> is completely equivalent to executing <code>ar -s</code>.
See <a href="ar.html#ar">ar</a>.
<dl>
<dt><code>-v</code>
<dd><dt><code>-V</code>
<dd><dt><code>--version</code>
<dd>Show the version number of <code>ranlib</code>.
</dl>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -