libtool.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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-fin-sbu;</seg>
  28. <seg>&libtool-fin-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. <!-- dev: - -disable-static works but causes additional test failures
  51. so we manually remove the static library -->
  52. <para>Remove an useless static library:</para>
  53. <screen><userinput remap="install">rm -fv /usr/lib/libltdl.a</userinput></screen>
  54. </sect2>
  55. <sect2 id="contents-libtool" role="content">
  56. <title>Contents of Libtool</title>
  57. <segmentedlist>
  58. <segtitle>Installed programs</segtitle>
  59. <segtitle>Installed libraries</segtitle>
  60. <segtitle>Installed directories</segtitle>
  61. <seglistitem>
  62. <seg>libtool and libtoolize</seg>
  63. <seg>libltdl.so</seg>
  64. <seg>/usr/include/libltdl and /usr/share/libtool</seg>
  65. </seglistitem>
  66. </segmentedlist>
  67. <variablelist>
  68. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  69. <?dbfo list-presentation="list"?>
  70. <?dbhtml list-presentation="table"?>
  71. <varlistentry id="libtool">
  72. <term><command>libtool</command></term>
  73. <listitem>
  74. <para>Provides generalized library-building support services</para>
  75. <indexterm zone="ch-system-libtool libtool">
  76. <primary sortas="b-libtool">libtool</primary>
  77. </indexterm>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry id="libtoolize">
  81. <term><command>libtoolize</command></term>
  82. <listitem>
  83. <para>Provides a standard way to add <command>libtool</command>
  84. support to a package</para>
  85. <indexterm zone="ch-system-libtool libtoolize">
  86. <primary sortas="b-libtoolize">libtoolize</primary>
  87. </indexterm>
  88. </listitem>
  89. </varlistentry>
  90. <varlistentry id="libltdl">
  91. <term><filename class="libraryfile">libltdl</filename></term>
  92. <listitem>
  93. <para>Hides the various difficulties of dlopening libraries</para>
  94. <indexterm zone="ch-system-libtool libltdl">
  95. <primary sortas="c-libltdl">libltdl</primary>
  96. </indexterm>
  97. </listitem>
  98. </varlistentry>
  99. </variablelist>
  100. </sect2>
  101. </sect1>