Changeset 32edd3a in clfs-sysroot for BOOK/cross-tools
- Timestamp:
- Nov 23, 2006, 8:56:08 PM (18 years ago)
- Branches:
- master
- Children:
- 4127a0b
- Parents:
- a186108
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.