123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-system-libtool" role="wrap">
- <?dbhtml filename="libtool.html"?>
- <sect1info condition="script">
- <productname>libtool</productname>
- <productnumber>&libtool-version;</productnumber>
- <address>&libtool-url;</address>
- </sect1info>
- <title>Libtool-&libtool-version;</title>
- <indexterm zone="ch-system-libtool">
- <primary sortas="a-Libtool">Libtool</primary>
- </indexterm>
- <sect2 role="package">
- <title/>
- <para>Libtool 软件包包含 GNU 通用库支持脚本。
- 它在一个一致、可移植的接口下隐藏了使用共享库的复杂性。</para>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
- <seglistitem>
- <seg>&libtool-ch6-sbu;</seg>
- <seg>&libtool-ch6-du;</seg>
- </seglistitem>
- </segmentedlist>
- </sect2>
- <sect2 role="installation">
- <title>安装 Libtool</title>
- <para>准备安装 Libtool:</para>
- <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
- <para>编译该软件包:</para>
- <screen><userinput remap="make">make</userinput></screen>
- <para>为了测试编译结果(需要约 11.0 SBU),执行:</para>
- <screen><userinput remap="test">make check</userinput></screen>
- <note><para>在多核系统上,可以显著减少 libtool 的测试时间。
- 为了使用多个核心,在上述命令中附加
- <command>TESTSUITEFLAGS=-j<N></command> 参数。
- 例如,使用 -j4 可以减少超过 60% 的测试时间。</para></note>
- <!--para>Five tests are known to fail in the LFS build environment due
- to a circular dependency, but all tests pass if rechecked after
- automake is installed.</para-->
- <para>在 LFS 构建环境中,已知有五个测试因为循环依赖而失败。
- 然而在 automake 安装后,所有测试都能通过。</para>
- <para>安装该软件包:</para>
- <screen><userinput remap="install">make install</userinput></screen>
- </sect2>
- <sect2 id="contents-libtool" role="content">
- <title>Libtool 的内容</title>
- <segmentedlist>
- <segtitle>安装的程序</segtitle>
- <segtitle>安装的库</segtitle>
- <segtitle>安装的目录</segtitle>
- <seglistitem>
- <seg>libtool 和 libtoolize</seg>
- <seg>libltdl.so</seg>
- <seg>/usr/include/libltdl 和 /usr/share/libtool</seg>
- </seglistitem>
- </segmentedlist>
- <variablelist>
- <bridgehead renderas="sect3">简要描述</bridgehead>
- <?dbfo list-presentation="list"?>
- <?dbhtml list-presentation="table"?>
- <varlistentry id="libtool">
- <term><command>libtool</command></term>
- <listitem>
- <para>提供通用化库文件构建支持服务</para>
- <indexterm zone="ch-system-libtool libtool">
- <primary sortas="b-libtool">libtool</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- <varlistentry id="libtoolize">
- <term><command>libtoolize</command></term>
- <listitem>
- <para>提供为软件包增加 <command>libtool</command> 支持的标准方法
- </para>
- <indexterm zone="ch-system-libtool libtoolize">
- <primary sortas="b-libtoolize">libtoolize</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- <varlistentry id="libltdl">
- <term><filename class="libraryfile">libltdl</filename></term>
- <listitem>
- <para>隐藏用 dlopen 加载库时可能遇到的若干困难</para>
- <indexterm zone="ch-system-libtool libltdl">
- <primary sortas="c-libltdl">libltdl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
- </variablelist>
- </sect2>
- </sect1>
|