Changeset 093b0e8 for BOOK/cross-tools/common
- Timestamp:
- Jun 3, 2009, 11:48:55 AM (15 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
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/eglibc.xml
r968933d r093b0e8 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- glibc" role="wrap">9 <?dbhtml filename=" glibc.html"?>8 <sect1 id="ch-cross-tools-eglibc" role="wrap"> 9 <?dbhtml filename="eglibc.html"?> 10 10 11 <title> Glibc-&glibc-version;</title>11 <title>EGLIBC-&eglibc-version;</title> 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 <secondary>cross tools</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 19 href="../../final-system/common/ glibc.xml"19 href="../../final-system/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 <para os="da">It should be noted that compiling Glibcin any way other than25 <para os="da">It should be noted that compiling EGLIBC in any way other than 26 26 the method suggested in this book puts the stability of the system at 27 27 risk.</para> … … 29 29 <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para> 30 30 31 <screen os="dc"><userinput>patch -Np1 -i ../&glibc-libgcc_eh-patch;</userinput></screen> 31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig} 32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 32 33 33 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 34 href="../../final-system/common/glibc.xml" 35 xpointer="xpointer(//*[@os='c'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 href="../../final-system/common/glibc.xml" 39 xpointer="xpointer(//*[@os='d'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 href="../../final-system/common/glibc.xml" 35 href="../../final-system/common/eglibc.xml" 43 36 xpointer="xpointer(//*[@os='e'])"/> 44 37 45 38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 46 href="../../final-system/common/ glibc.xml"39 href="../../final-system/common/eglibc.xml" 47 40 xpointer="xpointer(//*[@os='f'])"/> 48 41 49 42 <para os="dd">The following lines need to be added to 50 <filename>config.cache</filename> for Glibcto support NPTL:</para>43 <filename>config.cache</filename> for EGLIBC to support NPTL:</para> 51 44 52 45 <screen os="de"><userinput>cat > config.cache << "EOF" … … 57 50 58 51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../../final-system/common/ glibc.xml"52 href="../../final-system/common/eglibc.xml" 60 53 xpointer="xpointer(//*[@os='g'])"/> 61 54 62 55 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 63 56 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 64 ../ glibc-&glibc-version;/configure --prefix=/tools \57 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 65 58 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 66 59 --disable-profile --enable-add-ons \ … … 75 68 <term><parameter>BUILD_CC="gcc"</parameter></term> 76 69 <listitem> 77 <para>This sets Glibcto use the current compiler on our system. This is78 used to create the tools Glibcuses during its build.</para>70 <para>This sets EGLIBC to use the current compiler on our system. This is 71 used to create the tools EGLIBC uses during its build.</para> 79 72 </listitem> 80 73 </varlistentry> … … 83 76 <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term> 84 77 <listitem> 85 <para>This forces Glibcto use the GCC compiler that we made for our target78 <para>This forces EGLIBC to use the GCC compiler that we made for our target 86 79 architecture.</para> 87 80 </listitem> … … 91 84 <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term> 92 85 <listitem> 93 <para>This forces Glibcto use the <command>ar</command> utility86 <para>This forces EGLIBC to use the <command>ar</command> utility 94 87 we made for our target architecture.</para> 95 88 </listitem> … … 99 92 <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term> 100 93 <listitem> 101 <para>This forces Glibcto use the <command>ranlib</command> utility94 <para>This forces EGLIBC to use the <command>ranlib</command> utility 102 95 we made for our target architecture.</para> 103 96 </listitem> … … 115 108 <term><parameter>--enable-add-ons</parameter></term> 116 109 <listitem> 117 <para>This tells Glibcto utilize all add-ons that are110 <para>This tells EGLIBC to utilize all add-ons that are 118 111 available.</para> 119 112 </listitem> … … 123 116 <term><parameter>--with-tls</parameter></term> 124 117 <listitem> 125 <para>This tells Glibcto use Thread Local Storage.</para>118 <para>This tells EGLIBC to use Thread Local Storage.</para> 126 119 </listitem> 127 120 </varlistentry> … … 130 123 <term><parameter>--enable-kernel=2.6.0</parameter></term> 131 124 <listitem> 132 <para>This tells Glibcto compile the library with support125 <para>This tells EGLIBC to compile the library with support 133 126 for 2.6.x Linux kernels.</para> 134 127 </listitem> … … 138 131 <term><parameter>--with-__thread</parameter></term> 139 132 <listitem> 140 <para>This tells Glibcto use use the __thread for libc and133 <para>This tells EGLIBC to use use the __thread for libc and 141 134 libpthread builds.</para> 142 135 </listitem> … … 146 139 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 147 140 <listitem> 148 <para>This tells Glibcto use the Binutils that are specific to141 <para>This tells EGLIBC to use the Binutils that are specific to 149 142 our target architecture.</para> 150 143 </listitem> … … 154 147 <term><parameter>--with-headers=/tools/include</parameter></term> 155 148 <listitem> 156 <para>This tells Glibcto compile itself against the headers149 <para>This tells EGLIBC to compile itself against the headers 157 150 recently installed to the <filename class="directory">/tools</filename> 158 151 directory, so that it knows exactly what features the kernel has … … 164 157 <term><parameter>--cache-file=config.cache</parameter></term> 165 158 <listitem> 166 <para>This tells Glibcto utilize a premade cache file.</para>159 <para>This tells EGLIBC to utilize a premade cache file.</para> 167 160 </listitem> 168 161 </varlistentry> … … 196 189 197 190 <para>Details on this package are located in <xref 198 linkend="contents- glibc" role="."/></para>191 linkend="contents-eglibc" role="."/></para> 199 192 200 193 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.