Changeset bf90190 in clfs-sysroot for BOOK/cross-tools/common/eglibc.xml


Ignore:
Timestamp:
Jul 26, 2009, 11:43:36 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
4fc026e
Parents:
973494f
Message:

Add a seperate build of Localedef to EGLIBC and fix the installation of locales.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/eglibc.xml

    r973494f rbf90190  
    189189    <title>Internationalization</title>
    190190
     191    <para>To install locales we need to compile our own version of
     192    localedef to run nativly on the host system, so we have to extract the
     193    eglibc-localedef-&eglibc-version; package into our eglibc-&eglibc-version;
     194    directory:</para>
     195
     196<screen><userinput>tar -jxvf ../eglibc-localedef-&eglibc-ports-dl-version;.tar.bz2
     197cd localedef</userinput></screen>
     198
     199    <para>Prepare localedef for compilation:</para>
     200
     201<screen><userinput>./configure --prefix=${CLFS}/usr \
     202    --with-glibc=../../eglibc-&eglibc-version;</userinput></screen>
     203
     204    <para>Compile the package:</para>
     205
     206<screen><userinput>make</userinput></screen>
     207
    191208    <para>The locales that can make the system respond in a different
    192     language were not installed by the above command. Install them
     209    language were not installed with EGLIBC. Install them
    193210    with:</para>
    194211
    195 <screen><userinput>make localedata/install-locales</userinput></screen>
     212<screen><userinput>make install-locales</userinput></screen>
    196213
    197214    <para>To save time, an alternative to running the previous command (which
     
    216233    fr_FR.UTF-8/UTF-8 fr_FR/ISO-8859-1 fr_FR@euro/ISO-8859-15 \
    217234    it_IT.UTF-8/UTF-8 it_IT/ISO-8859-1 \
    218     ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8" localedata/install-locales</userinput></screen>
     235    ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8" install-locales</userinput></screen>
    219236
    220237    <para>Some locales installed by the <command>make
Note: See TracChangeset for help on using the changeset viewer.