Changeset 51a1403 in clfs-sysroot for BOOK/cross-tools
- Timestamp:
- Jul 11, 2009, 5:23:41 PM (15 years ago)
- Branches:
- master
- Children:
- 8a63c91
- Parents:
- f3125bf
- Location:
- BOOK/cross-tools
- Files:
-
- 7 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/alpha-chapter.xml
rf3125bf r51a1403 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/ glibc.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="alpha/eglibc.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> -
BOOK/cross-tools/alpha/eglibc.xml
rf3125bf r51a1403 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <title> Glibc-&glibc-version;</title>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EGlibc-&eglibc-version;</title> 10 10 11 <?dbhtml filename=" glibc.html"?>11 <?dbhtml filename="eglibc.html"?> 12 12 13 <indexterm zone="ch-cross-tools- glibc">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-cross-tools-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="../common/ glibc.xml"18 href="../common/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="../common/ glibc.xml"25 href="../common/eglibc.xml" 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/ glibc.xml"29 href="../common/eglibc.xml" 30 30 xpointer="xpointer(//*[@os='p1'])"/> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/ glibc.xml"33 href="../common/eglibc.xml" 34 34 xpointer="xpointer(//*[@os='p2'])"/> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/ glibc.xml"38 xpointer="xpointer(//*[@os=' p3'])"/>37 href="../common/eglibc.xml" 38 xpointer="xpointer(//*[@os='s1'])"/> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/ glibc.xml"42 xpointer="xpointer(//*[@os=' p4'])"/>41 href="../common/eglibc.xml" 42 xpointer="xpointer(//*[@os='s2'])"/> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/glibc.xml" 46 xpointer="xpointer(//*[@os='p5'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/glibc.xml" 50 xpointer="xpointer(//*[@os='p6'])"/> 51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/glibc.xml" 45 href="../common/eglibc.xml" 54 46 xpointer="xpointer(//*[@os='b'])"/> 55 47 56 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/ glibc.xml"49 href="../common/eglibc.xml" 58 50 xpointer="xpointer(//*[@os='c'])"/> 59 51 60 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../common/ glibc.xml"53 href="../common/eglibc.xml" 62 54 xpointer="xpointer(//*[@os='d'])"/> 63 55 64 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/ glibc.xml"57 href="../common/eglibc.xml" 66 58 xpointer="xpointer(//*[@os='e'])"/> 67 59 68 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/ glibc.xml"61 href="../common/eglibc.xml" 70 62 xpointer="xpointer(//*[@os='f'])"/> 71 63 72 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href="../common/ glibc.xml"65 href="../common/eglibc.xml" 74 66 xpointer="xpointer(//*[@os='g'])"/> 75 67 76 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/ glibc.xml"69 href="../common/eglibc.xml" 78 70 xpointer="xpointer(//*[@os='h'])"/> 79 71 80 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../common/ glibc.xml"73 href="../common/eglibc.xml" 82 74 xpointer="xpointer(//*[@os='i'])"/> 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='j'])"/> 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='k'])"/> 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='l'])"/> 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='m'])"/> 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='n'])"/> 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='o'])"/> 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='p'])"/> 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='q'])"/> 115 107 … … 117 109 118 110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 119 href="../common/ glibc.xml"120 xpointer="xpointer(id('i18n- glibc'))"/>111 href="../common/eglibc.xml" 112 xpointer="xpointer(id('i18n-eglibc'))"/> 121 113 122 114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 123 href="../common/ glibc.xml"124 xpointer="xpointer(id('conf- glibc'))"/>115 href="../common/eglibc.xml" 116 xpointer="xpointer(id('conf-eglibc'))"/> 125 117 126 118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 127 href="../common/ glibc.xml"119 href="../common/eglibc.xml" 128 120 xpointer="xpointer(id('conf-ld'))"/> 129 121 130 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../common/ glibc.xml"132 xpointer="xpointer(id('contents- glibc'))"/>123 href="../common/eglibc.xml" 124 xpointer="xpointer(id('contents-eglibc'))"/> 133 125 134 126 </sect1> -
BOOK/cross-tools/arm-chapter.xml
rf3125bf r51a1403 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/ glibc.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/eglibc.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> -
BOOK/cross-tools/arm/eglibc.xml
rf3125bf r51a1403 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <title> Glibc-&glibc-version;</title>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EGlibc-&eglibc-version;</title> 10 10 11 <?dbhtml filename=" glibc.html"?>11 <?dbhtml filename="eglibc.html"?> 12 12 13 <indexterm zone="ch-cross-tools- glibc">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-cross-tools-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="../common/ glibc.xml"18 href="../common/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="../common/ glibc.xml"25 href="../common/eglibc.xml" 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <para os="u1">This architecture is no longer supported in the main glibc29 tree, so we have to extract the glibc-ports-&glibc-version; package into30 our glibc-&glibc-version; directory. Then we move ports to the location28 <para os="u1">This architecture is no longer supported in the main eglibc 29 tree, so we have to extract the eglibc-ports-&eglibc-version; package into 30 our eglibc-&eglibc-version; directory. Then we move ports to the location 31 31 expected by our build and patches:</para> 32 32 33 <screen os="u2"><userinput>tar -jxvf ../ glibc-ports-&glibc-ports-version;.tar.bz234 mv -v glibc-ports-&glibc-version; ports</userinput></screen>33 <screen os="u2"><userinput>tar -jxvf ../eglibc-ports-&eglibc-ports-version;.tar.bz2 34 mv -v eglibc-ports-&eglibc-version; ports</userinput></screen> 35 35 36 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/ glibc.xml"37 href="../common/eglibc.xml" 38 38 xpointer="xpointer(//*[@os='p1'])"/> 39 39 40 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/ glibc.xml"41 href="../common/eglibc.xml" 42 42 xpointer="xpointer(//*[@os='p2'])"/> 43 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/ glibc.xml"46 xpointer="xpointer(//*[@os=' p3'])"/>45 href="../common/eglibc.xml" 46 xpointer="xpointer(//*[@os='s1'])"/> 47 47 48 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/ glibc.xml"50 xpointer="xpointer(//*[@os=' p4'])"/>49 href="../common/eglibc.xml" 50 xpointer="xpointer(//*[@os='s2'])"/> 51 51 52 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/glibc.xml" 54 xpointer="xpointer(//*[@os='p5'])"/> 55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/glibc.xml" 58 xpointer="xpointer(//*[@os='p6'])"/> 59 60 <para os="arp1">The following patch adds a missing hidden alias for 61 __sigsetjmp:</para> 62 63 <screen os="arp2"><userinput>patch -Np1 -i ../&glibc-arm_setjmp_fix-patch;</userinput></screen> 64 65 <para os="arp3">The following patch adds a missing include that fixes a 66 compilation error on arm.</para> 67 68 <screen os="arp4"><userinput>patch -Np1 -i ../&glibc-nptl_lowlevellock-patch;</userinput></screen> 69 70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 71 href="../common/glibc.xml" 53 href="../common/eglibc.xml" 72 54 xpointer="xpointer(//*[@os='b'])"/> 73 55 74 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/ glibc.xml"57 href="../common/eglibc.xml" 76 58 xpointer="xpointer(//*[@os='c'])"/> 77 59 78 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 79 href="../common/ glibc.xml"61 href="../common/eglibc.xml" 80 62 xpointer="xpointer(//*[@os='d'])"/> 81 63 82 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 83 href="../common/ glibc.xml"65 href="../common/eglibc.xml" 84 66 xpointer="xpointer(//*[@os='e'])"/> 85 67 86 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 href="../common/ glibc.xml"69 href="../common/eglibc.xml" 88 70 xpointer="xpointer(//*[@os='f'])"/> 89 71 90 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../common/ glibc.xml"73 href="../common/eglibc.xml" 92 74 xpointer="xpointer(//*[@os='g'])"/> 93 75 94 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 href="../common/ glibc.xml"77 href="../common/eglibc.xml" 96 78 xpointer="xpointer(//*[@os='h'])"/> 97 79 98 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../common/ glibc.xml"81 href="../common/eglibc.xml" 100 82 xpointer="xpointer(//*[@os='i'])"/> 101 83 102 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 103 href="../common/ glibc.xml"85 href="../common/eglibc.xml" 104 86 xpointer="xpointer(//*[@os='j'])"/> 105 87 106 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 107 href="../common/ glibc.xml"89 href="../common/eglibc.xml" 108 90 xpointer="xpointer(//*[@os='k'])"/> 109 91 110 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 111 href="../common/ glibc.xml"93 href="../common/eglibc.xml" 112 94 xpointer="xpointer(//*[@os='l'])"/> 113 95 114 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 115 href="../common/ glibc.xml"97 href="../common/eglibc.xml" 116 98 xpointer="xpointer(//*[@os='m'])"/> 117 99 118 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 119 href="../common/ glibc.xml"101 href="../common/eglibc.xml" 120 102 xpointer="xpointer(//*[@os='n'])"/> 121 103 122 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 123 href="../common/ glibc.xml"105 href="../common/eglibc.xml" 124 106 xpointer="xpointer(//*[@os='o'])"/> 125 107 126 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 127 href="../common/ glibc.xml"109 href="../common/eglibc.xml" 128 110 xpointer="xpointer(//*[@os='p'])"/> 129 111 130 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../common/ glibc.xml"113 href="../common/eglibc.xml" 132 114 xpointer="xpointer(//*[@os='q'])"/> 133 115 … … 135 117 136 118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 137 href="../common/ glibc.xml"138 xpointer="xpointer(id('i18n- glibc'))"/>119 href="../common/eglibc.xml" 120 xpointer="xpointer(id('i18n-eglibc'))"/> 139 121 140 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 141 href="../common/ glibc.xml"142 xpointer="xpointer(id('conf- glibc'))"/>123 href="../common/eglibc.xml" 124 xpointer="xpointer(id('conf-eglibc'))"/> 143 125 144 126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 145 href="../common/ glibc.xml"127 href="../common/eglibc.xml" 146 128 xpointer="xpointer(id('conf-ld'))"/> 147 129 148 130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 149 href="../common/ glibc.xml"150 xpointer="xpointer(id('contents- glibc'))"/>131 href="../common/eglibc.xml" 132 xpointer="xpointer(id('contents-eglibc'))"/> 151 133 152 134 </sect1> -
BOOK/cross-tools/common/binutils.xml
rf3125bf r51a1403 24 24 25 25 <para os="da">It is important that Binutils be the first package compiled 26 because both Glibc and GCC perform various tests on the available26 because both EGlibc and GCC perform various tests on the available 27 27 linker and assembler to determine which of their own features to 28 28 enable.</para> -
BOOK/cross-tools/common/eglibc.xml
rf3125bf r51a1403 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <?dbhtml filename=" glibc.html"?>10 11 <title> Glibc-&glibc-version;</title>12 13 <indexterm zone="ch-cross-tools- glibc">14 <primary sortas="a- Glibc">Glibc</primary>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <?dbhtml filename="eglibc.html"?> 10 11 <title>EGlibc-&eglibc-version;</title> 12 13 <indexterm zone="ch-cross-tools-eglibc"> 14 <primary sortas="a-EGlibc">EGlibc</primary> 15 15 <secondary>cross tools</secondary> 16 16 </indexterm> … … 19 19 <title/> 20 20 21 <para>The Glibc package contains the main C library. This library provides21 <para>The EGlibc package contains the main C library. This library provides 22 22 the basic routines for allocating memory, searching directories, opening and 23 23 closing files, reading and writing files, string handling, pattern matching, … … 27 27 28 28 <sect2 role="installation"> 29 <title>Installation of Glibc</title>29 <title>Installation of EGlibc</title> 30 30 31 31 <note os="a"> … … 35 35 <quote>This library provides an <function>iconv()</function> 36 36 implementation, for use on systems which don't have one, or whose 37 implementation cannot convert from/to Unicode.</quote> Glibc provides37 implementation cannot convert from/to Unicode.</quote> EGlibc provides 38 38 an <function>iconv()</function> implementation and can convert from/to 39 39 Unicode, therefore libiconv is not required on an CLFS system.</para> 40 40 </note> 41 41 42 <para os="p1">The Glibc build will expect to find 43 <filename>libgcc_eh</filename>, but this library is not installed when GCC 44 is built without "--enable-shared". As a result, the Glibc build will fail. 45 The following patch will force Glibc to check for the existance of 46 <filename>libgcc_eh</filename> and try to link to it only if it exists:</para> 47 48 <screen os="p2"><userinput>patch -Np1 -i ../&glibc-libgcc_eh-patch;</userinput></screen> 49 50 <para os="p3">The following patch fixes an issue that can 51 cause <command>localdef</command> to segfault:</para> 52 53 <screen os="p4"><userinput>patch -Np1 -i ../&glibc-localedef_segfault-patch;</userinput></screen> 54 55 <para os="p5">The following patch builds <filename>zic-native</filename>, 56 <filename>localedef-native</filename>, and 57 <filename>rpcgen-native</filename>. <filename>zic-native</filename> is used 58 to generate the zoneinfo, <filename>localedef-native</filename> is used to 59 generate the locale archive, and <filename>rpcgen-native</filename> is used 60 to generate part of <filename>librpcsvc.a</filename>. All of these programs 61 would normally not be available when cross-compiling:</para> 62 63 <screen os="p6"><userinput>patch -Np1 -i ../&glibc-cross_hacks-patch;</userinput></screen> 64 65 <para os="b">The Glibc documentation recommends building Glibc outside of the 42 <para os="p1">EGlibc has various issues addressed by the following patch:</para> 43 44 <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen> 45 46 <para os="s1">Disable linking to <filename>libgcc_eh</filename>:</para> 47 48 <screen os="s2"><userinput>cp -v Makeconfig{,.orig} 49 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 50 51 <para os="b">The EGlibc documentation recommends building EGlibc outside of the 66 52 source directory in a dedicated build directory:</para> 67 53 68 <screen os="c"><userinput>mkdir -v ../ glibc-build69 cd ../ glibc-build</userinput></screen>54 <screen os="c"><userinput>mkdir -v ../eglibc-build 55 cd ../eglibc-build</userinput></screen> 70 56 71 57 <para os="d">The following lines need to be added to 72 <filename>config.cache</filename> for Glibc to support NPTL:</para>58 <filename>config.cache</filename> for EGlibc to support NPTL:</para> 73 59 74 60 <screen os="e"><userinput>cat > config.cache << EOF … … 85 71 EOF</userinput></screen> 86 72 87 <para os="h">Prepare Glibc for compilation:</para>73 <para os="h">Prepare EGlibc for compilation:</para> 88 74 89 75 <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 90 76 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 91 ../ glibc-&glibc-version;/configure --prefix=/usr \92 --libexecdir=/usr/lib/ glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \77 ../eglibc-&eglibc-version;/configure --prefix=/usr \ 78 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 93 79 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \ 94 80 --with-__thread --with-binutils=${CLFS}/cross-tools/bin \ … … 101 87 <term><parameter>BUILD_CC="gcc"</parameter></term> 102 88 <listitem> 103 <para>This tells Glibc to use the compiler on the host system. This is104 used to create the tools Glibc uses during its build.</para>89 <para>This tells EGlibc to use the compiler on the host system. This is 90 used to create the tools EGlibc uses during its build.</para> 105 91 </listitem> 106 92 </varlistentry> … … 109 95 <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term> 110 96 <listitem> 111 <para>This forces Glibc to use the GCC compiler that we made for our target97 <para>This forces EGlibc to use the GCC compiler that we made for our target 112 98 architecture.</para> 113 99 </listitem> … … 117 103 <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term> 118 104 <listitem> 119 <para>This forces Glibc to use the <command>ar</command> utility105 <para>This forces EGlibc to use the <command>ar</command> utility 120 106 we made for our target architecture.</para> 121 107 </listitem> … … 125 111 <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term> 126 112 <listitem> 127 <para>This forces Glibc to use the <command>ranlib</command> utility113 <para>This forces EGlibc to use the <command>ranlib</command> utility 128 114 we made for our target architecture.</para> 129 115 </listitem> … … 141 127 <term><parameter>--enable-add-ons</parameter></term> 142 128 <listitem> 143 <para>This tells Glibc to utilize all add-ons that are129 <para>This tells EGlibc to utilize all add-ons that are 144 130 available.</para> 145 131 </listitem> … … 149 135 <term><parameter>--with-tls</parameter></term> 150 136 <listitem> 151 <para>This tells Glibc to use Thread Local Storage.</para>137 <para>This tells EGlibc to use Thread Local Storage.</para> 152 138 </listitem> 153 139 </varlistentry> … … 156 142 <term><parameter>--with-__thread</parameter></term> 157 143 <listitem> 158 <para>This tells Glibc to use use the __thread for libc and144 <para>This tells EGlibc to use use the __thread for libc and 159 145 libpthread builds.</para> 160 146 </listitem> … … 164 150 <term><parameter>--with-binutils=${CLFS}/cross-tools/bin</parameter></term> 165 151 <listitem> 166 <para>This tells Glibc to use the Binutils that are specific to152 <para>This tells EGlibc to use the Binutils that are specific to 167 153 our target architecture.</para> 168 154 </listitem> … … 172 158 <term><parameter>--cache-file=config.cache</parameter></term> 173 159 <listitem> 174 <para>This tells Glibc to utilize a premade cache file.</para>160 <para>This tells EGlibc to utilize a premade cache file.</para> 175 161 </listitem> 176 162 </varlistentry> … … 200 186 </sect2> 201 187 202 <sect2 id="i18n- glibc" role="configuration">188 <sect2 id="i18n-eglibc" role="configuration"> 203 189 <title>Internationalization</title> 204 190 … … 211 197 <para>To save time, an alternative to running the previous command (which 212 198 generates and installs every locale listed in the 213 glibc-&glibc-version;/localedata/SUPPORTED file) is to install only199 eglibc-&eglibc-version;/localedata/SUPPORTED file) is to install only 214 200 those locales that are wanted and needed. This can be achieved by using 215 201 the <command>localedef</command> command. Information on this command is 216 located in the <filename>INSTALL</filename> file in the Glibc source.202 located in the <filename>INSTALL</filename> file in the EGlibc source. 217 203 However, there are a number of locales that are essential in order for the 218 204 tests of future packages to pass, in particular, the … … 227 213 export LOCALEDEF="${PWD}/locale/localedef-native \ 228 214 --alias-file=../intl/locale.alias" 229 cd ../ glibc-&glibc-version;/localedata215 cd ../eglibc-&eglibc-version;/localedata 230 216 ${LOCALEDEF} -i locales/de_DE -f charmaps/ISO-8859-1 --prefix=${CLFS} de_DE 231 217 ${LOCALEDEF} -i locales/de_DE@euro -f charmaps/ISO-8859-15 \ … … 260 246 </sect2> 261 247 262 <sect2 id="conf- glibc" role="configuration">263 <title>Configuring Glibc</title>264 265 <indexterm zone="conf- glibc">248 <sect2 id="conf-eglibc" role="configuration"> 249 <title>Configuring EGlibc</title> 250 251 <indexterm zone="conf-eglibc"> 266 252 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary> 267 253 </indexterm> 268 254 269 <indexterm zone="conf- glibc">255 <indexterm zone="conf-eglibc"> 270 256 <primary sortas="e-/etc/localtime">/etc/localtime</primary> 271 257 </indexterm> 272 258 273 259 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created 274 because, although Glibc provides defaults when this file is missing or275 corrupt, the Glibc defaults do not work well in a networked environment.260 because, although EGlibc provides defaults when this file is missing or 261 corrupt, the EGlibc defaults do not work well in a networked environment. 276 262 The time zone also needs to be configured.</para> 277 263 … … 364 350 </sect2> 365 351 366 <sect2 id="contents- glibc" role="content">367 <title>Contents of Glibc</title>352 <sect2 id="contents-eglibc" role="content"> 353 <title>Contents of EGlibc</title> 368 354 369 355 <segmentedlist> … … 396 382 <para>Can be used to create a stack trace when a program 397 383 terminates with a segmentation fault</para> 398 <indexterm zone="ch-cross-tools- glibc catchsegv">384 <indexterm zone="ch-cross-tools-eglibc catchsegv"> 399 385 <primary sortas="b-catchsegv">catchsegv</primary> 400 386 </indexterm> … … 406 392 <listitem> 407 393 <para>Generates message catalogues</para> 408 <indexterm zone="ch-cross-tools- glibc gencat">394 <indexterm zone="ch-cross-tools-eglibc gencat"> 409 395 <primary sortas="b-gencat">gencat</primary> 410 396 </indexterm> … … 417 403 <para>Displays the system configuration values for file system specific 418 404 variables</para> 419 <indexterm zone="ch-cross-tools- glibc getconf">405 <indexterm zone="ch-cross-tools-eglibc getconf"> 420 406 <primary sortas="b-getconf">getconf</primary> 421 407 </indexterm> … … 427 413 <listitem> 428 414 <para>Gets entries from an administrative database</para> 429 <indexterm zone="ch-cross-tools- glibc getent">415 <indexterm zone="ch-cross-tools-eglibc getent"> 430 416 <primary sortas="b-getent">getent</primary> 431 417 </indexterm> … … 437 423 <listitem> 438 424 <para>Performs character set conversion</para> 439 <indexterm zone="ch-cross-tools- glibc iconv">425 <indexterm zone="ch-cross-tools-eglibc iconv"> 440 426 <primary sortas="b-iconv">iconv</primary> 441 427 </indexterm> … … 448 434 <para>Creates fastloading <command>iconv</command> module configuration 449 435 files</para> 450 <indexterm zone="ch-cross-tools- glibc iconvconfig">436 <indexterm zone="ch-cross-tools-eglibc iconvconfig"> 451 437 <primary sortas="b-iconvconfig">iconvconfig</primary> 452 438 </indexterm> … … 458 444 <listitem> 459 445 <para>Configures the dynamic linker runtime bindings</para> 460 <indexterm zone="ch-cross-tools- glibc ldconfig">446 <indexterm zone="ch-cross-tools-eglibc ldconfig"> 461 447 <primary sortas="b-ldconfig">ldconfig</primary> 462 448 </indexterm> … … 469 455 <para>Reports which shared libraries are required 470 456 by each given program or shared library</para> 471 <indexterm zone="ch-cross-tools- glibc ldd">457 <indexterm zone="ch-cross-tools-eglibc ldd"> 472 458 <primary sortas="b-ldd">ldd</primary> 473 459 </indexterm> … … 479 465 <listitem> 480 466 <para>Assists <command>ldd</command> with object files</para> 481 <indexterm zone="ch-cross-tools- glibc lddlibc4">467 <indexterm zone="ch-cross-tools-eglibc lddlibc4"> 482 468 <primary sortas="b-lddlibc4">lddlibc4</primary> 483 469 </indexterm> … … 490 476 <para>Tells the compiler to enable or disable the use of POSIX locales 491 477 for built-in operations</para> 492 <indexterm zone="ch-cross-tools- glibc locale">478 <indexterm zone="ch-cross-tools-eglibc locale"> 493 479 <primary sortas="b-locale">locale</primary> 494 480 </indexterm> … … 500 486 <listitem> 501 487 <para>Compiles locale specifications</para> 502 <indexterm zone="ch-cross-tools- glibc localedef">488 <indexterm zone="ch-cross-tools-eglibc localedef"> 503 489 <primary sortas="b-localedef">localedef</primary> 504 490 </indexterm> … … 511 497 <para>Reads and interprets a memory trace file and 512 498 displays a summary in human-readable format</para> 513 <indexterm zone="ch-cross-tools- glibc mtrace">499 <indexterm zone="ch-cross-tools-eglibc mtrace"> 514 500 <primary sortas="b-mtrace">mtrace</primary> 515 501 </indexterm> … … 522 508 <para>A daemon that provides a cache for the most common name 523 509 service requests</para> 524 <indexterm zone="ch-cross-tools- glibc nscd">510 <indexterm zone="ch-cross-tools-eglibc nscd"> 525 511 <primary sortas="b-nscd">nscd</primary> 526 512 </indexterm> … … 532 518 <listitem> 533 519 <para>Dumps information generated by PC profiling</para> 534 <indexterm zone="ch-cross-tools- glibc pcprofiledump">520 <indexterm zone="ch-cross-tools-eglibc pcprofiledump"> 535 521 <primary sortas="b-pcprofiledump">pcprofiledump</primary> 536 522 </indexterm> … … 543 529 <para>A helper program for <command>grantpt</command> to set the owner, 544 530 group and access permissions of a slave pseudo terminal</para> 545 <indexterm zone="ch-cross-tools- glibc pt_chown">531 <indexterm zone="ch-cross-tools-eglibc pt_chown"> 546 532 <primary sortas="b-pt_chown">pt_chown</primary> 547 533 </indexterm> … … 554 540 <para>Generates C code to implement the Remote Procecure Call (RPC) 555 541 protocol</para> 556 <indexterm zone="ch-cross-tools- glibc rpcgen">542 <indexterm zone="ch-cross-tools-eglibc rpcgen"> 557 543 <primary sortas="b-rpcgen">rpcgen</primary> 558 544 </indexterm> … … 564 550 <listitem> 565 551 <para>Makes an RPC call to an RPC server</para> 566 <indexterm zone="ch-cross-tools- glibc rpcinfo">552 <indexterm zone="ch-cross-tools-eglibc rpcinfo"> 567 553 <primary sortas="b-rpcinfo">rpcinfo</primary> 568 554 </indexterm> … … 574 560 <listitem> 575 561 <para>A statically linked program that creates symbolic links</para> 576 <indexterm zone="ch-cross-tools- glibc sln">562 <indexterm zone="ch-cross-tools-eglibc sln"> 577 563 <primary sortas="b-sln">sln</primary> 578 564 </indexterm> … … 584 570 <listitem> 585 571 <para>Reads and displays shared object profiling data</para> 586 <indexterm zone="ch-cross-tools- glibc sprof">572 <indexterm zone="ch-cross-tools-eglibc sprof"> 587 573 <primary sortas="b-sprof">sprof</primary> 588 574 </indexterm> … … 595 581 <para>Asks the user about the location of the 596 582 system and reports the corresponding time zone description</para> 597 <indexterm zone="ch-cross-tools- glibc tzselect">583 <indexterm zone="ch-cross-tools-eglibc tzselect"> 598 584 <primary sortas="b-tzselect">tzselect</primary> 599 585 </indexterm> … … 606 592 <para>Traces the execution of a program by 607 593 printing the currently executed function</para> 608 <indexterm zone="ch-cross-tools- glibc xtrace">594 <indexterm zone="ch-cross-tools-eglibc xtrace"> 609 595 <primary sortas="b-xtrace">xtrace</primary> 610 596 </indexterm> … … 616 602 <listitem> 617 603 <para>The time zone dumper</para> 618 <indexterm zone="ch-cross-tools- glibc zdump">604 <indexterm zone="ch-cross-tools-eglibc zdump"> 619 605 <primary sortas="b-zdump">zdump</primary> 620 606 </indexterm> … … 626 612 <listitem> 627 613 <para>The time zone compiler</para> 628 <indexterm zone="ch-cross-tools- glibc zic">614 <indexterm zone="ch-cross-tools-eglibc zic"> 629 615 <primary sortas="b-zic">zic</primary> 630 616 </indexterm> … … 636 622 <listitem> 637 623 <para>The helper program for shared library executables</para> 638 <indexterm zone="ch-cross-tools- glibc ld.so">624 <indexterm zone="ch-cross-tools-eglibc ld.so"> 639 625 <primary sortas="c-ld.so">ld.so</primary> 640 626 </indexterm> … … 646 632 <listitem> 647 633 <para>Used by programs, such as Mozilla, to solve broken locales</para> 648 <indexterm zone="ch-cross-tools- glibc libBrokenLocale">634 <indexterm zone="ch-cross-tools-eglibc libBrokenLocale"> 649 635 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary> 650 636 </indexterm> … … 656 642 <listitem> 657 643 <para>The segmentation fault signal handler</para> 658 <indexterm zone="ch-cross-tools- glibc libSegFault">644 <indexterm zone="ch-cross-tools-eglibc libSegFault"> 659 645 <primary sortas="c-libSegFault">libSegFault</primary> 660 646 </indexterm> … … 666 652 <listitem> 667 653 <para>An asynchronous name lookup library</para> 668 <indexterm zone="ch-cross-tools- glibc libanl">654 <indexterm zone="ch-cross-tools-eglibc libanl"> 669 655 <primary sortas="c-libanl">libanl</primary> 670 656 </indexterm> … … 678 664 in order to run certain Berkey Software Distribution (BSD) programs 679 665 under Linux</para> 680 <indexterm zone="ch-cross-tools- glibc libbsd-compat">666 <indexterm zone="ch-cross-tools-eglibc libbsd-compat"> 681 667 <primary sortas="c-libbsd-compat">libbsd-compat</primary> 682 668 </indexterm> … … 688 674 <listitem> 689 675 <para>The main C library</para> 690 <indexterm zone="ch-cross-tools- glibc libc">676 <indexterm zone="ch-cross-tools-eglibc libc"> 691 677 <primary sortas="c-libc">libc</primary> 692 678 </indexterm> … … 698 684 <listitem> 699 685 <para>The cryptography library</para> 700 <indexterm zone="ch-cross-tools- glibc libcrypt">686 <indexterm zone="ch-cross-tools-eglibc libcrypt"> 701 687 <primary sortas="c-libcrypt">libcrypt</primary> 702 688 </indexterm> … … 708 694 <listitem> 709 695 <para>The dynamic linking interface library</para> 710 <indexterm zone="ch-cross-tools- glibc libdl">696 <indexterm zone="ch-cross-tools-eglibc libdl"> 711 697 <primary sortas="c-libdl">libdl</primary> 712 698 </indexterm> … … 718 704 <listitem> 719 705 <para>A runtime library for <command>g++</command></para> 720 <indexterm zone="ch-cross-tools- glibc libg">706 <indexterm zone="ch-cross-tools-eglibc libg"> 721 707 <primary sortas="c-libg">libg</primary> 722 708 </indexterm> … … 729 715 <para>The Institute of Electrical and Electronic Engineers (IEEE) 730 716 floating point library</para> 731 <indexterm zone="ch-cross-tools- glibc libieee">717 <indexterm zone="ch-cross-tools-eglibc libieee"> 732 718 <primary sortas="c-libieee">libieee</primary> 733 719 </indexterm> … … 739 725 <listitem> 740 726 <para>The mathematical library</para> 741 <indexterm zone="ch-cross-tools- glibc libm">727 <indexterm zone="ch-cross-tools-eglibc libm"> 742 728 <primary sortas="c-libm">libm</primary> 743 729 </indexterm> … … 749 735 <listitem> 750 736 <para>Contains code run at boot</para> 751 <indexterm zone="ch-cross-tools- glibc libmcheck">737 <indexterm zone="ch-cross-tools-eglibc libmcheck"> 752 738 <primary sortas="c-libmcheck">libmcheck</primary> 753 739 </indexterm> … … 758 744 <term><filename class="libraryfile">libmemusage</filename></term> 759 745 <listitem> 760 <para>Used by <command>memusage</command> (included in Glibc, but746 <para>Used by <command>memusage</command> (included in EGlibc, but 761 747 not built in a base CLFS system as it has additional dependencies) 762 748 to help collect information about the memory usage of a program</para> 763 <indexterm zone="ch-cross-tools- glibc libmemusage">749 <indexterm zone="ch-cross-tools-eglibc libmemusage"> 764 750 <primary sortas="c-libmemusage">libmemusage</primary> 765 751 </indexterm> … … 771 757 <listitem> 772 758 <para>The network services library</para> 773 <indexterm zone="ch-cross-tools- glibc libnsl">759 <indexterm zone="ch-cross-tools-eglibc libnsl"> 774 760 <primary sortas="c-libnsl">libnsl</primary> 775 761 </indexterm> … … 783 769 resolving host names, user names, group names, aliases, services, 784 770 protocols, etc.</para> 785 <indexterm zone="ch-cross-tools- glibc libnss">771 <indexterm zone="ch-cross-tools-eglibc libnss"> 786 772 <primary sortas="c-libnss">libnss</primary> 787 773 </indexterm> … … 794 780 <para>Contains profiling functions used to track the amount of CPU 795 781 time spent in specific source code lines</para> 796 <indexterm zone="ch-cross-tools- glibc libpcprofile">782 <indexterm zone="ch-cross-tools-eglibc libpcprofile"> 797 783 <primary sortas="c-libpcprofile">libpcprofile</primary> 798 784 </indexterm> … … 804 790 <listitem> 805 791 <para>The POSIX threads library</para> 806 <indexterm zone="ch-cross-tools- glibc libpthread">792 <indexterm zone="ch-cross-tools-eglibc libpthread"> 807 793 <primary sortas="c-libpthread">libpthread</primary> 808 794 </indexterm> … … 815 801 <para>Contains functions for creating, sending, and interpreting 816 802 packets to the Internet domain name servers</para> 817 <indexterm zone="ch-cross-tools- glibc libresolv">803 <indexterm zone="ch-cross-tools-eglibc libresolv"> 818 804 <primary sortas="c-libresolv">libresolv</primary> 819 805 </indexterm> … … 825 811 <listitem> 826 812 <para>Contains functions providing miscellaneous RPC services</para> 827 <indexterm zone="ch-cross-tools- glibc librpcsvc">813 <indexterm zone="ch-cross-tools-eglibc librpcsvc"> 828 814 <primary sortas="c-librpcsvc">librpcsvc</primary> 829 815 </indexterm> … … 836 822 <para>Contains functions providing most of the interfaces specified by 837 823 the POSIX.1b Realtime Extension</para> 838 <indexterm zone="ch-cross-tools- glibc librt">824 <indexterm zone="ch-cross-tools-eglibc librt"> 839 825 <primary sortas="c-librt">librt</primary> 840 826 </indexterm> … … 847 833 <para>Contains functions useful for 848 834 building debuggers for multi-threaded programs</para> 849 <indexterm zone="ch-cross-tools- glibc libthread_db">835 <indexterm zone="ch-cross-tools-eglibc libthread_db"> 850 836 <primary sortas="c-libthread_db">libthread_db</primary> 851 837 </indexterm> … … 858 844 <para>Contains code for <quote>standard</quote> functions used in 859 845 many different Unix utilities</para> 860 <indexterm zone="ch-cross-tools- glibc libutil">846 <indexterm zone="ch-cross-tools-eglibc libutil"> 861 847 <primary sortas="c-libutil">libutil</primary> 862 848 </indexterm> -
BOOK/cross-tools/common/gcc-static.xml
rf3125bf r51a1403 78 78 include files, since they haven't been created for this architecture 79 79 yet. GCC will be able to find the multi-thread information after 80 the Glibc headers are created.</para>80 the EGlibc headers are created.</para> 81 81 </listitem> 82 82 </varlistentry> -
BOOK/cross-tools/common/shadow.xml
rf3125bf r51a1403 33 33 34 34 <para>The following value causes Shadow to use its internal lckpwdf 35 instead of the one provided by Glibc. The one provided byGlibc will35 instead of the one provided by EGlibc. The one provided by EGlibc will 36 36 attempt to modify the host system:</para> 37 37 -
BOOK/cross-tools/hppa-chapter.xml
rf3125bf r51a1403 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hppa/ glibc.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hppa/eglibc.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> -
BOOK/cross-tools/hppa/eglibc.xml
rf3125bf r51a1403 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <title> Glibc-&glibc-version;</title>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EGlibc-&eglibc-version;</title> 10 10 11 <?dbhtml filename=" glibc.html"?>11 <?dbhtml filename="eglibc.html"?> 12 12 13 <indexterm zone="ch-cross-tools- glibc">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-cross-tools-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="../common/ glibc.xml"18 href="../common/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="../common/ glibc.xml"25 href="../common/eglibc.xml" 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../common/glibc.xml" 29 href="../arm/eglibc.xml" 30 xpointer="xpointer(//*[@os='u1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../arm/eglibc.xml" 34 xpointer="xpointer(//*[@os='u2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/eglibc.xml" 30 38 xpointer="xpointer(//*[@os='p1'])"/> 31 39 32 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/ glibc.xml"41 href="../common/eglibc.xml" 34 42 xpointer="xpointer(//*[@os='p2'])"/> 35 43 36 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/ glibc.xml"38 xpointer="xpointer(//*[@os=' p3'])"/>45 href="../common/eglibc.xml" 46 xpointer="xpointer(//*[@os='s1'])"/> 39 47 40 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/ glibc.xml"42 xpointer="xpointer(//*[@os=' p4'])"/>49 href="../common/eglibc.xml" 50 xpointer="xpointer(//*[@os='s2'])"/> 43 51 44 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/glibc.xml" 46 xpointer="xpointer(//*[@os='p5'])"/> 47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/glibc.xml" 50 xpointer="xpointer(//*[@os='p6'])"/> 51 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/glibc.xml" 53 href="../common/eglibc.xml" 54 54 xpointer="xpointer(//*[@os='b'])"/> 55 55 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/ glibc.xml"57 href="../common/eglibc.xml" 58 58 xpointer="xpointer(//*[@os='c'])"/> 59 59 60 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../common/ glibc.xml"61 href="../common/eglibc.xml" 62 62 xpointer="xpointer(//*[@os='d'])"/> 63 63 64 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/ glibc.xml"65 href="../common/eglibc.xml" 66 66 xpointer="xpointer(//*[@os='e'])"/> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/ glibc.xml"69 href="../common/eglibc.xml" 70 70 xpointer="xpointer(//*[@os='f'])"/> 71 71 72 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href="../common/ glibc.xml"73 href="../common/eglibc.xml" 74 74 xpointer="xpointer(//*[@os='g'])"/> 75 75 76 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/ glibc.xml"77 href="../common/eglibc.xml" 78 78 xpointer="xpointer(//*[@os='h'])"/> 79 79 80 80 <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 81 81 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 82 CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) -mtune=generic -g -O2" \ 83 ../glibc-&glibc-version;/configure --prefix=/usr \ 84 --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 85 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \ 82 ../eglibc-&eglibc-version;/configure --prefix=/usr \ 83 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 84 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.9 \ 86 85 --with-__thread --with-binutils=${CLFS}/cross-tools/bin \ 87 86 --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen> 88 87 89 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../common/ glibc.xml"89 href="../common/eglibc.xml" 91 90 xpointer="xpointer(//*[@os='j'])"/> 92 91 93 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../common/ glibc.xml"93 href="../common/eglibc.xml" 95 94 xpointer="xpointer(//*[@os='k'])"/> 96 95 97 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../common/ glibc.xml"97 href="../common/eglibc.xml" 99 98 xpointer="xpointer(//*[@os='l'])"/> 100 99 101 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../common/ glibc.xml"101 href="../common/eglibc.xml" 103 102 xpointer="xpointer(//*[@os='m'])"/> 104 103 105 104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../common/ glibc.xml"105 href="../common/eglibc.xml" 107 106 xpointer="xpointer(//*[@os='n'])"/> 108 107 109 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../common/ glibc.xml"109 href="../common/eglibc.xml" 111 110 xpointer="xpointer(//*[@os='o'])"/> 112 111 113 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="../common/ glibc.xml"113 href="../common/eglibc.xml" 115 114 xpointer="xpointer(//*[@os='p'])"/> 116 115 117 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 118 href="../common/ glibc.xml"117 href="../common/eglibc.xml" 119 118 xpointer="xpointer(//*[@os='q'])"/> 120 119 … … 122 121 123 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 124 href="../common/ glibc.xml"125 xpointer="xpointer(id('i18n- glibc'))"/>123 href="../common/eglibc.xml" 124 xpointer="xpointer(id('i18n-eglibc'))"/> 126 125 127 126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 128 href="../common/ glibc.xml"129 xpointer="xpointer(id('conf- glibc'))"/>127 href="../common/eglibc.xml" 128 xpointer="xpointer(id('conf-eglibc'))"/> 130 129 131 130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 132 href="../common/ glibc.xml"131 href="../common/eglibc.xml" 133 132 xpointer="xpointer(id('conf-ld'))"/> 134 133 135 134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 136 href="../common/ glibc.xml"137 xpointer="xpointer(id('contents- glibc'))"/>135 href="../common/eglibc.xml" 136 xpointer="xpointer(id('contents-eglibc'))"/> 138 137 139 138 </sect1> -
BOOK/cross-tools/x86-chapter.xml
rf3125bf r51a1403 22 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/> 23 23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/ glibc.xml"/>24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/eglibc.xml"/> 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> -
BOOK/cross-tools/x86/eglibc.xml
rf3125bf r51a1403 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <title> Glibc-&glibc-version;</title>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <title>EGlibc-&eglibc-version;</title> 10 10 11 <?dbhtml filename=" glibc.html"?>11 <?dbhtml filename="eglibc.html"?> 12 12 13 <indexterm zone="ch-cross-tools- glibc">14 <primary sortas="a- Glibc">Glibc</primary>13 <indexterm zone="ch-cross-tools-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="../common/ glibc.xml"18 href="../common/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="../common/ glibc.xml"25 href="../common/eglibc.xml" 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../arm/glibc.xml" 30 xpointer="xpointer(//*[@os='u1'])"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../arm/glibc.xml" 34 xpointer="xpointer(//*[@os='u2'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../common/glibc.xml" 29 href="../common/eglibc.xml" 38 30 xpointer="xpointer(//*[@os='p1'])"/> 39 31 40 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 41 href="../common/ glibc.xml"33 href="../common/eglibc.xml" 42 34 xpointer="xpointer(//*[@os='p2'])"/> 43 35 44 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 45 href="../common/ glibc.xml"46 xpointer="xpointer(//*[@os=' p3'])"/>37 href="../common/eglibc.xml" 38 xpointer="xpointer(//*[@os='s1'])"/> 47 39 48 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 49 href="../common/ glibc.xml"50 xpointer="xpointer(//*[@os=' p4'])"/>41 href="../common/eglibc.xml" 42 xpointer="xpointer(//*[@os='s2'])"/> 51 43 52 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 53 href="../common/glibc.xml" 54 xpointer="xpointer(//*[@os='p5'])"/> 55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 href="../common/glibc.xml" 58 xpointer="xpointer(//*[@os='p6'])"/> 59 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 href="../common/glibc.xml" 45 href="../common/eglibc.xml" 62 46 xpointer="xpointer(//*[@os='b'])"/> 63 47 64 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/ glibc.xml"49 href="../common/eglibc.xml" 66 50 xpointer="xpointer(//*[@os='c'])"/> 67 51 68 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../common/ glibc.xml"53 href="../common/eglibc.xml" 70 54 xpointer="xpointer(//*[@os='d'])"/> 71 55 72 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 href="../common/ glibc.xml"57 href="../common/eglibc.xml" 74 58 xpointer="xpointer(//*[@os='e'])"/> 75 59 76 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 href="../common/ glibc.xml"61 href="../common/eglibc.xml" 78 62 xpointer="xpointer(//*[@os='f'])"/> 79 63 80 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../common/ glibc.xml"65 href="../common/eglibc.xml" 82 66 xpointer="xpointer(//*[@os='g'])"/> 83 67 84 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../common/ glibc.xml"69 href="../common/eglibc.xml" 86 70 xpointer="xpointer(//*[@os='h'])"/> 87 71 88 72 <screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 89 73 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 90 ../glibc-&glibc-version;/configure --prefix=/usr \ 91 --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 92 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.9 \ 74 CFLAGS="-march=$(cut -d- -f1 <<< ${CLFS_TARGET}) -mtune=generic -g -O2" \ 75 ../eglibc-&eglibc-version;/configure --prefix=/usr \ 76 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 77 --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \ 93 78 --with-__thread --with-binutils=${CLFS}/cross-tools/bin \ 94 79 --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen> 95 80 96 81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../common/ glibc.xml"82 href="../common/eglibc.xml" 98 83 xpointer="xpointer(//*[@os='j'])"/> 99 84 100 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 href="../common/ glibc.xml"86 href="../common/eglibc.xml" 102 87 xpointer="xpointer(//*[@os='k'])"/> 103 88 104 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 105 href="../common/ glibc.xml"90 href="../common/eglibc.xml" 106 91 xpointer="xpointer(//*[@os='l'])"/> 107 92 108 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 109 href="../common/ glibc.xml"94 href="../common/eglibc.xml" 110 95 xpointer="xpointer(//*[@os='m'])"/> 111 96 112 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 113 href="../common/ glibc.xml"98 href="../common/eglibc.xml" 114 99 xpointer="xpointer(//*[@os='n'])"/> 115 100 116 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 117 href="../common/ glibc.xml"102 href="../common/eglibc.xml" 118 103 xpointer="xpointer(//*[@os='o'])"/> 119 104 120 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 121 href="../common/ glibc.xml"106 href="../common/eglibc.xml" 122 107 xpointer="xpointer(//*[@os='p'])"/> 123 108 124 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 125 href="../common/ glibc.xml"110 href="../common/eglibc.xml" 126 111 xpointer="xpointer(//*[@os='q'])"/> 127 112 … … 129 114 130 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../common/ glibc.xml"132 xpointer="xpointer(id('i18n- glibc'))"/>116 href="../common/eglibc.xml" 117 xpointer="xpointer(id('i18n-eglibc'))"/> 133 118 134 119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 135 href="../common/ glibc.xml"136 xpointer="xpointer(id('conf- glibc'))"/>120 href="../common/eglibc.xml" 121 xpointer="xpointer(id('conf-eglibc'))"/> 137 122 138 123 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 139 href="../common/ glibc.xml"124 href="../common/eglibc.xml" 140 125 xpointer="xpointer(id('conf-ld'))"/> 141 126 142 127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 143 href="../common/ glibc.xml"144 xpointer="xpointer(id('contents- glibc'))"/>128 href="../common/eglibc.xml" 129 xpointer="xpointer(id('contents-eglibc'))"/> 145 130 146 131 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.