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