Ignore:
Timestamp:
Sep 24, 2013, 11:53:17 AM (11 years ago)
Author:
William Harrington <kb0iic@…>
Children:
2e9ccbe
Parents:
111b12a
Message:

Prepare for CLFS-2.0.0 release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/eglibc.xml

    r111b12a r76b06f6  
    2727    risk.</para>
    2828
     29    <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
     30
     31<screen os="dc"><userinput>cp -v Makeconfig{,.orig}
     32sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
     33
    2934    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3035    href="../../final-system/common/eglibc.xml"
     
    3540    xpointer="xpointer(//*[@os='f'])"/>
    3641
    37     <para os="dd">Add the following to <filename>config.cache</filename>
    38     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>
    3944
    40 <screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
     45<screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     46libc_cv_forced_unwind=yes
     47libc_cv_c_cleanup=yes
     48libc_cv_gnu89_inline=yes
     49libc_cv_ssp=no
     50EOF</userinput></screen>
    4151
    4252    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5060    --disable-profile --with-tls --enable-kernel=2.6.32 \
    5161    --with-__thread --with-binutils=/cross-tools/bin \
    52     --with-headers=/tools/include --enable-obsolete-rpc \
    53     --cache-file=config.cache</userinput></screen>
     62    --with-headers=/tools/include --cache-file=config.cache</userinput></screen>
    5463
    5564    <variablelist os="dg">
     
    164173    <para os="dm">Install the package:</para>
    165174
    166 <screen os="dn"><userinput>make install</userinput></screen>
     175<screen os="dn"><userinput>make install inst_vardbdir=/tools/var/db</userinput></screen>
     176
     177<para  os="do"><parameter>inst_vardbdir=...</parameter> ensures that db-Makefile is not
     178        installed on the host system</para>
     179
     180    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     181    href="../../final-system/common/eglibc.xml"
     182    xpointer="xpointer(//*[@os='ra'])"/>
     183
     184<screen os="rb"><userinput>cp -v ../eglibc-&eglibc-version;/sunrpc/rpc/*.h /tools/include/rpc
     185cp -v ../eglibc-&eglibc-version;/sunrpc/rpcsvc/*.h /tools/include/rpcsvc
     186cp -v ../eglibc-&eglibc-version;/nis/rpcsvc/*.h /tools/include/rpcsvc</userinput></screen>
    167187
    168188  </sect2>
Note: See TracChangeset for help on using the changeset viewer.