Changeset 093b0e8 for BOOK/final-system/multilib
- Timestamp:
- Jun 3, 2009, 11:48:55 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 207aad6
- Parents:
- 968933d
- Location:
- BOOK/final-system/multilib
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/multilib/eglibc-64bit.xml
r968933d r093b0e8 6 6 ]> 7 7 8 <sect1 id="ch-system- glibc" role="wrap">9 <?dbhtml filename=" glibc-64bit.html"?>8 <sect1 id="ch-system-eglibc" role="wrap"> 9 <?dbhtml filename="eglibc-64bit.html"?> 10 10 11 <title>Glibc-& glibc-version; 64-Bit</title>11 <title>Glibc-&eglibc-version; 64-Bit</title> 12 12 13 <indexterm zone="ch-system- glibc">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-system-eglibc"> 14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 </indexterm> 16 16 17 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 18 href=" glibc.xml"18 href="eglibc.xml" 19 19 xpointer="xpointer(//*[@role='package'])"/> 20 20 21 21 <sect2 role="installation"> 22 <title>Installation of Glibc</title>22 <title>Installation of EGLIBC</title> 23 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href=" glibc.xml"25 href="eglibc.xml" 26 26 xpointer="xpointer(//*[@os='b'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/glibc.xml" 30 xpointer="xpointer(//*[@os='c'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/glibc.xml" 34 xpointer="xpointer(//*[@os='d'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="glibc.xml" 29 href="eglibc.xml" 38 30 xpointer="xpointer(//*[@os='e'])"/> 39 31 40 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href=" glibc.xml"33 href="eglibc.xml" 42 34 xpointer="xpointer(//*[@os='f'])"/> 43 35 44 <para os="m1">Tell Glibcto install its 64-bit libraries into36 <para os="m1">Tell EGLIBC to install its 64-bit libraries into 45 37 <filename class="directory">/lib64</filename>:</para> 46 38 … … 48 40 49 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href=" glibc.xml"42 href="eglibc.xml" 51 43 xpointer="xpointer(//*[@os='g'])"/> 52 44 53 45 <screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 54 ../ glibc-&glibc-version;/configure --prefix=/usr \46 ../eglibc-&eglibc-version;/configure --prefix=/usr \ 55 47 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 56 48 --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen> … … 71 63 72 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href=" glibc.xml"65 href="eglibc.xml" 74 66 xpointer="xpointer(//*[@os='j'])"/> 75 67 76 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href=" glibc.xml"69 href="eglibc.xml" 78 70 xpointer="xpointer(//*[@os='k'])"/> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href=" glibc.xml"73 href="eglibc.xml" 82 74 xpointer="xpointer(//*[@os='l'])"/> 83 75 84 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href=" glibc.xml"77 href="eglibc.xml" 86 78 xpointer="xpointer(//*[@os='m'])"/> 87 79 88 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href=" glibc.xml"81 href="eglibc.xml" 90 82 xpointer="xpointer(//*[@os='n'])"/> 91 83 92 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href=" glibc.xml"85 href="eglibc.xml" 94 86 xpointer="xpointer(//*[@os='o'])"/> 95 87 96 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../common/ glibc.xml"89 href="../common/eglibc.xml" 98 90 xpointer="xpointer(//*[@os='p'])"/> 99 91 100 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 href=" glibc.xml"93 href="eglibc.xml" 102 94 xpointer="xpointer(//*[@os='s'])"/> 103 95 104 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 105 href=" glibc.xml"97 href="eglibc.xml" 106 98 xpointer="xpointer(//*[@os='t'])"/> 107 99 … … 109 101 110 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 111 href="../common/ glibc.xml"112 xpointer="xpointer(id('i18n- glibc'))"/>103 href="../common/eglibc.xml" 104 xpointer="xpointer(id('i18n-eglibc'))"/> 113 105 114 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 115 href="../common/ glibc.xml"116 xpointer="xpointer(id('conf- glibc'))"/>107 href="../common/eglibc.xml" 108 xpointer="xpointer(id('conf-eglibc'))"/> 117 109 118 110 <sect2 id="conf-ld" role="configuration"> … … 159 151 160 152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 161 href="../common/ glibc.xml"162 xpointer="xpointer(id('contents- glibc'))"/>153 href="../common/eglibc.xml" 154 xpointer="xpointer(id('contents-eglibc'))"/> 163 155 164 156 </sect1> -
BOOK/final-system/multilib/eglibc.xml
r968933d r093b0e8 6 6 ]> 7 7 8 <sect1 id="ch-system- glibc-32" role="wrap">9 <?dbhtml filename=" glibc.html"?>8 <sect1 id="ch-system-eglibc-32" role="wrap"> 9 <?dbhtml filename="eglibc.html"?> 10 10 11 <title> Glibc-&glibc-version; 32 Bit Libraries</title>11 <title>EGLIBC-&eglibc-version; 32 Bit Libraries</title> 12 12 13 <indexterm zone="ch-system- glibc-32">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-system-eglibc-32"> 14 <primary sortas="a-EGLIBC">EGLIBC</primary> 15 15 <secondary>32 Bit</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 19 href="../common/ glibc.xml"19 href="../common/eglibc.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of Glibc</title>23 <title>Installation of EGLIBC</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 href="../common/ glibc.xml"26 href="../common/eglibc.xml" 27 27 xpointer="xpointer(//*[@os='z'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 30 href="../common/ glibc.xml"30 href="../common/eglibc.xml" 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../common/glibc.xml" 35 xpointer="xpointer(//*[@os='c'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../common/glibc.xml" 39 xpointer="xpointer(//*[@os='d'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../common/glibc.xml" 34 href="../common/eglibc.xml" 43 35 xpointer="xpointer(//*[@os='e'])"/> 44 36 45 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../common/ glibc.xml"38 href="../common/eglibc.xml" 47 39 xpointer="xpointer(//*[@os='f'])"/> 48 40 49 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../common/ glibc.xml"42 href="../common/eglibc.xml" 51 43 xpointer="xpointer(//*[@os='g'])"/> 52 44 53 45 <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 54 ../ glibc-&glibc-version;/configure --prefix=/usr \46 ../eglibc-&eglibc-version;/configure --prefix=/usr \ 55 47 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \ 56 --libexecdir=/usr/lib/ glibc --host=${CLFS_TARGET32}</userinput></screen>48 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32}</userinput></screen> 57 49 58 50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../common/ glibc.xml"51 href="../common/eglibc.xml" 60 52 xpointer="xpointer(//*[@os='i'])"/> 61 53 62 54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 href="../common/ glibc.xml"55 href="../common/eglibc.xml" 64 56 xpointer="xpointer(//*[@os='j'])"/> 65 57 66 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 67 href="../common/ glibc.xml"59 href="../common/eglibc.xml" 68 60 xpointer="xpointer(//*[@os='k'])"/> 69 61 70 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 71 href="../common/ glibc.xml"63 href="../common/eglibc.xml" 72 64 xpointer="xpointer(//*[@os='l'])"/> 73 65 74 66 <para os="l1">In multilib, we tend to think that compiling for 75 67 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis> 76 cross-compiling. Glibctakes the traditional view that if you are building68 cross-compiling. EGLIBC takes the traditional view that if you are building 77 69 for a different host then you are cross-compiling, so you won't be running 78 70 the tests and therefore you don't need the locale files. When we run … … 80 72 sed allows these tests to succeed:</para> 81 73 82 <screen os="l2"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../ glibc-&glibc-version;/localedata/Makefile</userinput></screen>74 <screen os="l2"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-&eglibc-version;/localedata/Makefile</userinput></screen> 83 75 84 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../common/ glibc.xml"77 href="../common/eglibc.xml" 86 78 xpointer="xpointer(//*[@os='m'])"/> 87 79 88 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../common/ glibc.xml"81 href="../common/eglibc.xml" 90 82 xpointer="xpointer(//*[@os='n'])"/> 91 83 92 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href="../common/ glibc.xml"85 href="../common/eglibc.xml" 94 86 xpointer="xpointer(//*[@os='o'])"/> 95 87 96 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../common/ glibc.xml"89 href="../common/eglibc.xml" 98 90 xpointer="xpointer(//*[@os='p'])"/> 99 91 100 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 href="../common/ glibc.xml"93 href="../common/eglibc.xml" 102 94 xpointer="xpointer(//*[@os='q'])"/> 103 95 104 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 105 href="../common/ glibc.xml"97 href="../common/eglibc.xml" 106 98 xpointer="xpointer(//*[@os='r'])"/> 107 99 108 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 109 href="../common/ glibc.xml"101 href="../common/eglibc.xml" 110 102 xpointer="xpointer(//*[@os='s'])"/> 111 103 112 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 113 href="../common/ glibc.xml"105 href="../common/eglibc.xml" 114 106 xpointer="xpointer(//*[@os='t'])"/> 115 107 … … 120 112 121 113 <para>Details on this package are located in <xref 122 linkend="contents- glibc" role="."/></para>114 linkend="contents-eglibc" role="."/></para> 123 115 124 116 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.