Ignore:
Timestamp:
Jun 3, 2009, 11:48:55 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
207aad6
Parents:
968933d
Message:

Cross-LFS moved to Eglibc 2.10.1

File:
1 moved

Legend:

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

    r968933d r093b0e8  
    66]>
    77
    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"?>
    1010
    11   <title>Glibc-&glibc-version;</title>
     11  <title>EGLIBC-&eglibc-version;</title>
    1212
    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>
    1515    <secondary>cross tools</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    19   href="../../final-system/common/glibc.xml"
     19  href="../../final-system/common/eglibc.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of Glibc</title>
     23    <title>Installation of EGLIBC</title>
    2424
    25     <para os="da">It should be noted that compiling Glibc in any way other than
     25    <para os="da">It should be noted that compiling EGLIBC in any way other than
    2626    the method suggested in this book puts the stability of the system at
    2727    risk.</para>
     
    2929    <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
    3030
    31 <screen os="dc"><userinput>patch -Np1 -i ../&glibc-libgcc_eh-patch;</userinput></screen>
     31<screen os="dc"><userinput>cp -v Makeconfig{,.orig}
     32sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
    3233
    3334    <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"
    4336    xpointer="xpointer(//*[@os='e'])"/>
    4437
    4538    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    46     href="../../final-system/common/glibc.xml"
     39    href="../../final-system/common/eglibc.xml"
    4740    xpointer="xpointer(//*[@os='f'])"/>
    4841
    4942    <para os="dd">The following lines need to be added to
    50     <filename>config.cache</filename> for Glibc to support NPTL:</para>
     43    <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
    5144
    5245<screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     
    5750
    5851    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    59     href="../../final-system/common/glibc.xml"
     52    href="../../final-system/common/eglibc.xml"
    6053    xpointer="xpointer(//*[@os='g'])"/>
    6154
    6255<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
    6356    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    64     ../glibc-&glibc-version;/configure --prefix=/tools \
     57    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    6558    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    6659    --disable-profile --enable-add-ons \
     
    7568        <term><parameter>BUILD_CC="gcc"</parameter></term>
    7669        <listitem>
    77           <para>This sets Glibc to use the current compiler on our system. This is
    78           used to create the tools Glibc uses 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>
    7972        </listitem>
    8073      </varlistentry>
     
    8376        <term><parameter>CC="${CLFS_TARGET}-gcc"</parameter></term>
    8477        <listitem>
    85           <para>This forces Glibc to use the GCC compiler that we made for our target
     78          <para>This forces EGLIBC to use the GCC compiler that we made for our target
    8679          architecture.</para>
    8780        </listitem>
     
    9184        <term><parameter>AR="${CLFS_TARGET}-ar"</parameter></term>
    9285        <listitem>
    93           <para>This forces Glibc to use the <command>ar</command> utility
     86          <para>This forces EGLIBC to use the <command>ar</command> utility
    9487          we made for our target architecture.</para>
    9588        </listitem>
     
    9992        <term><parameter>RANLIB="${CLFS_TARGET}-ranlib"</parameter></term>
    10093        <listitem>
    101           <para>This forces Glibc to use the <command>ranlib</command> utility
     94          <para>This forces EGLIBC to use the <command>ranlib</command> utility
    10295          we made for our target architecture.</para>
    10396        </listitem>
     
    115108        <term><parameter>--enable-add-ons</parameter></term>
    116109        <listitem>
    117           <para>This tells Glibc to utilize all add-ons that are
     110          <para>This tells EGLIBC to utilize all add-ons that are
    118111          available.</para>
    119112        </listitem>
     
    123116        <term><parameter>--with-tls</parameter></term>
    124117        <listitem>
    125           <para>This tells Glibc to use Thread Local Storage.</para>
     118          <para>This tells EGLIBC to use Thread Local Storage.</para>
    126119        </listitem>
    127120      </varlistentry>
     
    130123        <term><parameter>--enable-kernel=2.6.0</parameter></term>
    131124        <listitem>
    132           <para>This tells Glibc to compile the library with support
     125          <para>This tells EGLIBC to compile the library with support
    133126          for 2.6.x Linux kernels.</para>
    134127        </listitem>
     
    138131        <term><parameter>--with-__thread</parameter></term>
    139132        <listitem>
    140           <para>This tells Glibc to use use the __thread for libc and
     133          <para>This tells EGLIBC to use use the __thread for libc and
    141134          libpthread builds.</para>
    142135        </listitem>
     
    146139        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    147140        <listitem>
    148           <para>This tells Glibc to use the Binutils that are specific to
     141          <para>This tells EGLIBC to use the Binutils that are specific to
    149142          our target architecture.</para>
    150143        </listitem>
     
    154147        <term><parameter>--with-headers=/tools/include</parameter></term>
    155148        <listitem>
    156           <para>This tells Glibc to compile itself against the headers
     149          <para>This tells EGLIBC to compile itself against the headers
    157150          recently installed to the <filename class="directory">/tools</filename>
    158151          directory, so that it knows exactly what features the kernel has
     
    164157        <term><parameter>--cache-file=config.cache</parameter></term>
    165158        <listitem>
    166           <para>This tells Glibc to utilize a premade cache file.</para>
     159          <para>This tells EGLIBC to utilize a premade cache file.</para>
    167160        </listitem>
    168161      </varlistentry>
     
    196189
    197190    <para>Details on this package are located in <xref
    198     linkend="contents-glibc" role="."/></para>
     191    linkend="contents-eglibc" role="."/></para>
    199192
    200193  </sect2>
Note: See TracChangeset for help on using the changeset viewer.