Changeset 32edd3a in clfs-sysroot for BOOK/cross-tools


Ignore:
Timestamp:
Nov 23, 2006, 8:56:08 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
4127a0b
Parents:
a186108
Message:

Replace the glibc crosscompile timezone fix patch with the glibc cross hacks patch. The new patch has support for zoneinfo, locales, and librpcsvc.

File:
1 edited

Legend:

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

    ra186108 r32edd3a  
    5252<screen os="p4"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen>
    5353
    54     <para os="p5">The following patch changes the way glibc generates it's
    55     timezone information so that it can be generated when
    56     cross-compiling:</para>
    57 
    58 <screen os="p6"><userinput>patch -Np1 -i ../&glibc-crosscompile_timezone_fix-patch;</userinput></screen>
     54    <para os="p5">The following patch builds <filename>zic-native</filename>,
     55    <filename>localedef-native</filename>, and
     56    <filename>rpcgen-native</filename>. <filename>zic-native</filename> is used
     57    to generate the zoneinfo, <filename>localedef-native</filename> is used to
     58    generate the locale archive, and <filename>rpcgen-native</filename> is used
     59    to generate part of <filename>librpcsvc.a</filename>. All of which would
     60    normally not be available when cross-compiling:</para>
     61
     62<screen os="p6"><userinput>patch -Np1 -i ../&glibc-cross_hacks-patch;</userinput></screen>
    5963
    6064    <para os="p7">The following corrects the Minor version, changing the value
     
    197201
    198202  <sect2 id="i18n-glibc" role="configuration">
    199     <title>Internationalization (Current method is no good, REWRITE ME)</title>
     203    <title>Internationalization</title>
    200204
    201205    <para>The locales that can make the system respond in a different
     
    203207    with:</para>
    204208
    205 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>
     209<screen><userinput>make localedata/install-locales</userinput></screen>
    206210
    207211    <para>To save time, an alternative to running the previous command (which
     
    219223
    220224<screen role="nodump"><userinput>mkdir -pv ${CLFS}/usr/lib/locale
    221 localedef -i de_DE -f ISO-8859-1 de_DE
    222 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
    223 localedef -i en_HK -f ISO-8859-1 en_HK
    224 localedef -i en_PH -f ISO-8859-1 en_PH
    225 localedef -i en_US -f ISO-8859-1 en_US
    226 localedef -i es_MX -f ISO-8859-1 es_MX
    227 localedef -i fa_IR -f UTF-8 fa_IR
    228 localedef -i fr_FR -f ISO-8859-1 fr_FR
    229 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
    230 localedef -i it_IT -f ISO-8859-1 it_IT
    231 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
     225export I18NPATH=${PWD}/localedata
     226export GCONV_PATH=${PWD}/iconvdata
     227export LOCALEDEF="${PWD}/locale/localedef-native --alias-file=../intl/locale.alias"
     228cd ../glibc-&glibc-version;/localedata
     229${LOCALEDEF} -i locales/de_DE -f charmaps/ISO-8859-1 --prefix=${CLFS} de_DE
     230${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} de_DE@euro
     231${LOCALEDEF} -i locales/en_HK -f charmaps/ISO-8859-1 --prefix=${CLFS} en_HK
     232${LOCALEDEF} -i locales/en_PH -f charmaps/ISO-8859-1 --prefix=${CLFS} en_PH
     233${LOCALEDEF} -i locales/en_US -f charmaps/ISO-8859-1 --prefix=${CLFS} en_US
     234${LOCALEDEF} -i locales/es_MX -f charmaps/ISO-8859-1 --prefix=${CLFS} es_MX
     235${LOCALEDEF} -i locales/fa_IR -f charmaps/UTF-8 --prefix=${CLFS} fa_IR
     236${LOCALEDEF} -i locales/fr_FR -f charmaps/ISO-8859-1 --prefix=${CLFS} fr_FR
     237${LOCALEDEF} -i locales/fr_FR@euro -f charmaps/ISO-8859-15 --prefix=${CLFS} fr_FR@euro
     238${LOCALEDEF} -i locales/it_IT -f charmaps/ISO-8859-1 --prefix=${CLFS} it_IT
     239${LOCALEDEF} -i locales/ja_JP -f charmaps/EUC-JP --prefix=${CLFS} ja_JP</userinput></screen>
    232240
    233241    <para>Some locales installed by the <command>make
Note: See TracChangeset for help on using the changeset viewer.