- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/common/eglibc.xml
r00a58649 rdabbced 27 27 risk.</para> 28 28 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 href="../../final-system/common/eglibc.xml" 31 xpointer="xpointer(//*[@os='s1'])"/> 29 <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para> 32 30 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../../final-system/common/eglibc.xml" 35 xpointer="xpointer(//*[@os='s2'])"/> 31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig} 32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen> 36 33 37 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 43 40 xpointer="xpointer(//*[@os='f'])"/> 44 41 45 <para os="dd"> Add the following to <filename>config.cache</filename>46 to disable ssp when building EGLIBC:</para>42 <para os="dd">The following lines need to be added to 43 <filename>config.cache</filename> for EGLIBC to support NPTL:</para> 47 44 48 <screen os="de"><userinput>echo "libc_cv_ssp=no" > config.cache</userinput></screen> 45 <screen os="de"><userinput>cat > config.cache << "EOF" 46 libc_cv_forced_unwind=yes 47 libc_cv_c_cleanup=yes 48 libc_cv_gnu89_inline=yes 49 libc_cv_ssp=no 50 EOF</userinput></screen> 49 51 50 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 56 58 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 57 59 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 58 --disable-profile -- with-tls --enable-kernel=2.6.32\59 --with- __thread --with-binutils=/cross-tools/bin\60 --with- headers=/tools/include --enable-obsolete-rpc\60 --disable-profile --enable-add-ons \ 61 --with-tls --enable-kernel=2.6.0 --with-__thread \ 62 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 61 63 --cache-file=config.cache</userinput></screen> 62 64 … … 105 107 106 108 <varlistentry os="dg6"> 109 <term><parameter>--enable-add-ons</parameter></term> 110 <listitem> 111 <para>This tells EGLIBC to utilize all add-ons that are 112 available.</para> 113 </listitem> 114 </varlistentry> 115 116 <varlistentry os="dg7"> 107 117 <term><parameter>--with-tls</parameter></term> 108 118 <listitem> … … 111 121 </varlistentry> 112 122 113 <varlistentry os="dg 7">114 <term><parameter>--enable-kernel=2.6. 32</parameter></term>123 <varlistentry os="dg8"> 124 <term><parameter>--enable-kernel=2.6.0</parameter></term> 115 125 <listitem> 116 126 <para>This tells EGLIBC to compile the library with support 117 for 2.6. 32 and laterLinux kernels.</para>127 for 2.6.x Linux kernels.</para> 118 128 </listitem> 119 129 </varlistentry> 120 130 121 <varlistentry os="dg 8">131 <varlistentry os="dg9"> 122 132 <term><parameter>--with-__thread</parameter></term> 123 133 <listitem> … … 127 137 </varlistentry> 128 138 129 <varlistentry os="dg 9">139 <varlistentry os="dg10"> 130 140 <term><parameter>--with-binutils=/cross-tools/bin</parameter></term> 131 141 <listitem> … … 135 145 </varlistentry> 136 146 137 <varlistentry os="dg1 0">147 <varlistentry os="dg11"> 138 148 <term><parameter>--with-headers=/tools/include</parameter></term> 139 149 <listitem> … … 145 155 </varlistentry> 146 156 147 <varlistentry os="dg1 1">157 <varlistentry os="dg12"> 148 158 <term><parameter>--cache-file=config.cache</parameter></term> 149 159 <listitem>
Note:
See TracChangeset
for help on using the changeset viewer.