1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-glibc" role="wrap">
|
---|
9 | <?dbhtml filename="glibc.html"?>
|
---|
10 |
|
---|
11 | <title>Glibc-&glibc-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-glibc">
|
---|
14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="../common/glibc.xml"
|
---|
19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
20 |
|
---|
21 | <sect2 role="installation">
|
---|
22 | <title>Installation of Glibc</title>
|
---|
23 |
|
---|
24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
25 | href="../common/glibc.xml"
|
---|
26 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../common/glibc.xml"
|
---|
30 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../common/glibc.xml"
|
---|
34 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="../common/glibc.xml"
|
---|
38 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="../common/glibc.xml"
|
---|
42 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="../common/glibc.xml"
|
---|
46 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="../common/glibc.xml"
|
---|
50 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
51 |
|
---|
52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
53 | href="../common/glibc.xml"
|
---|
54 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
55 |
|
---|
56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
57 | href="../common/glibc.xml"
|
---|
58 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
61 | href="../common/glibc.xml"
|
---|
62 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
63 |
|
---|
64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
65 | href="../common/glibc.xml"
|
---|
66 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
67 |
|
---|
68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
69 | href="../common/glibc.xml"
|
---|
70 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
71 |
|
---|
72 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
73 | href="../common/glibc.xml"
|
---|
74 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
75 |
|
---|
76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
77 | href="../common/glibc.xml"
|
---|
78 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
79 |
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
81 | href="../common/glibc.xml"
|
---|
82 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
83 |
|
---|
84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
85 | href="../common/glibc.xml"
|
---|
86 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
87 |
|
---|
88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
89 | href="../common/glibc.xml"
|
---|
90 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
91 |
|
---|
92 | <!-- this is specific to x86 because of the i686 reference in the math tests -->
|
---|
93 | <itemizedlist os="p">
|
---|
94 | <listitem>
|
---|
95 | <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
|
---|
96 | the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
|
---|
97 | tests with gcc-&gcc-version;
|
---|
98 | . These two failures in the math tests appear to be harmless.
|
---|
99 | The math tests may also fail on systems where the CPU is not a relatively
|
---|
100 | new genuine Intel or authentic AMD. Certain optimization settings are
|
---|
101 | also known to be a factor here.</para>
|
---|
102 | </listitem>
|
---|
103 | <listitem>
|
---|
104 | <para>If you have mounted the CLFS partition with the
|
---|
105 | <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
|
---|
106 | will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
|
---|
107 | do not use the <parameter>noatime</parameter> option while building
|
---|
108 | CLFS.</para>
|
---|
109 | </listitem>
|
---|
110 | <listitem>
|
---|
111 | <para>When running on older and slower hardware, some tests
|
---|
112 | can fail because of test timeouts being exceeded.</para>
|
---|
113 | </listitem>
|
---|
114 | </itemizedlist>
|
---|
115 |
|
---|
116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
117 | href="../common/glibc.xml"
|
---|
118 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
119 |
|
---|
120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
121 | href="../common/glibc.xml"
|
---|
122 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
125 | href="../common/glibc.xml"
|
---|
126 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
127 |
|
---|
128 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
129 | href="../common/glibc.xml"
|
---|
130 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | <sect2 id="i18n-glibc" role="configuration">
|
---|
135 | <title>Internationalization</title>
|
---|
136 |
|
---|
137 | <para>The locales that can make the system respond in a different
|
---|
138 | language were not installed by the above command. Install them
|
---|
139 | with:</para>
|
---|
140 |
|
---|
141 | <screen><userinput>make localedata/install-locales</userinput></screen>
|
---|
142 |
|
---|
143 | <para>To save time, an alternative to running the previous command (which
|
---|
144 | generates and installs every locale listed in the
|
---|
145 | glibc-&glibc-version;/localedata/SUPPORTED file) is to install only
|
---|
146 | those locales that are wanted and needed. This can be achieved by using
|
---|
147 | the <command>localedef</command> command. Information on this command is
|
---|
148 | located in the <filename>INSTALL</filename> file in the Glibc source.
|
---|
149 | However, there are a number of locales that are essential in order for the
|
---|
150 | tests of future packages to pass, in particular, the
|
---|
151 | <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
|
---|
152 | instead of the <parameter>install-locales</parameter> target used above,
|
---|
153 | will install the minimum set of locales necessary for the tests to run
|
---|
154 | successfully:</para>
|
---|
155 |
|
---|
156 | <screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
|
---|
157 | localedef -i de_DE -f ISO-8859-1 de_DE
|
---|
158 | localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
|
---|
159 | localedef -i en_HK -f ISO-8859-1 en_HK
|
---|
160 | localedef -i en_PH -f ISO-8859-1 en_PH
|
---|
161 | localedef -i en_US -f ISO-8859-1 en_US
|
---|
162 | localedef -i es_MX -f ISO-8859-1 es_MX
|
---|
163 | localedef -i fa_IR -f UTF-8 fa_IR
|
---|
164 | localedef -i fr_FR -f ISO-8859-1 fr_FR
|
---|
165 | localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
|
---|
166 | localedef -i it_IT -f ISO-8859-1 it_IT
|
---|
167 | localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
|
---|
168 |
|
---|
169 | <para>Some locales installed by the <command>make
|
---|
170 | localedata/install-locales</command> command above are not properly
|
---|
171 | supported by some applications that are in the CLFS and BLFS books. Because
|
---|
172 | of the various problems that arise due to application programmers making
|
---|
173 | assumptions that break in such locales, CLFS should not be used in locales
|
---|
174 | that utilize multibyte character sets (including UTF-8) or right-to-left
|
---|
175 | writing order. Numerous unofficial and unstable patches are required to
|
---|
176 | fix these problems, and it has been decided by the CLFS developers not to
|
---|
177 | support such complex locales at this time. This applies to the ja_JP and
|
---|
178 | fa_IR locales as well—they have been installed only for GCC and
|
---|
179 | Gettext tests to pass, and the <command>watch</command> program (part of
|
---|
180 | the Procps package) does not work properly in them. Various attempts to
|
---|
181 | circumvent these restrictions are documented in internationalization-related
|
---|
182 | hints.</para>
|
---|
183 |
|
---|
184 | </sect2>
|
---|
185 |
|
---|
186 | <sect2 id="conf-glibc" role="configuration">
|
---|
187 | <title>Configuring Glibc</title>
|
---|
188 |
|
---|
189 | <indexterm zone="conf-glibc">
|
---|
190 | <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
|
---|
191 | </indexterm>
|
---|
192 |
|
---|
193 | <indexterm zone="conf-glibc">
|
---|
194 | <primary sortas="e-/etc/localtime">/etc/localtime</primary>
|
---|
195 | </indexterm>
|
---|
196 |
|
---|
197 | <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
|
---|
198 | because, although Glibc provides defaults when this file is missing or
|
---|
199 | corrupt, the Glibc defaults do not work well in a networked environment.
|
---|
200 | The time zone also needs to be configured.</para>
|
---|
201 |
|
---|
202 | <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
|
---|
203 | the following:</para>
|
---|
204 |
|
---|
205 | <screen><userinput>cat > /etc/nsswitch.conf << "EOF"
|
---|
206 | <literal># Begin /etc/nsswitch.conf
|
---|
207 |
|
---|
208 | passwd: files
|
---|
209 | group: files
|
---|
210 | shadow: files
|
---|
211 |
|
---|
212 | hosts: files dns
|
---|
213 | networks: files
|
---|
214 |
|
---|
215 | protocols: files
|
---|
216 | services: files
|
---|
217 | ethers: files
|
---|
218 | rpc: files
|
---|
219 |
|
---|
220 | # End /etc/nsswitch.conf</literal>
|
---|
221 | EOF</userinput></screen>
|
---|
222 |
|
---|
223 | <para>To determine the local time zone, run the following script:</para>
|
---|
224 |
|
---|
225 | <screen role="nodump"><userinput>tzselect</userinput></screen>
|
---|
226 |
|
---|
227 | <para>After answering a few questions about the location, the script will
|
---|
228 | output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
|
---|
229 | <emphasis>Canada/Eastern</emphasis>). Then create the
|
---|
230 | <filename>/etc/localtime</filename> file by running:</para>
|
---|
231 |
|
---|
232 | <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
|
---|
233 | /etc/localtime</userinput></screen>
|
---|
234 |
|
---|
235 | <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
|
---|
236 | that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
|
---|
237 |
|
---|
238 | </sect2>
|
---|
239 |
|
---|
240 | <sect2 id="conf-ld" role="configuration">
|
---|
241 | <title>Configuring The Dynamic Loader</title>
|
---|
242 |
|
---|
243 | <indexterm zone="conf-ld">
|
---|
244 | <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
|
---|
245 | </indexterm>
|
---|
246 |
|
---|
247 | <para>By default, the dynamic loader (<filename
|
---|
248 | class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
|
---|
249 | <filename class="directory">/lib</filename> and <filename
|
---|
250 | class="directory">/usr/lib</filename> for dynamic libraries that are
|
---|
251 | needed by programs as they are run. However, if there are libraries in
|
---|
252 | directories other than <filename class="directory">/lib</filename> and
|
---|
253 | <filename class="directory">/usr/lib</filename>, these need to be
|
---|
254 | added to the <filename>/etc/ld.so.conf</filename> file in order
|
---|
255 | for the dynamic loader to find them. Two directories that are commonly
|
---|
256 | known to contain additional libraries are <filename
|
---|
257 | class="directory">/usr/local/lib</filename> and <filename
|
---|
258 | class="directory">/opt/lib</filename>, so add those directories to the
|
---|
259 | dynamic loader's search path.</para>
|
---|
260 |
|
---|
261 | <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
|
---|
262 | following:</para>
|
---|
263 |
|
---|
264 | <screen><userinput>cat > /etc/ld.so.conf << "EOF"
|
---|
265 | <literal># Begin /etc/ld.so.conf
|
---|
266 |
|
---|
267 | /usr/local/lib
|
---|
268 | /opt/lib
|
---|
269 |
|
---|
270 | # End /etc/ld.so.conf</literal>
|
---|
271 | EOF</userinput></screen>
|
---|
272 |
|
---|
273 | </sect2>
|
---|
274 |
|
---|
275 | <sect2 id="contents-glibc" role="content">
|
---|
276 | <title>Contents of Glibc</title>
|
---|
277 |
|
---|
278 | <segmentedlist>
|
---|
279 | <segtitle>Installed programs</segtitle>
|
---|
280 | <segtitle>Installed libraries</segtitle>
|
---|
281 |
|
---|
282 | <seglistitem>
|
---|
283 | <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
|
---|
284 | ldd, lddlibc4, locale, localedef, mtrace, nscd,
|
---|
285 | pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
|
---|
286 | zdump, and zic</seg>
|
---|
287 | <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
|
---|
288 | libbsd-compat.a, libc.[a,so], libcrypt.[a,so], libdl.[a,so], libg.a,
|
---|
289 | libieee.a, libm.[a,so], libmcheck.a, libmemusage.so, libnsl.a,
|
---|
290 | libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
|
---|
291 | libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.[a,so],
|
---|
292 | libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
|
---|
293 | libutil.[a,so]</seg>
|
---|
294 | </seglistitem>
|
---|
295 | </segmentedlist>
|
---|
296 |
|
---|
297 | <variablelist>
|
---|
298 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
299 | <?dbfo list-presentation="list"?>
|
---|
300 | <?dbhtml list-presentation="table"?>
|
---|
301 |
|
---|
302 | <varlistentry id="catchsegv">
|
---|
303 | <term><command>catchsegv</command></term>
|
---|
304 | <listitem>
|
---|
305 | <para>Can be used to create a stack trace when a program
|
---|
306 | terminates with a segmentation fault</para>
|
---|
307 | <indexterm zone="ch-system-glibc catchsegv">
|
---|
308 | <primary sortas="b-catchsegv">catchsegv</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | <varlistentry id="gencat">
|
---|
314 | <term><command>gencat</command></term>
|
---|
315 | <listitem>
|
---|
316 | <para>Generates message catalogues</para>
|
---|
317 | <indexterm zone="ch-system-glibc gencat">
|
---|
318 | <primary sortas="b-gencat">gencat</primary>
|
---|
319 | </indexterm>
|
---|
320 | </listitem>
|
---|
321 | </varlistentry>
|
---|
322 |
|
---|
323 | <varlistentry id="getconf">
|
---|
324 | <term><command>getconf</command></term>
|
---|
325 | <listitem>
|
---|
326 | <para>Displays the system configuration values for file system specific
|
---|
327 | variables</para>
|
---|
328 | <indexterm zone="ch-system-glibc getconf">
|
---|
329 | <primary sortas="b-getconf">getconf</primary>
|
---|
330 | </indexterm>
|
---|
331 | </listitem>
|
---|
332 | </varlistentry>
|
---|
333 |
|
---|
334 | <varlistentry id="getent">
|
---|
335 | <term><command>getent</command></term>
|
---|
336 | <listitem>
|
---|
337 | <para>Gets entries from an administrative database</para>
|
---|
338 | <indexterm zone="ch-system-glibc getent">
|
---|
339 | <primary sortas="b-getent">getent</primary>
|
---|
340 | </indexterm>
|
---|
341 | </listitem>
|
---|
342 | </varlistentry>
|
---|
343 |
|
---|
344 | <varlistentry id="iconv">
|
---|
345 | <term><command>iconv</command></term>
|
---|
346 | <listitem>
|
---|
347 | <para>Performs character set conversion</para>
|
---|
348 | <indexterm zone="ch-system-glibc iconv">
|
---|
349 | <primary sortas="b-iconv">iconv</primary>
|
---|
350 | </indexterm>
|
---|
351 | </listitem>
|
---|
352 | </varlistentry>
|
---|
353 |
|
---|
354 | <varlistentry id="iconvconfig">
|
---|
355 | <term><command>iconvconfig</command></term>
|
---|
356 | <listitem>
|
---|
357 | <para>Creates fastloading <command>iconv</command> module configuration
|
---|
358 | files</para>
|
---|
359 | <indexterm zone="ch-system-glibc iconvconfig">
|
---|
360 | <primary sortas="b-iconvconfig">iconvconfig</primary>
|
---|
361 | </indexterm>
|
---|
362 | </listitem>
|
---|
363 | </varlistentry>
|
---|
364 |
|
---|
365 | <varlistentry id="ldconfig">
|
---|
366 | <term><command>ldconfig</command></term>
|
---|
367 | <listitem>
|
---|
368 | <para>Configures the dynamic linker runtime bindings</para>
|
---|
369 | <indexterm zone="ch-system-glibc ldconfig">
|
---|
370 | <primary sortas="b-ldconfig">ldconfig</primary>
|
---|
371 | </indexterm>
|
---|
372 | </listitem>
|
---|
373 | </varlistentry>
|
---|
374 |
|
---|
375 | <varlistentry id="ldd">
|
---|
376 | <term><command>ldd</command></term>
|
---|
377 | <listitem>
|
---|
378 | <para>Reports which shared libraries are required
|
---|
379 | by each given program or shared library</para>
|
---|
380 | <indexterm zone="ch-system-glibc ldd">
|
---|
381 | <primary sortas="b-ldd">ldd</primary>
|
---|
382 | </indexterm>
|
---|
383 | </listitem>
|
---|
384 | </varlistentry>
|
---|
385 |
|
---|
386 | <varlistentry id="lddlibc4">
|
---|
387 | <term><command>lddlibc4</command></term>
|
---|
388 | <listitem>
|
---|
389 | <para>Assists <command>ldd</command> with object files</para>
|
---|
390 | <indexterm zone="ch-system-glibc lddlibc4">
|
---|
391 | <primary sortas="b-lddlibc4">lddlibc4</primary>
|
---|
392 | </indexterm>
|
---|
393 | </listitem>
|
---|
394 | </varlistentry>
|
---|
395 |
|
---|
396 | <varlistentry id="locale">
|
---|
397 | <term><command>locale</command></term>
|
---|
398 | <listitem>
|
---|
399 | <para>Tells the compiler to enable or disable the use of POSIX locales
|
---|
400 | for built-in operations</para>
|
---|
401 | <indexterm zone="ch-system-glibc locale">
|
---|
402 | <primary sortas="b-locale">locale</primary>
|
---|
403 | </indexterm>
|
---|
404 | </listitem>
|
---|
405 | </varlistentry>
|
---|
406 |
|
---|
407 | <varlistentry id="localedef">
|
---|
408 | <term><command>localedef</command></term>
|
---|
409 | <listitem>
|
---|
410 | <para>Compiles locale specifications</para>
|
---|
411 | <indexterm zone="ch-system-glibc localedef">
|
---|
412 | <primary sortas="b-localedef">localedef</primary>
|
---|
413 | </indexterm>
|
---|
414 | </listitem>
|
---|
415 | </varlistentry>
|
---|
416 |
|
---|
417 | <varlistentry id="mtrace">
|
---|
418 | <term><command>mtrace</command></term>
|
---|
419 | <listitem>
|
---|
420 | <para>Reads and interprets a memory trace file and
|
---|
421 | displays a summary in human-readable format</para>
|
---|
422 | <indexterm zone="ch-system-glibc mtrace">
|
---|
423 | <primary sortas="b-mtrace">mtrace</primary>
|
---|
424 | </indexterm>
|
---|
425 | </listitem>
|
---|
426 | </varlistentry>
|
---|
427 |
|
---|
428 | <varlistentry id="nscd">
|
---|
429 | <term><command>nscd</command></term>
|
---|
430 | <listitem>
|
---|
431 | <para>A daemon that provides a cache for the most common name
|
---|
432 | service requests</para>
|
---|
433 | <indexterm zone="ch-system-glibc nscd">
|
---|
434 | <primary sortas="b-nscd">nscd</primary>
|
---|
435 | </indexterm>
|
---|
436 | </listitem>
|
---|
437 | </varlistentry>
|
---|
438 |
|
---|
439 | <varlistentry id="pcprofiledump">
|
---|
440 | <term><command>pcprofiledump</command></term>
|
---|
441 | <listitem>
|
---|
442 | <para>Dumps information generated by PC profiling</para>
|
---|
443 | <indexterm zone="ch-system-glibc pcprofiledump">
|
---|
444 | <primary sortas="b-pcprofiledump">pcprofiledump</primary>
|
---|
445 | </indexterm>
|
---|
446 | </listitem>
|
---|
447 | </varlistentry>
|
---|
448 |
|
---|
449 | <varlistentry id="pt_chown">
|
---|
450 | <term><command>pt_chown</command></term>
|
---|
451 | <listitem>
|
---|
452 | <para>A helper program for <command>grantpt</command> to set the owner,
|
---|
453 | group and access permissions of a slave pseudo terminal</para>
|
---|
454 | <indexterm zone="ch-system-glibc pt_chown">
|
---|
455 | <primary sortas="b-pt_chown">pt_chown</primary>
|
---|
456 | </indexterm>
|
---|
457 | </listitem>
|
---|
458 | </varlistentry>
|
---|
459 |
|
---|
460 | <varlistentry id="rpcgen">
|
---|
461 | <term><command>rpcgen</command></term>
|
---|
462 | <listitem>
|
---|
463 | <para>Generates C code to implement the Remote Procecure Call (RPC)
|
---|
464 | protocol</para>
|
---|
465 | <indexterm zone="ch-system-glibc rpcgen">
|
---|
466 | <primary sortas="b-rpcgen">rpcgen</primary>
|
---|
467 | </indexterm>
|
---|
468 | </listitem>
|
---|
469 | </varlistentry>
|
---|
470 |
|
---|
471 | <varlistentry id="rpcinfo">
|
---|
472 | <term><command>rpcinfo</command></term>
|
---|
473 | <listitem>
|
---|
474 | <para>Makes an RPC call to an RPC server</para>
|
---|
475 | <indexterm zone="ch-system-glibc rpcinfo">
|
---|
476 | <primary sortas="b-rpcinfo">rpcinfo</primary>
|
---|
477 | </indexterm>
|
---|
478 | </listitem>
|
---|
479 | </varlistentry>
|
---|
480 |
|
---|
481 | <varlistentry id="sln">
|
---|
482 | <term><command>sln</command></term>
|
---|
483 | <listitem>
|
---|
484 | <para>A statically linked program that creates symbolic links</para>
|
---|
485 | <indexterm zone="ch-system-glibc sln">
|
---|
486 | <primary sortas="b-sln">sln</primary>
|
---|
487 | </indexterm>
|
---|
488 | </listitem>
|
---|
489 | </varlistentry>
|
---|
490 |
|
---|
491 | <varlistentry id="sprof">
|
---|
492 | <term><command>sprof</command></term>
|
---|
493 | <listitem>
|
---|
494 | <para>Reads and displays shared object profiling data</para>
|
---|
495 | <indexterm zone="ch-system-glibc sprof">
|
---|
496 | <primary sortas="b-sprof">sprof</primary>
|
---|
497 | </indexterm>
|
---|
498 | </listitem>
|
---|
499 | </varlistentry>
|
---|
500 |
|
---|
501 | <varlistentry id="tzselect">
|
---|
502 | <term><command>tzselect</command></term>
|
---|
503 | <listitem>
|
---|
504 | <para>Asks the user about the location of the
|
---|
505 | system and reports the corresponding time zone description</para>
|
---|
506 | <indexterm zone="ch-system-glibc tzselect">
|
---|
507 | <primary sortas="b-tzselect">tzselect</primary>
|
---|
508 | </indexterm>
|
---|
509 | </listitem>
|
---|
510 | </varlistentry>
|
---|
511 |
|
---|
512 | <varlistentry id="xtrace">
|
---|
513 | <term><command>xtrace</command></term>
|
---|
514 | <listitem>
|
---|
515 | <para>Traces the execution of a program by
|
---|
516 | printing the currently executed function</para>
|
---|
517 | <indexterm zone="ch-system-glibc xtrace">
|
---|
518 | <primary sortas="b-xtrace">xtrace</primary>
|
---|
519 | </indexterm>
|
---|
520 | </listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="zdump">
|
---|
524 | <term><command>zdump</command></term>
|
---|
525 | <listitem>
|
---|
526 | <para>The time zone dumper</para>
|
---|
527 | <indexterm zone="ch-system-glibc zdump">
|
---|
528 | <primary sortas="b-zdump">zdump</primary>
|
---|
529 | </indexterm>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 |
|
---|
533 | <varlistentry id="zic">
|
---|
534 | <term><command>zic</command></term>
|
---|
535 | <listitem>
|
---|
536 | <para>The time zone compiler</para>
|
---|
537 | <indexterm zone="ch-system-glibc zic">
|
---|
538 | <primary sortas="b-zic">zic</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="ld.so">
|
---|
544 | <term><filename class="libraryfile">ld.so</filename></term>
|
---|
545 | <listitem>
|
---|
546 | <para>The helper program for shared library executables</para>
|
---|
547 | <indexterm zone="ch-system-glibc ld.so">
|
---|
548 | <primary sortas="c-ld.so">ld.so</primary>
|
---|
549 | </indexterm>
|
---|
550 | </listitem>
|
---|
551 | </varlistentry>
|
---|
552 |
|
---|
553 | <varlistentry id="libBrokenLocale">
|
---|
554 | <term><filename class="libraryfile">libBrokenLocale</filename></term>
|
---|
555 | <listitem>
|
---|
556 | <para>Used by programs, such as Mozilla, to solve broken locales</para>
|
---|
557 | <indexterm zone="ch-system-glibc libBrokenLocale">
|
---|
558 | <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
|
---|
559 | </indexterm>
|
---|
560 | </listitem>
|
---|
561 | </varlistentry>
|
---|
562 |
|
---|
563 | <varlistentry id="libSegFault">
|
---|
564 | <term><filename class="libraryfile">libSegFault</filename></term>
|
---|
565 | <listitem>
|
---|
566 | <para>The segmentation fault signal handler</para>
|
---|
567 | <indexterm zone="ch-system-glibc libSegFault">
|
---|
568 | <primary sortas="c-libSegFault">libSegFault</primary>
|
---|
569 | </indexterm>
|
---|
570 | </listitem>
|
---|
571 | </varlistentry>
|
---|
572 |
|
---|
573 | <varlistentry id="libanl">
|
---|
574 | <term><filename class="libraryfile">libanl</filename></term>
|
---|
575 | <listitem>
|
---|
576 | <para>An asynchronous name lookup library</para>
|
---|
577 | <indexterm zone="ch-system-glibc libanl">
|
---|
578 | <primary sortas="c-libanl">libanl</primary>
|
---|
579 | </indexterm>
|
---|
580 | </listitem>
|
---|
581 | </varlistentry>
|
---|
582 |
|
---|
583 | <varlistentry id="libbsd-compat">
|
---|
584 | <term><filename class="libraryfile">libbsd-compat</filename></term>
|
---|
585 | <listitem>
|
---|
586 | <para>Provides the portability needed
|
---|
587 | in order to run certain Berkey Software Distribution (BSD) programs
|
---|
588 | under Linux</para>
|
---|
589 | <indexterm zone="ch-system-glibc libbsd-compat">
|
---|
590 | <primary sortas="c-libbsd-compat">libbsd-compat</primary>
|
---|
591 | </indexterm>
|
---|
592 | </listitem>
|
---|
593 | </varlistentry>
|
---|
594 |
|
---|
595 | <varlistentry id="libc">
|
---|
596 | <term><filename class="libraryfile">libc</filename></term>
|
---|
597 | <listitem>
|
---|
598 | <para>The main C library</para>
|
---|
599 | <indexterm zone="ch-system-glibc libc">
|
---|
600 | <primary sortas="c-libc">libc</primary>
|
---|
601 | </indexterm>
|
---|
602 | </listitem>
|
---|
603 | </varlistentry>
|
---|
604 |
|
---|
605 | <varlistentry id="libcrypt">
|
---|
606 | <term><filename class="libraryfile">libcrypt</filename></term>
|
---|
607 | <listitem>
|
---|
608 | <para>The cryptography library</para>
|
---|
609 | <indexterm zone="ch-system-glibc libcrypt">
|
---|
610 | <primary sortas="c-libcrypt">libcrypt</primary>
|
---|
611 | </indexterm>
|
---|
612 | </listitem>
|
---|
613 | </varlistentry>
|
---|
614 |
|
---|
615 | <varlistentry id="libdl">
|
---|
616 | <term><filename class="libraryfile">libdl</filename></term>
|
---|
617 | <listitem>
|
---|
618 | <para>The dynamic linking interface library</para>
|
---|
619 | <indexterm zone="ch-system-glibc libdl">
|
---|
620 | <primary sortas="c-libdl">libdl</primary>
|
---|
621 | </indexterm>
|
---|
622 | </listitem>
|
---|
623 | </varlistentry>
|
---|
624 |
|
---|
625 | <varlistentry id="libg">
|
---|
626 | <term><filename class="libraryfile">libg</filename></term>
|
---|
627 | <listitem>
|
---|
628 | <para>A runtime library for <command>g++</command></para>
|
---|
629 | <indexterm zone="ch-system-glibc libg">
|
---|
630 | <primary sortas="c-libg">libg</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="libieee">
|
---|
636 | <term><filename class="libraryfile">libieee</filename></term>
|
---|
637 | <listitem>
|
---|
638 | <para>The Institute of Electrical and Electronic Engineers (IEEE)
|
---|
639 | floating point library</para>
|
---|
640 | <indexterm zone="ch-system-glibc libieee">
|
---|
641 | <primary sortas="c-libieee">libieee</primary>
|
---|
642 | </indexterm>
|
---|
643 | </listitem>
|
---|
644 | </varlistentry>
|
---|
645 |
|
---|
646 | <varlistentry id="libm">
|
---|
647 | <term><filename class="libraryfile">libm</filename></term>
|
---|
648 | <listitem>
|
---|
649 | <para>The mathematical library</para>
|
---|
650 | <indexterm zone="ch-system-glibc libm">
|
---|
651 | <primary sortas="c-libm">libm</primary>
|
---|
652 | </indexterm>
|
---|
653 | </listitem>
|
---|
654 | </varlistentry>
|
---|
655 |
|
---|
656 | <varlistentry id="libmcheck">
|
---|
657 | <term><filename class="libraryfile">libmcheck</filename></term>
|
---|
658 | <listitem>
|
---|
659 | <para>Contains code run at boot</para>
|
---|
660 | <indexterm zone="ch-system-glibc libmcheck">
|
---|
661 | <primary sortas="c-libmcheck">libmcheck</primary>
|
---|
662 | </indexterm>
|
---|
663 | </listitem>
|
---|
664 | </varlistentry>
|
---|
665 |
|
---|
666 | <varlistentry id="libmemusage">
|
---|
667 | <term><filename class="libraryfile">libmemusage</filename></term>
|
---|
668 | <listitem>
|
---|
669 | <para>Used by <command>memusage</command> (included in Glibc, but
|
---|
670 | not built in a base CLFS system as it has additional dependencies)
|
---|
671 | to help collect information about the memory usage of a program</para>
|
---|
672 | <indexterm zone="ch-system-glibc libmemusage">
|
---|
673 | <primary sortas="c-libmemusage">libmemusage</primary>
|
---|
674 | </indexterm>
|
---|
675 | </listitem>
|
---|
676 | </varlistentry>
|
---|
677 |
|
---|
678 | <varlistentry id="libnsl">
|
---|
679 | <term><filename class="libraryfile">libnsl</filename></term>
|
---|
680 | <listitem>
|
---|
681 | <para>The network services library</para>
|
---|
682 | <indexterm zone="ch-system-glibc libnsl">
|
---|
683 | <primary sortas="c-libnsl">libnsl</primary>
|
---|
684 | </indexterm>
|
---|
685 | </listitem>
|
---|
686 | </varlistentry>
|
---|
687 |
|
---|
688 | <varlistentry id="libnss">
|
---|
689 | <term><filename class="libraryfile">libnss</filename></term>
|
---|
690 | <listitem>
|
---|
691 | <para>The Name Service Switch libraries, containing functions for
|
---|
692 | resolving host names, user names, group names, aliases, services,
|
---|
693 | protocols, etc.</para>
|
---|
694 | <indexterm zone="ch-system-glibc libnss">
|
---|
695 | <primary sortas="c-libnss">libnss</primary>
|
---|
696 | </indexterm>
|
---|
697 | </listitem>
|
---|
698 | </varlistentry>
|
---|
699 |
|
---|
700 | <varlistentry id="libpcprofile">
|
---|
701 | <term><filename class="libraryfile">libpcprofile</filename></term>
|
---|
702 | <listitem>
|
---|
703 | <para>Contains profiling functions used to track the amount of CPU
|
---|
704 | time spent in specific source code lines</para>
|
---|
705 | <indexterm zone="ch-system-glibc libpcprofile">
|
---|
706 | <primary sortas="c-libpcprofile">libpcprofile</primary>
|
---|
707 | </indexterm>
|
---|
708 | </listitem>
|
---|
709 | </varlistentry>
|
---|
710 |
|
---|
711 | <varlistentry id="libpthread">
|
---|
712 | <term><filename class="libraryfile">libpthread</filename></term>
|
---|
713 | <listitem>
|
---|
714 | <para>The POSIX threads library</para>
|
---|
715 | <indexterm zone="ch-system-glibc libpthread">
|
---|
716 | <primary sortas="c-libpthread">libpthread</primary>
|
---|
717 | </indexterm>
|
---|
718 | </listitem>
|
---|
719 | </varlistentry>
|
---|
720 |
|
---|
721 | <varlistentry id="libresolv">
|
---|
722 | <term><filename class="libraryfile">libresolv</filename></term>
|
---|
723 | <listitem>
|
---|
724 | <para>Contains functions for creating, sending, and interpreting
|
---|
725 | packets to the Internet domain name servers</para>
|
---|
726 | <indexterm zone="ch-system-glibc libresolv">
|
---|
727 | <primary sortas="c-libresolv">libresolv</primary>
|
---|
728 | </indexterm>
|
---|
729 | </listitem>
|
---|
730 | </varlistentry>
|
---|
731 |
|
---|
732 | <varlistentry id="librpcsvc">
|
---|
733 | <term><filename class="libraryfile">librpcsvc</filename></term>
|
---|
734 | <listitem>
|
---|
735 | <para>Contains functions providing miscellaneous RPC services</para>
|
---|
736 | <indexterm zone="ch-system-glibc librpcsvc">
|
---|
737 | <primary sortas="c-librpcsvc">librpcsvc</primary>
|
---|
738 | </indexterm>
|
---|
739 | </listitem>
|
---|
740 | </varlistentry>
|
---|
741 |
|
---|
742 | <varlistentry id="librt">
|
---|
743 | <term><filename class="libraryfile">librt</filename></term>
|
---|
744 | <listitem>
|
---|
745 | <para>Contains functions providing most of the interfaces specified by
|
---|
746 | the POSIX.1b Realtime Extension</para>
|
---|
747 | <indexterm zone="ch-system-glibc librt">
|
---|
748 | <primary sortas="c-librt">librt</primary>
|
---|
749 | </indexterm>
|
---|
750 | </listitem>
|
---|
751 | </varlistentry>
|
---|
752 |
|
---|
753 | <varlistentry id="libthread_db">
|
---|
754 | <term><filename class="libraryfile">libthread_db</filename></term>
|
---|
755 | <listitem>
|
---|
756 | <para>Contains functions useful for
|
---|
757 | building debuggers for multi-threaded programs</para>
|
---|
758 | <indexterm zone="ch-system-glibc libthread_db">
|
---|
759 | <primary sortas="c-libthread_db">libthread_db</primary>
|
---|
760 | </indexterm>
|
---|
761 | </listitem>
|
---|
762 | </varlistentry>
|
---|
763 |
|
---|
764 | <varlistentry id="libutil">
|
---|
765 | <term><filename class="libraryfile">libutil</filename></term>
|
---|
766 | <listitem>
|
---|
767 | <para>Contains code for <quote>standard</quote> functions used in
|
---|
768 | many different Unix utilities</para>
|
---|
769 | <indexterm zone="ch-system-glibc libutil">
|
---|
770 | <primary sortas="c-libutil">libutil</primary>
|
---|
771 | </indexterm>
|
---|
772 | </listitem>
|
---|
773 | </varlistentry>
|
---|
774 |
|
---|
775 | </variablelist>
|
---|
776 |
|
---|
777 | </sect2>
|
---|
778 |
|
---|
779 | </sect1>
|
---|