Scroll to navigation

ranlib(1) GNU Development Tools ranlib(1)

名前

ranlib - 書庫のインデックスを作成する

書式

ranlib [-v|-V] archive

説明

ranlib は書庫 (archive) の内容に関するインデックスを作成し、その書庫に書き込 む。インデックスはアーカイブのメンバー(リロケータブルなオブジェクトファ イル)で定義されているシンボルを全てリストする。

このリストを見るには `nm -s' または `nm --print-armap' を用いれば良い。

このようなインデックスを持つ書庫は、ライブラリとしてリンクするときの動 作が高速になる。またライブラリの中のルーチンが(書庫内部での位置には関 係なく)お互いをコールすることができるようになる。

GNU ranlib プログラムは GNU ar の別名である。 ranlib を実行するのと `ar -s' とは完全に等価である。

オプション

ranlib のバージョン番号を表示して終了する。

関連項目

info の ` binutils ' エントリ、 The GNU Binary Utilities, Roland H. Pesch (October 1991)、 ar(1)、 nm(1)

著作権

Copyright (c) 1991 Free Software Foundation, Inc.

Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be included in translations approved by the Free Software Foundation instead of in the original English.

5 November 1991 cygnus support