Changeset d785e9d for BOOK/final-system/common
- Timestamp:
- May 1, 2014, 1:06:01 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 37957f4
- Parents:
- 5cd8d92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/glibc.xml
r5cd8d92 rd785e9d 9 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title>G LIBC-&glibc-version;</title>11 <title>Glibc-&glibc-version;</title> 12 12 13 13 <indexterm zone="ch-system-glibc"> 14 <primary sortas="a-G LIBC">GLIBC</primary>14 <primary sortas="a-Glibc">Glibc</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The G LIBCpackage contains the main C library. This library provides20 <para>The Glibc package contains the main C library. This library provides 21 21 the basic routines for allocating memory, searching directories, opening and 22 22 closing files, reading and writing files, string handling, pattern matching, … … 26 26 27 27 <sect2 role="installation"> 28 <title>Installation of G LIBC</title>28 <title>Installation of Glibc</title> 29 29 30 30 <note os="z"> … … 34 34 <quote>This library provides an <function>iconv()</function> 35 35 implementation, for use on systems which don't have one, or whose 36 implementation cannot convert from/to Unicode.</quote> G LIBCprovides36 implementation cannot convert from/to Unicode.</quote> Glibc provides 37 37 an <function>iconv()</function> implementation and can convert from/to 38 38 Unicode, therefore libiconv is not required on a CLFS system.</para> … … 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="b">The G LIBCbuild system is self-contained and will install60 <para os="b">The Glibc build system is self-contained and will install 61 61 perfectly, even though the compiler specs file and linker are still 62 62 pointing at <filename class="directory">/tools</filename>. The specs 63 and linker cannot be adjusted before the G LIBCinstall because the64 G LIBCAutoconf tests would give false results and defeat the goal63 and linker cannot be adjusted before the Glibc install because the 64 Glibc Autoconf tests would give false results and defeat the goal 65 65 of achieving a clean build.</para> 66 66 … … 69 69 <screen os="s2"><userinput>sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen> 70 70 71 <para os="e">The G LIBC documentation recommends building GLIBCoutside of the source directory in a dedicated build directory:</para>71 <para os="e">The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> 72 72 73 73 <screen os="f"><userinput>mkdir -v ../glibc-build 74 74 cd ../glibc-build</userinput></screen> 75 75 76 <para os="g">Prepare G LIBCfor compilation:</para>76 <para os="g">Prepare Glibc for compilation:</para> 77 77 78 78 <screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ … … 99 99 100 100 <important os="l"> 101 <para>The test suite for G LIBCis considered critical.101 <para>The test suite for Glibc is considered critical. 102 102 Do not skip it under any circumstance.</para> 103 103 </important> … … 111 111 make -k check 2>&1 | tee glibc-check-log; grep Error glibc-check-log</userinput></screen> 112 112 113 <para os="o">The G LIBCtest suite is highly dependent on certain functions of113 <para os="o">The Glibc test suite is highly dependent on certain functions of 114 114 the host system, in particular the kernel. The <emphasis>posix/annexc</emphasis> and 115 115 <emphasis>conform/run-conformtest</emphasis> tests normally fail 116 116 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart 117 from this, the G LIBCtest suite is always expected to pass. However, in certain117 from this, the Glibc test suite is always expected to pass. However, in certain 118 118 circumstances, some failures are unavoidable. If a test fails because of a missing 119 119 program (or missing symbolic link), or a segfault, you will see an error code … … 158 158 </itemizedlist> 159 159 160 <para os="q">Though it is a harmless message, the install stage of G LIBCwill160 <para os="q">Though it is a harmless message, the install stage of Glibc will 161 161 complain about the absence of <filename>/etc/ld.so.conf</filename>. 162 162 Prevent this warning with:</para> … … 198 198 achieved by using the <command>localedef</command> command. Information on 199 199 this command is located in the <filename>INSTALL</filename> file in the 200 G LIBCsource. However, there are a number of locales that are essential in200 Glibc source. However, there are a number of locales that are essential in 201 201 order for the tests of future packages to pass, in particular, the 202 202 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions, … … 237 237 238 238 <sect2 id="conf-glibc" role="configuration"> 239 <title>Configuring G LIBC</title>239 <title>Configuring Glibc</title> 240 240 241 241 <indexterm zone="conf-glibc"> … … 248 248 249 249 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created 250 because, although G LIBCprovides defaults when this file is missing or251 corrupt, the G LIBCdefaults do not work well in a networked environment.250 because, although Glibc provides defaults when this file is missing or 251 corrupt, the Glibc defaults do not work well in a networked environment. 252 252 The time zone also needs to be configured.</para> 253 253 … … 383 383 384 384 <sect2 id="contents-glibc" role="content"> 385 <title>Contents of G LIBC</title>385 <title>Contents of Glibc</title> 386 386 387 387 <segmentedlist> … … 723 723 <term><filename class="libraryfile">libcidn</filename></term> 724 724 <listitem> 725 <para>Used internally by G LIBCfor handling internationalized domain725 <para>Used internally by Glibc for handling internationalized domain 726 726 names in the <function>getaddrinfo()</function> function</para> 727 727 <indexterm zone="ch-system-glibc libcidn"> … … 795 795 <term><filename class="libraryfile">libmemusage</filename></term> 796 796 <listitem> 797 <para>Used by <command>memusage</command> (included in G LIBC, but797 <para>Used by <command>memusage</command> (included in Glibc, but 798 798 not built in a base CLFS system as it has additional dependencies) 799 799 to help collect information about the memory usage of a program</para>
Note:
See TracChangeset
for help on using the changeset viewer.