Changeset 32edd3a in clfs-sysroot
- Timestamp:
- Nov 23, 2006, 8:56:08 PM (18 years ago)
- Branches:
- master
- Children:
- 4127a0b
- Parents:
- a186108
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/glibc.xml
ra186108 r32edd3a 52 52 <screen os="p4"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen> 53 53 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> 59 63 60 64 <para os="p7">The following corrects the Minor version, changing the value … … 197 201 198 202 <sect2 id="i18n-glibc" role="configuration"> 199 <title>Internationalization (Current method is no good, REWRITE ME)</title>203 <title>Internationalization</title> 200 204 201 205 <para>The locales that can make the system respond in a different … … 203 207 with:</para> 204 208 205 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>209 <screen><userinput>make localedata/install-locales</userinput></screen> 206 210 207 211 <para>To save time, an alternative to running the previous command (which … … 219 223 220 224 <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> 225 export I18NPATH=${PWD}/localedata 226 export GCONV_PATH=${PWD}/iconvdata 227 export LOCALEDEF="${PWD}/locale/localedef-native --alias-file=../intl/locale.alias" 228 cd ../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> 232 240 233 241 <para>Some locales installed by the <command>make -
BOOK/introduction/common/changelog.xml
ra186108 r32edd3a 40 40 <para>November 23, 2006</para> 41 41 <itemizedlist> 42 <listitem> 43 <para>[jciccone] - Replace the glibc crosscompile timezone fix patch 44 with the glibc cross hacks patch. The new patch has support for 45 zoneinfo, locales, and librpcsvc.</para> 46 </listitem> 42 47 <listitem> 43 48 <para>[jciccone] - Update the Glibc libgcc_eh patch to -2. The new -
BOOK/materials/common/patches.xml
ra186108 r32edd3a 119 119 120 120 <varlistentry> 121 <term>Glibc Timezone Patch- <token>&glibc-crosscompile_timezone_fix-patch-size;</token>:</term>122 <listitem> 123 <para>Download: <ulink 124 url="&patches-root;&glibc-cross compile_timezone_fix-patch;"/></para>125 <para>MD5 sum: <literal>&glibc-cross compile_timezone_fix-patch-md5;</literal></para>121 <term>Glibc Cross-Compiling Hacks Patch- <token>&glibc-cross_hacks-patch-size;</token>:</term> 122 <listitem> 123 <para>Download: <ulink 124 url="&patches-root;&glibc-cross_hacks-patch;"/></para> 125 <para>MD5 sum: <literal>&glibc-cross_hacks-patch-md5;</literal></para> 126 126 </listitem> 127 127 </varlistentry> -
BOOK/patches.ent
ra186108 r32edd3a 49 49 <!ENTITY gcc-posix-patch-size "9 KB"> 50 50 51 <!ENTITY glibc-cross compile_timezone_fix-patch "glibc-&glibc-version;-crosscompile_timezone_fix-1.patch">52 <!ENTITY glibc-cross compile_timezone_fix-patch-md5 "d46ffc949ebc894974d719c8235be6f6">53 <!ENTITY glibc-cross compile_timezone_fix-patch-size "4KB">51 <!ENTITY glibc-cross_hacks-patch "glibc-&glibc-version;-cross_hacks-1.patch"> 52 <!ENTITY glibc-cross_hacks-patch-md5 "c3ea44100f9f731b7ca52beab8f28f12"> 53 <!ENTITY glibc-cross_hacks-patch-size "20 KB"> 54 54 55 55 <!ENTITY glibc-minor-patch "glibc-&glibc-version;-MINOR-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.