source: general/genlib/pth.xml@ 98b5744

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 98b5744 was 98b5744, checked in by Randy McMurchy <randy@…>, 17 years ago

Added a caution to the Pth instructions so you won't overwrite the Glibc pthread library and header

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7066 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.7 KB
Line 
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 <!ENTITY pth-download-http "http://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
8 <!ENTITY pth-download-ftp "ftp://ftp.gnu.org/gnu/pth/pth-&pth-version;.tar.gz">
9 <!ENTITY pth-md5sum "9cb4a25331a4c4db866a31cbe507c793">
10 <!ENTITY pth-size "652 KB">
11 <!ENTITY pth-buildsize "5 MB">
12 <!ENTITY pth-time "0.2 SBU">
13]>
14
15<sect1 id="pth" xreflabel="Pth-&pth-version;">
16 <?dbhtml filename="pth.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Pth-&pth-version;</title>
24
25 <indexterm zone="pth">
26 <primary sortas="a-Pth">Pth</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Pth</title>
31
32 <para>The <application>Pth</application> package contains a very portable
33 POSIX/ANSI-C based library for Unix platforms which provides non-preemptive
34 priority-based scheduling for multiple threads of execution (multithreading)
35 inside event-driven applications. All threads run in the same address space
36 of the server application, but each thread has its own individual
37 program-counter, run-time stack, signal mask and errno variable. </para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&pth-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&pth-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &pth-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &pth-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &pth-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &pth-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <para condition="html" role="usernotes">User Notes:
62 <ulink url="&blfs-wiki;/pth"/></para>
63
64 </sect2>
65
66 <sect2 role="installation">
67 <title>Installation of Pth</title>
68
69 <caution>
70 <para>Don't add the <option>--enable-pthread</option> parameter to the
71 <command>configure</command> command below else you will overwrite the
72 pthread library and interface header installed by the
73 <application>Glibc</application> package in LFS.</para>
74 </caution>
75
76 <para>Install <application>Pth</application> by running the
77 following commands:</para>
78
79<screen><userinput>./configure --prefix=/usr &amp;&amp;
80make</userinput></screen>
81
82 <para>To test the results, issue: <command>make check</command>.</para>
83
84 <para>Now, as the <systemitem class="username">root</systemitem>
85 user:</para>
86
87<screen role="root"><userinput>make install &amp;&amp;
88install -v -m755 -d /usr/share/doc/pth-&pth-version; &amp;&amp;
89install -v -m644 README PORTING SUPPORT TESTS \
90 /usr/share/doc/pth-&pth-version;</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="content">
95 <title>Contents</title>
96
97 <segmentedlist>
98 <segtitle>Installed Program</segtitle>
99 <segtitle>Installed Library</segtitle>
100 <segtitle>Installed Directory</segtitle>
101
102 <seglistitem>
103 <seg>pth-config</seg>
104 <seg>libpth.{so,a}</seg>
105 <seg>/usr/share/doc/pth-&pth-version;</seg>
106 </seglistitem>
107 </segmentedlist>
108
109 <variablelist>
110 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
111 <?dbfo list-presentation="list"?>
112 <?dbhtml list-presentation="table"?>
113
114 <varlistentry id="pth-config">
115 <term><command>pth-config</command></term>
116 <listitem>
117 <para>is a utility used to configure and build applications based on
118 the pth(3) library. It can be used to query the C compiler and
119 linker flags which are required to correctly compile and link the
120 application against the pth(3) library.</para>
121 <indexterm zone="pth pth-config">
122 <primary sortas="b-pth-config">pth-config</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="libpth">
128 <term><filename class='libraryfile'>libpth.{so,a}</filename></term>
129 <listitem>
130 <para>contains the API functions used by the GNU Portable Threads
131 Library.</para>
132 <indexterm zone="pth libpth">
133 <primary sortas="c-libpth">libpth.{so,a}</primary>
134 </indexterm>
135 </listitem>
136 </varlistentry>
137
138 </variablelist>
139
140 </sect2>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.