libtool.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-libtool" role="wrap">
  8. <?dbhtml filename="libtool.html"?>
  9. <sect1info condition="script">
  10. <productname>libtool</productname>
  11. <productnumber>&libtool-version;</productnumber>
  12. <address>&libtool-url;</address>
  13. </sect1info>
  14. <title>Libtool-&libtool-version;</title>
  15. <indexterm zone="ch-system-libtool">
  16. <primary sortas="a-Libtool">Libtool</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Libtool package contains the GNU generic library support script.
  21. It wraps the complexity of using shared libraries in a consistent, portable
  22. interface.</para>
  23. <segmentedlist>
  24. <segtitle>&buildtime;</segtitle>
  25. <segtitle>&diskspace;</segtitle>
  26. <seglistitem>
  27. <seg>&libtool-ch6-sbu;</seg>
  28. <seg>&libtool-ch6-du;</seg>
  29. </seglistitem>
  30. </segmentedlist>
  31. </sect2>
  32. <sect2 role="installation">
  33. <title>Installation of Libtool</title>
  34. <para>Prepare Libtool for compilation:</para>
  35. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  36. <para>Compile the package:</para>
  37. <screen><userinput remap="make">make</userinput></screen>
  38. <para>To test the results<!--(about 11.0 SBU)-->, issue:</para>
  39. <screen><userinput remap="test">make check</userinput></screen>
  40. <note><para>The test time for libtool can be reduced significantly on a
  41. system with multiple cores. To do this, append
  42. <command>TESTSUITEFLAGS=-j&lt;N&gt;</command> to the line above. For
  43. instance, using -j4 can reduce the test time by over 60
  44. percent.</para></note>
  45. <para>Five tests are known to fail in the LFS build environment due
  46. to a circular dependency, but all tests pass if rechecked after
  47. automake is installed.</para>
  48. <para>Install the package:</para>
  49. <screen><userinput remap="install">make install</userinput></screen>
  50. </sect2>
  51. <sect2 id="contents-libtool" role="content">
  52. <title>Contents of Libtool</title>
  53. <segmentedlist>
  54. <segtitle>Installed programs</segtitle>
  55. <segtitle>Installed libraries</segtitle>
  56. <segtitle>Installed directories</segtitle>
  57. <seglistitem>
  58. <seg>libtool and libtoolize</seg>
  59. <seg>libltdl.so</seg>
  60. <seg>/usr/include/libltdl and /usr/share/libtool</seg>
  61. </seglistitem>
  62. </segmentedlist>
  63. <variablelist>
  64. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  65. <?dbfo list-presentation="list"?>
  66. <?dbhtml list-presentation="table"?>
  67. <varlistentry id="libtool">
  68. <term><command>libtool</command></term>
  69. <listitem>
  70. <para>Provides generalized library-building support services</para>
  71. <indexterm zone="ch-system-libtool libtool">
  72. <primary sortas="b-libtool">libtool</primary>
  73. </indexterm>
  74. </listitem>
  75. </varlistentry>
  76. <varlistentry id="libtoolize">
  77. <term><command>libtoolize</command></term>
  78. <listitem>
  79. <para>Provides a standard way to add <command>libtool</command>
  80. support to a package</para>
  81. <indexterm zone="ch-system-libtool libtoolize">
  82. <primary sortas="b-libtoolize">libtoolize</primary>
  83. </indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="libltdl">
  87. <term><filename class="libraryfile">libltdl</filename></term>
  88. <listitem>
  89. <para>Hides the various difficulties of dlopening libraries</para>
  90. <indexterm zone="ch-system-libtool libltdl">
  91. <primary sortas="c-libltdl">libltdl</primary>
  92. </indexterm>
  93. </listitem>
  94. </varlistentry>
  95. </variablelist>
  96. </sect2>
  97. </sect1>