Ignore:
Timestamp:
01/06/2006 01:59:08 AM (18 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
abf1f62
Parents:
60e34b5
Message:

Initial support of UTF-8. Thanks Alexander Patrakov.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7245 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r60e34b5 rfa21b3d  
    8989<term><parameter>--without-selinux</parameter></term>
    9090<listitem><para>When building from hosts that include SELinux functionality
    91 (e.g. Fedora Core 3), Glibc will build with support for SELinux. As the LFS
     91(e.g., Fedora Core 3), Glibc will build with support for SELinux. As the LFS
    9292tools environment does not contain support for SELinux, a Glibc compiled with
    9393such support will fail to operate correctly.</para></listitem>
     
    159159per the recommendation), there is no need to install the locales now.
    160160The appropriate locales will be installed in the next
    161 chapter.</para></note>
    162 
    163 <para>To install the Glibc locales anyway, use the following
    164 command:</para>
    165 
    166 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>
    167 
    168 <para>To save time, an alternative to running the
    169 previous command (which generates and installs every locale Glibc is
    170 aware of) is to install only those locales that are wanted and needed.
    171 This can be achieved by using the <command>localedef</command>
    172 command. Information on this command is located in the
    173 <filename>INSTALL</filename> file in the Glibc source.  However, there
    174 are a number of locales that are essential in order for the tests of
    175 future packages to pass, in particular, the
    176 <emphasis>libstdc++</emphasis> tests from GCC. The following
    177 instructions, instead of the <parameter>install-locales</parameter>
    178 target used above, will install the minimum set of locales necessary
    179 for the tests to run successfully:</para>
    180 
    181 <screen><userinput>mkdir -pv /tools/lib/locale
    182 localedef -i de_DE -f ISO-8859-1 de_DE
    183 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
    184 localedef -i en_HK -f ISO-8859-1 en_HK
    185 localedef -i en_PH -f ISO-8859-1 en_PH
    186 localedef -i en_US -f ISO-8859-1 en_US
    187 localedef -i es_MX -f ISO-8859-1 es_MX
    188 localedef -i fa_IR -f UTF-8 fa_IR
    189 localedef -i fr_FR -f ISO-8859-1 fr_FR
    190 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
    191 localedef -i it_IT -f ISO-8859-1 it_IT
    192 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
     161chapter. To install the Glibc locales anyway, use instructions from
     162<xref linkend="ch-system-glibc" role="."/>
     163</para></note>
    193164
    194165</sect2>
Note: See TracChangeset for help on using the changeset viewer.