【メモ】libtool
SystemC-2.3インストール時に使っている「libtool」が
イマイチ分からなかったので、メモっとく。
正確には、GNU Libtool - The GNU Portable Library Tool
最新版は「2.4.2」で、2011年10月以降の更新なし。
目的(役割)
libtool を使用することで、静的ライブラリや共有ライブラリの生成に対して
環境(プラットフォーム)に依存することなくプログラムを書くことが出来るらしい。
libtoolの実行種類
$> libtool --mode=MODE にて以下の表にあるような動作を行う。
--mode= | 動作 |
---|---|
clean | remove files from the build directory |
compile | compile a source file into a libtool object |
execute | automatically set library path, then run a program |
finish | complete the installation of libtool libraries |
install | install libraries or executables |
link | create a library or an executable |
uninstall | remove libraries from an installed directory |