Changeset 03e6a40 for BOOK/cross-tools/common/glibc.xml
- Timestamp:
- Apr 20, 2014, 8:57:39 AM (11 years ago)
- Children:
- 0be79ea
- Parents:
- 88ef769 (diff), 578ca586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/glibc.xml
r88ef769 r03e6a40 6 6 ]> 7 7 8 <sect1 id="ch-cross-tools- eglibc" role="wrap">9 <?dbhtml filename=" eglibc.html"?>8 <sect1 id="ch-cross-tools-glibc" role="wrap"> 9 <?dbhtml filename="glibc.html"?> 10 10 11 <title> EGLIBC-&eglibc-version;</title>11 <title>GLIBC-&glibc-version;</title> 12 12 13 <indexterm zone="ch-cross-tools- eglibc">14 <primary sortas="a- EGLIBC">EGLIBC</primary>13 <indexterm zone="ch-cross-tools-glibc"> 14 <primary sortas="a-GLIBC">GLIBC</primary> 15 15 <secondary>cross tools</secondary> 16 16 </indexterm> 17 17 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 19 href="../../final-system/common/ eglibc.xml"19 href="../../final-system/common/glibc.xml" 20 20 xpointer="xpointer(//*[@role='package'])"/> 21 21 22 22 <sect2 role="installation"> 23 <title>Installation of EGLIBC</title>23 <title>Installation of GLIBC</title> 24 24 25 <para os="da">It should be noted that compiling EGLIBC in any way other than25 <para os="da">It should be noted that compiling GLIBC in any way other than 26 26 the method suggested in this book puts the stability of the system at 27 27 risk.</para> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/ eglibc.xml"30 href="../../final-system/common/glibc.xml" 31 31 xpointer="xpointer(//*[@os='s1'])"/> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/common/ eglibc.xml"34 href="../../final-system/common/glibc.xml" 35 35 xpointer="xpointer(//*[@os='s2'])"/> 36 36 37 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../../final-system/common/ eglibc.xml"38 href="../../final-system/common/glibc.xml" 39 39 xpointer="xpointer(//*[@os='e'])"/> 40 40 41 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../../final-system/common/ eglibc.xml"42 href="../../final-system/common/glibc.xml" 43 43 xpointer="xpointer(//*[@os='f'])"/> 44 44 45 45 <para os="dd">Add the following to <filename>config.cache</filename> 46 to disable ssp when building EGLIBC:</para>46 to disable ssp when building GLIBC:</para> 47 47 48 48 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 49 49 50 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 51 href="../../final-system/common/ eglibc.xml"51 href="../../final-system/common/glibc.xml" 52 52 xpointer="xpointer(//*[@os='g'])"/> 53 53 54 54 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \ 55 55 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 56 ../ eglibc-&eglibc-version;/configure --prefix=/tools \56 ../glibc-&glibc-version;/configure --prefix=/tools \ 57 57 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 58 58 --disable-profile --with-tls --enable-kernel=2.6.32 \ … … 67 67 <term><parameter>BUILD_CC="gcc"</parameter></term> 68 68 <listitem> 69 <para>This sets EGLIBC to use the current compiler on our system. This is70 used to create the tools EGLIBC uses during its build.</para>69 <para>This sets GLIBC to use the current compiler on our system. This is 70 used to create the tools GLIBC uses during its build.</para> 71 71 </listitem> 72 72 </varlistentry> … … 75 75 <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term> 76 76 <listitem> 77 <para>This forces EGLIBC to use the GCC compiler that we made for our target77 <para>This forces GLIBC to use the GCC compiler that we made for our target 78 78 architecture.</para> 79 79 </listitem> … … 83 83 <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term> 84 84 <listitem> 85 <para>This forces EGLIBC to use the <command>ar</command> utility85 <para>This forces GLIBC to use the <command>ar</command> utility 86 86 we made for our target architecture.</para> 87 87 </listitem> … … 91 91 <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term> 92 92 <listitem> 93 <para>This forces EGLIBC to use the <command>ranlib</command> utility93 <para>This forces GLIBC to use the <command>ranlib</command> utility 94 94 we made for our target architecture.</para> 95 95 </listitem> … … 107 107 <term><parameter>--with-tls</parameter></term> 108 108 <listitem> 109 <para>This tells EGLIBC to use Thread Local Storage.</para>109 <para>This tells GLIBC to use Thread Local Storage.</para> 110 110 </listitem> 111 111 </varlistentry> … … 114 114 <term><parameter>--enable-kernel=2.6.32</parameter></term> 115 115 <listitem> 116 <para>This tells EGLIBC to compile the library with support116 <para>This tells GLIBC to compile the library with support 117 117 for 2.6.32 and later Linux kernels.</para> 118 118 </listitem> … … 122 122 <term><parameter>--with-__thread</parameter></term> 123 123 <listitem> 124 <para>This tells EGLIBC to use use the __thread for libc and124 <para>This tells GLIBC to use use the __thread for libc and 125 125 libpthread builds.</para> 126 126 </listitem> … … 130 130 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 131 131 <listitem> 132 <para>This tells EGLIBC to use the Binutils that are specific to132 <para>This tells GLIBC to use the Binutils that are specific to 133 133 our target architecture.</para> 134 134 </listitem> … … 138 138 <term><parameter>--with-headers=/tools/include</parameter></term> 139 139 <listitem> 140 <para>This tells EGLIBC to compile itself against the headers140 <para>This tells GLIBC to compile itself against the headers 141 141 recently installed to the <filename class="directory">/tools</filename> 142 142 directory, so that it knows exactly what features the kernel has … … 146 146 147 147 <varlistentry os="dg11"> 148 <term><parameter>--enable-obsolete-rpc</parameter></term> 149 <listitem> 150 <para>This tells GLIBC to install rpc headers that are not installed 151 by default but may be needed by other packages.</para> 152 </listitem> 153 </varlistentry> 154 155 <varlistentry os="dg12"> 148 156 <term><parameter>--cache-file=config.cache</parameter></term> 149 157 <listitem> 150 <para>This tells EGLIBC to utilize a premade cache file.</para>158 <para>This tells GLIBC to utilize a premade cache file.</para> 151 159 </listitem> 152 160 </varlistentry> … … 180 188 181 189 <para>Details on this package are located in <xref 182 linkend="contents- eglibc" role="."/></para>190 linkend="contents-glibc" role="."/></para> 183 191 184 192 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.