Changeset d3a4fc0


Ignore:
Timestamp:
Feb 21, 2006, 1:19:09 AM (19 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:
52e5dd9
Parents:
834aff7
Message:

r766@server (orig r764): jim | 2005-11-28 15:07:41 -0800

r807@server: jim | 2005-11-28 15:07:12 -0800
Text updates to Glibc


Location:
BOOK
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/64/glibc.xml

    r834aff7 rd3a4fc0  
    6363    xpointer="xpointer(//*[@os='g'])"/>
    6464
    65 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
     65<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    6666    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    6767    ../glibc-&glibc-version;/configure --prefix=/tools \
     
    7272    --cache-file=config.cache</userinput></screen>
    7373
    74     <variablelist>
     74    <variablelist os="dg">
    7575      <title>The meaning of the new configure options:</title>
    7676
    7777      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7878      href="../common/glibc.xml"
    79       xpointer="xpointer(//*[@os='di1'])"/>
     79      xpointer="xpointer(//*[@os='dg1'])"/>
    8080
    8181      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8585      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8686      href="../common/glibc.xml"
    87       xpointer="xpointer(//*[@os='di3'])"/>
     87      xpointer="xpointer(//*[@os='dg3'])"/>
    8888
    8989      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9090      href="../common/glibc.xml"
    91       xpointer="xpointer(//*[@os='di4'])"/>
     91      xpointer="xpointer(//*[@os='dg4'])"/>
    9292
    9393      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9494      href="../common/glibc.xml"
    95       xpointer="xpointer(//*[@os='di5'])"/>
     95      xpointer="xpointer(//*[@os='dg5'])"/>
    9696
    9797      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9898      href="../common/glibc.xml"
    99       xpointer="xpointer(//*[@os='di6'])"/>
     99      xpointer="xpointer(//*[@os='dg6'])"/>
    100100
    101101      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    102102      href="../common/glibc.xml"
    103       xpointer="xpointer(//*[@os='di7'])"/>
     103      xpointer="xpointer(//*[@os='dg7'])"/>
    104104
    105105      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    106106      href="../common/glibc.xml"
    107       xpointer="xpointer(//*[@os='di8'])"/>
     107      xpointer="xpointer(//*[@os='dg8'])"/>
    108108
    109109      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    110110      href="../common/glibc.xml"
    111       xpointer="xpointer(//*[@os='di9'])"/>
     111      xpointer="xpointer(//*[@os='dg9'])"/>
    112112
    113113      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    114114      href="../common/glibc.xml"
    115       xpointer="xpointer(//*[@os='di10'])"/>
     115      xpointer="xpointer(//*[@os='dg10'])"/>
    116116
    117117    </variablelist>
     
    119119    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    120120    href="../common/glibc.xml"
    121     xpointer="xpointer(//*[@os='df'])"/>
     121    xpointer="xpointer(//*[@os='dh'])"/>
    122122
    123123    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    124124    href="../common/glibc.xml"
    125     xpointer="xpointer(//*[@os='dg'])"/>
    126 
    127     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    128     href="../common/glibc.xml"
    129     xpointer="xpointer(//*[@os='dh'])"/>
     125    xpointer="xpointer(//*[@os='di'])"/>
    130126
    131127    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    145141    xpointer="xpointer(//*[@os='dm'])"/>
    146142
     143    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     144    href="../common/glibc.xml"
     145    xpointer="xpointer(//*[@os='dn'])"/>
     146
    147147  </sect2>
    148148
  • BOOK/cross-tools/common/glibc.xml

    r834aff7 rd3a4fc0  
    5858    xpointer="xpointer(//*[@os='g'])"/>
    5959
    60 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
     60<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    6161    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    6262    ../glibc-&glibc-version;/configure --prefix=/tools \
     
    6767    --cache-file=config.cache</userinput></screen>
    6868
    69     <variablelist os="di">
     69    <variablelist os="dg">
    7070      <title>The meaning of the new configure options:</title>
    7171
    72       <varlistentry os="di1">
     72      <varlistentry os="dg1">
    7373        <term><parameter>BUILD_CC="gcc"</parameter></term>
    7474        <listitem>
    75           <para>This do ...</para>
     75          <para>This sets GLIBC to use the current compiler on our system. This is
     76          used to create the tools GLIBC uses durings it's build.</para>
    7677        </listitem>
    7778      </varlistentry>
    7879
    79       <varlistentry os="di2">
     80      <varlistentry os="dg2">
    8081        <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
    8182        <listitem>
    82           <para>This do ...</para>
     83          <para>This forces GLIBC to use the GCC complier that we made for our target
     84          architecture.</para>
    8385        </listitem>
    8486      </varlistentry>
    8587
    86       <varlistentry os="di3">
     88      <varlistentry os="dg3">
    8789        <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
    8890        <listitem>
    89           <para>This do ...</para>
     91          <para>This forces GLIBC to use the AR utilitythat we made for our target
     92          architecture.</para>
    9093        </listitem>
    9194      </varlistentry>
    9295
    93       <varlistentry os="di4">
     96      <varlistentry os="dg4">
    9497        <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
    9598        <listitem>
    96           <para>This do ...</para>
     99          <para>This forces GLIBC to use the RANLIB utility we made for our target
     100          architecture.</para>
    97101        </listitem>
    98102      </varlistentry>
    99103
    100       <varlistentry os="di5">
     104      <varlistentry os="dg5">
    101105        <term><parameter>--disable-profile</parameter></term>
    102106        <listitem>
    103           <para>This do ...</para>
     107          <para>This builds the libraries without profiling information.
     108          Omit this option if profiling on the temporary tools is necessary.</para>
    104109        </listitem>
    105110      </varlistentry>
    106111
    107       <varlistentry os="di6">
     112      <varlistentry os="dg6">
    108113        <term><parameter>--enable-add-ons</parameter></term>
    109114        <listitem>
    110           <para>This do ...</para>
     115          <para>This tells GLIBC to utilize all add-on's that are avaialble.</para>
    111116        </listitem>
    112117      </varlistentry>
    113118
    114       <varlistentry os="di7">
     119      <varlistentry os="dg7">
    115120        <term><parameter>--with-tls</parameter></term>
    116121        <listitem>
    117           <para>This do ...</para>
     122          <para>This tells GLIBC to use Thread Local Storage.</para>
    118123        </listitem>
    119124      </varlistentry>
    120125
    121       <varlistentry os="di8">
     126      <varlistentry os="dg8">
    122127        <term><parameter>--with-__thread</parameter></term>
    123128        <listitem>
    124           <para>This do ...</para>
     129          <para>This tells GLIBC to use use the __thread for libc and
     130          libpthread builds.</para>
    125131        </listitem>
    126132      </varlistentry>
    127133
    128       <varlistentry os="di9">
     134      <varlistentry os="dg9">
    129135        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    130136        <listitem>
    131           <para>This do ...</para>
     137          <para>This tells GLIBC to use the Binutils that are specific to
     138          our target architecture.</para>
    132139        </listitem>
    133140      </varlistentry>
    134141
    135       <varlistentry os="di10">
     142      <varlistentry os="dg10">
    136143        <term><parameter>--cache-file=config.cache</parameter></term>
    137144        <listitem>
    138           <para>This do ...</para>
     145          <para>This tells GLIBC to utilize a premade cache file.</para>
    139146        </listitem>
    140147      </varlistentry>
     
    142149    </variablelist>
    143150
    144     <para os="df">During this stage the following warning might appear:</para>
     151    <para os="dh">During this stage the following warning might appear:</para>
    145152
    146 <blockquote os="dg"><screen><computeroutput>configure: WARNING:
     153<blockquote os="di"><screen><computeroutput>configure: WARNING:
    147154*** These auxiliary programs are missing or
    148155*** incompatible versions: msgfmt
     
    150157*** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
    151158
    152     <para os="dh">The missing or incompatible <command>msgfmt</command> program is
     159    <para os="dj">The missing or incompatible <command>msgfmt</command> program is
    153160    generally harmless. This <command>msgfmt</command> program is part of the
    154161    Gettext package which the host distribution should provide.</para>
    155162
    156     <para os="dj">Compile the package:</para>
     163    <para os="dk">Compile the package:</para>
    157164
    158 <screen os="dk"><userinput>make</userinput></screen>
     165<screen os="dl"><userinput>make</userinput></screen>
    159166
    160     <para os="dl">Install the package:</para>
     167    <para os="dm">Install the package:</para>
    161168
    162 <screen os="dm"><userinput>make install</userinput></screen>
     169<screen os="dn"><userinput>make install</userinput></screen>
    163170
    164171  </sect2>
  • BOOK/cross-tools/mips/glibc.xml

    r834aff7 rd3a4fc0  
    5959    xpointer="xpointer(//*[@os='f'])"/>
    6060
    61     <para os="dd"> For NPTL enabled systems we will need to add the following lines to
    62     <filename>config.cache</filename>:</para>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../common/glibc.xml"
     63    xpointer="xpointer(//*[@os='dd'])"/>
    6364
    64 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
    65 echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache</userinput></screen>
     65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     66    href="../common/glibc.xml"
     67    xpointer="xpointer(//*[@os='de'])"/>
    6668
    6769    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6971    xpointer="xpointer(//*[@os='g'])"/>
    7072
    71 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    72     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    73     ../glibc-&glibc-version;/configure --prefix=/tools \
    74     --host=${LFS_TARGET} --build=${LFS_HOST} \
    75     --disable-profile --enable-add-ons \
    76     --with-tls --enable-kernel=2.6.0 --with-__thread \
    77     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    78     --cache-file=config.cache</userinput></screen>
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../common/glibc.xml"
     75    xpointer="xpointer(//*[@os='df'])"/>
    7976
    80     <variablelist os="di">
    81       <title>The meaning of the new configure options:</title>
     77    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     78    href="../common/glibc.xml"
     79    xpointer="xpointer(//*[@os='dg'])"/>
    8280
    83       <varlistentry os="di1">
    84         <term><parameter>BUILD_CC="gcc"</parameter></term>
    85         <listitem>
    86           <para>This do ...</para>
    87         </listitem>
    88       </varlistentry>
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="../common/glibc.xml"
     83    xpointer="xpointer(//*[@os='dh'])"/>
    8984
    90       <varlistentry os="di2">
    91         <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
    92         <listitem>
    93           <para>This do ...</para>
    94         </listitem>
    95       </varlistentry>
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='di'])"/>
    9688
    97       <varlistentry os="di3">
    98         <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
    99         <listitem>
    100           <para>This do ...</para>
    101         </listitem>
    102       </varlistentry>
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="../common/glibc.xml"
     91    xpointer="xpointer(//*[@os='dj'])"/>
    10392
    104       <varlistentry os="di4">
    105         <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
    106         <listitem>
    107           <para>This do ...</para>
    108         </listitem>
    109       </varlistentry>
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="../common/glibc.xml"
     95    xpointer="xpointer(//*[@os='dk'])"/>
    11096
    111       <varlistentry os="di5">
    112         <term><parameter>--disable-profile</parameter></term>
    113         <listitem>
    114           <para>This do ...</para>
    115         </listitem>
    116       </varlistentry>
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../common/glibc.xml"
     99    xpointer="xpointer(//*[@os='dl'])"/>
    117100
    118       <varlistentry os="di6">
    119         <term><parameter>--enable-add-ons</parameter></term>
    120         <listitem>
    121           <para>This do ...</para>
    122         </listitem>
    123       </varlistentry>
     101    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     102    href="../common/glibc.xml"
     103    xpointer="xpointer(//*[@os='dm'])"/>
    124104
    125       <varlistentry os="di7">
    126         <term><parameter>--with-tls</parameter></term>
    127         <listitem>
    128           <para>This do ...</para>
    129         </listitem>
    130       </varlistentry>
    131 
    132       <varlistentry os="di8">
    133         <term><parameter>--with-__thread</parameter></term>
    134         <listitem>
    135           <para>This do ...</para>
    136         </listitem>
    137       </varlistentry>
    138 
    139       <varlistentry os="di9">
    140         <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    141         <listitem>
    142           <para>This do ...</para>
    143         </listitem>
    144       </varlistentry>
    145 
    146       <varlistentry os="di10">
    147         <term><parameter>--cache-file=config.cache</parameter></term>
    148         <listitem>
    149           <para>This do ...</para>
    150         </listitem>
    151       </varlistentry>
    152 
    153     </variablelist>
    154 
    155     <para os="df">During this stage the following warning might appear:</para>
    156 
    157 <blockquote os="dg"><screen><computeroutput>configure: WARNING:
    158 *** These auxiliary programs are missing or
    159 *** incompatible versions: msgfmt
    160 *** some features will be disabled.
    161 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
    162 
    163     <para os="dh">The missing or incompatible <command>msgfmt</command> program is
    164     generally harmless. This <command>msgfmt</command> program is part of the
    165     Gettext package which the host distribution should provide.</para>
    166 
    167     <para os="dj">Compile the package:</para>
    168 
    169 <screen os="dk"><userinput>make</userinput></screen>
    170 
    171     <para os="dl">Install the package:</para>
    172 
    173 <screen os="dm"><userinput>make install</userinput></screen>
     105    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     106    href="../common/glibc.xml"
     107    xpointer="xpointer(//*[@os='dn'])"/>
    174108
    175109  </sect2>
  • BOOK/cross-tools/mips64-64/glibc.xml

    r834aff7 rd3a4fc0  
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    75     ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET} --build=${LFS_HOST} \
    77     --disable-profile --enable-add-ons \
    78     --with-tls --enable-kernel=2.6.0 --with-__thread \
    79     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    80     --cache-file=config.cache</userinput></screen>
    81 
    82     <variablelist>
    83       <title>The meaning of the new configure options:</title>
    84 
    85       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86       href="../common/glibc.xml"
    87       xpointer="xpointer(//*[@os='di1'])"/>
    88 
    89       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    90       href="../multilib/glibc-64bit.xml"
    91       xpointer="xpointer(//*[@os='fa1'])"/>
    92 
    93       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    94       href="../common/glibc.xml"
    95       xpointer="xpointer(//*[@os='di3'])"/>
    96 
    97       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    98       href="../common/glibc.xml"
    99       xpointer="xpointer(//*[@os='di4'])"/>
    100 
    101       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    102       href="../common/glibc.xml"
    103       xpointer="xpointer(//*[@os='di5'])"/>
    104 
    105       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    106       href="../common/glibc.xml"
    107       xpointer="xpointer(//*[@os='di6'])"/>
    108 
    109       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    110       href="../common/glibc.xml"
    111       xpointer="xpointer(//*[@os='di7'])"/>
    112 
    113       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    114       href="../common/glibc.xml"
    115       xpointer="xpointer(//*[@os='di8'])"/>
    116 
    117       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    118       href="../common/glibc.xml"
    119       xpointer="xpointer(//*[@os='di9'])"/>
    120 
    121       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    122       href="../common/glibc.xml"
    123       xpointer="xpointer(//*[@os='di10'])"/>
    124 
    125     </variablelist>
    126 
    12773    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    128     href="../common/glibc.xml"
     74    href="../64/glibc.xml"
    12975    xpointer="xpointer(//*[@os='df'])"/>
    13076
    13177    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    132     href="../common/glibc.xml"
     78    href="../64/glibc.xml"
    13379    xpointer="xpointer(//*[@os='dg'])"/>
    13480
     
    13682    href="../common/glibc.xml"
    13783    xpointer="xpointer(//*[@os='dh'])"/>
     84
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='di'])"/>
    13888
    13989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    153103    xpointer="xpointer(//*[@os='dm'])"/>
    154104
     105    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     106    href="../common/glibc.xml"
     107    xpointer="xpointer(//*[@os='dn'])"/>
     108
    155109  </sect2>
    156110
  • BOOK/cross-tools/mips64/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    6767    xpointer="xpointer(//*[@os='de'])"/>
    6868
    69     <para>Now we make sure the Glibc goes into <filename
    70     class="directory">/tools/lib64</filename>:</para>
     69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     70    href="../multilib/glibc-64bit.xml"
     71    xpointer="xpointer(//*[@os='n1'])"/>
    7172
    72 <screen><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../multilib/glibc-64bit.xml"
     75    xpointer="xpointer(//*[@os='n2'])"/>
    7376
    7477    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7679    xpointer="xpointer(//*[@os='g'])"/>
    7780
    78 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    79     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    80     ../glibc-&glibc-version;/configure --prefix=/tools \
    81     --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
    82     --disable-profile --enable-add-ons \
    83     --with-tls --enable-kernel=2.6.0 --with-__thread \
    84     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    85     --cache-file=config.cache</userinput></screen>
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="../multilib/glibc-64bit.xml"
     83    xpointer="xpointer(//*[@os='df'])"/>
    8684
    87     <variablelist os="fa">
    88       <title>The meaning of the new configure options:</title>
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../multilib/glibc-64bit.xml"
     87    xpointer="xpointer(//*[@os='dg'])"/>
    8988
    90       <varlistentry os="fa1">
    91         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    92         <listitem>
    93           <para>This switch do ... .</para>
    94         </listitem>
    95       </varlistentry>
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="glibc.xml"
     91    xpointer="xpointer(//*[@os='dh'])"/>
    9692
    97       <varlistentry>
    98         <term><parameter>--libdir=/tools/lib64</parameter></term>
    99         <listitem>
    100           <para>This switch do ... .</para>
    101         </listitem>
    102       </varlistentry>
    103 
    104     </variablelist>
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="glibc.xml"
     95    xpointer="xpointer(//*[@os='di'])"/>
    10596
    10697    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    120111    xpointer="xpointer(//*[@os='dm'])"/>
    121112
     113    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     114    href="glibc.xml"
     115    xpointer="xpointer(//*[@os='dn'])"/>
     116
    122117  </sect2>
    123118
  • BOOK/cross-tools/mips64/glibc-n32.xml

    r834aff7 rd3a4fc0  
    6767    xpointer="xpointer(//*[@os='de'])"/>
    6868
    69     <para>Now we make sure the Glibc goes into <filename
     69    <para os="n1">Now we make sure the Glibc goes into <filename
    7070    class="directory">/tools/lib32</filename>:</para>
    7171
    72 <screen><userinput>echo "slibdir=/tools/lib32" &gt;&gt; configparms</userinput></screen>
     72<screen os="n2"><userinput>echo "slibdir=/tools/lib32" &gt;&gt; configparms</userinput></screen>
    7373
    7474    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7676    xpointer="xpointer(//*[@os='g'])"/>
    7777
    78 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \
     78<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILDN32}" \
    7979    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    8080    ../glibc-&glibc-version;/configure --prefix=/tools \
     
    9191        <term><parameter>CC="${LFS_TARGET}-gcc ${BUILDN32}"</parameter></term>
    9292        <listitem>
    93           <para>This switch do ... .</para>
     93          <para>Forces GLIBC to utilize our target architecture GCC utilizing
     94          the N32 flags.</para>
    9495        </listitem>
    9596      </varlistentry>
     
    9899        <term><parameter>--libdir=/tools/lib32</parameter></term>
    99100        <listitem>
    100           <para>This switch do ... .</para>
     101          <para>Puts GLIBC into a /tools/lib32 instead of /tools/lib.</para>
    101102        </listitem>
    102103      </varlistentry>
    103104
    104105    </variablelist>
     106
     107    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     108    href="glibc.xml"
     109    xpointer="xpointer(//*[@os='dh'])"/>
     110
     111    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     112    href="glibc.xml"
     113    xpointer="xpointer(//*[@os='di'])"/>
    105114
    106115    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    120129    xpointer="xpointer(//*[@os='dm'])"/>
    121130
     131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     132    href="glibc.xml"
     133    xpointer="xpointer(//*[@os='dn'])"/>
     134
    122135  </sect2>
    123136
  • BOOK/cross-tools/mips64/glibc.xml

    r834aff7 rd3a4fc0  
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    75     ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET32} --build=${LFS_HOST} \
    77     --disable-profile --enable-add-ons \
    78     --with-tls --enable-kernel=2.6.0 --with-__thread \
    79     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    80     --cache-file=config.cache</userinput></screen>
    81 
    82     <variablelist>
    83       <title>The meaning of the new configure options:</title>
    84 
    85       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86       href="../common/glibc.xml"
    87       xpointer="xpointer(//*[@os='di1'])"/>
    88 
    89       <varlistentry os="ea1">
    90         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>
    91         <listitem>
    92           <para>This switch do ... .</para>
    93         </listitem>
    94       </varlistentry>
    95 
    96       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    97       href="../common/glibc.xml"
    98       xpointer="xpointer(//*[@os='di3'])"/>
    99 
    100       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    101       href="../common/glibc.xml"
    102       xpointer="xpointer(//*[@os='di4'])"/>
    103 
    104       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    105       href="../common/glibc.xml"
    106       xpointer="xpointer(//*[@os='di5'])"/>
    107 
    108       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    109       href="../common/glibc.xml"
    110       xpointer="xpointer(//*[@os='di6'])"/>
    111 
    112       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    113       href="../common/glibc.xml"
    114       xpointer="xpointer(//*[@os='di7'])"/>
    115 
    116       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    117       href="../common/glibc.xml"
    118       xpointer="xpointer(//*[@os='di8'])"/>
    119 
    120       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    121       href="../common/glibc.xml"
    122       xpointer="xpointer(//*[@os='di9'])"/>
    123 
    124       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    125       href="../common/glibc.xml"
    126       xpointer="xpointer(//*[@os='di10'])"/>
    127 
    128     </variablelist>
    129 
    13073    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    131     href="../common/glibc.xml"
     74    href="../multilib/glibc.xml"
    13275    xpointer="xpointer(//*[@os='df'])"/>
    13376
    13477    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    135     href="../common/glibc.xml"
     78    href="../multilib/glibc.xml"
    13679    xpointer="xpointer(//*[@os='dg'])"/>
    13780
     
    13982    href="../common/glibc.xml"
    14083    xpointer="xpointer(//*[@os='dh'])"/>
     84
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='di'])"/>
    14188
    14289    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    156103    xpointer="xpointer(//*[@os='dm'])"/>
    157104
     105    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     106    href="../common/glibc.xml"
     107    xpointer="xpointer(//*[@os='dn'])"/>
     108
    158109  </sect2>
    159110
  • BOOK/cross-tools/multilib/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    5151    xpointer="xpointer(//*[@os='de'])"/>
    5252
    53     <para>Now we make sure the Glibc goes into <filename
     53    <para os="n1">Now we make sure the Glibc goes into <filename
    5454    class="directory">/tools/lib64</filename>:</para>
    5555
    56 <screen><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
     56<screen os="n2"><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
    5757
    5858    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6060    xpointer="xpointer(//*[@os='g'])"/>
    6161
    62 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
     62<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    6363    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    6464    ../glibc-&glibc-version;/configure --prefix=/tools \
     
    6969    --cache-file=config.cache</userinput></screen>
    7070
    71     <variablelist os="fa">
     71    <variablelist os="dg">
    7272      <title>The meaning of the new configure options:</title>
    7373
     
    7575        <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    7676        <listitem>
    77           <para>This switch do ... .</para>
     77          <para>Forces GLIBC to utilize our target architecture GCC utilizing
     78          the 64 BIT flags.</para>
    7879        </listitem>
    7980      </varlistentry>
    8081
    81       <varlistentry>
     82      <varlistentry os="fa2">
    8283        <term><parameter>--libdir=/tools/lib64</parameter></term>
    8384        <listitem>
    84           <para>This switch do ... .</para>
     85          <para>Puts GLIBC into a /tools/lib64 instead of /tools/lib.</para>
    8586        </listitem>
    8687      </varlistentry>
    8788
    8889    </variablelist>
     90
     91    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     92    href="glibc.xml"
     93    xpointer="xpointer(//*[@os='dh'])"/>
     94
     95    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     96    href="glibc.xml"
     97    xpointer="xpointer(//*[@os='di'])"/>
    8998
    9099    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    104113    xpointer="xpointer(//*[@os='dm'])"/>
    105114
     115    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     116    href="glibc.xml"
     117    xpointer="xpointer(//*[@os='dn'])"/>
     118
    106119  </sect2>
    107120
  • BOOK/cross-tools/multilib/glibc.xml

    r834aff7 rd3a4fc0  
    5555    xpointer="xpointer(//*[@os='g'])"/>
    5656
    57 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
     57<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
    5858    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    5959    ../glibc-&glibc-version;/configure --prefix=/tools \
     
    6464    --cache-file=config.cache</userinput></screen>
    6565
    66     <variablelist>
     66    <variablelist os="dg">
    6767      <title>The meaning of the new configure options:</title>
    6868
    6969      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7070      href="../common/glibc.xml"
    71       xpointer="xpointer(//*[@os='di1'])"/>
     71      xpointer="xpointer(//*[@os='dg1'])"/>
    7272
    7373      <varlistentry os="ea1">
    7474        <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>
    7575        <listitem>
    76           <para>This switch do ... .</para>
     76          <para>Forces GLIBC to utilize our target architecture GCC utilizing
     77          the 32 BIT flags.</para>
    7778        </listitem>
    7879      </varlistentry>
     
    8081      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8182      href="../common/glibc.xml"
    82       xpointer="xpointer(//*[@os='di3'])"/>
     83      xpointer="xpointer(//*[@os='dg3'])"/>
    8384
    8485      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8586      href="../common/glibc.xml"
    86       xpointer="xpointer(//*[@os='di4'])"/>
     87      xpointer="xpointer(//*[@os='dg4'])"/>
    8788
    8889      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    8990      href="../common/glibc.xml"
    90       xpointer="xpointer(//*[@os='di5'])"/>
     91      xpointer="xpointer(//*[@os='dg5'])"/>
    9192
    9293      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9394      href="../common/glibc.xml"
    94       xpointer="xpointer(//*[@os='di6'])"/>
     95      xpointer="xpointer(//*[@os='dg6'])"/>
    9596
    9697      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9798      href="../common/glibc.xml"
    98       xpointer="xpointer(//*[@os='di7'])"/>
     99      xpointer="xpointer(//*[@os='dg7'])"/>
    99100
    100101      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    101102      href="../common/glibc.xml"
    102       xpointer="xpointer(//*[@os='di8'])"/>
     103      xpointer="xpointer(//*[@os='dg8'])"/>
    103104
    104105      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    105106      href="../common/glibc.xml"
    106       xpointer="xpointer(//*[@os='di9'])"/>
     107      xpointer="xpointer(//*[@os='dg9'])"/>
    107108
    108109      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    109110      href="../common/glibc.xml"
    110       xpointer="xpointer(//*[@os='di10'])"/>
     111      xpointer="xpointer(//*[@os='dg10'])"/>
    111112
    112113    </variablelist>
     
    114115    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    115116    href="../common/glibc.xml"
    116     xpointer="xpointer(//*[@os='df'])"/>
     117    xpointer="xpointer(//*[@os='dh'])"/>
    117118
    118119    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    119120    href="../common/glibc.xml"
    120     xpointer="xpointer(//*[@os='dg'])"/>
    121 
    122     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    123     href="../common/glibc.xml"
    124     xpointer="xpointer(//*[@os='dh'])"/>
     121    xpointer="xpointer(//*[@os='di'])"/>
    125122
    126123    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    140137    xpointer="xpointer(//*[@os='dm'])"/>
    141138
     139    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     140    href="../common/glibc.xml"
     141    xpointer="xpointer(//*[@os='dn'])"/>
     142
    142143  </sect2>
    143144
  • BOOK/cross-tools/ppc/glibc.xml

    r834aff7 rd3a4fc0  
    5555    xpointer="xpointer(//*[@os='dd'])"/>
    5656
    57 <screen><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
     57<screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
    5858echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache
    5959echo "libc_cv_ppc_machine=yes" &gt;&gt; config.cache</userinput></screen>
     
    6363    xpointer="xpointer(//*[@os='g'])"/>
    6464
    65 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    66     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    67     ../glibc-&glibc-version;/configure --prefix=/tools \
    68     --host=${LFS_TARGET} --build=${LFS_HOST} \
    69     --disable-profile --enable-add-ons \
    70     --with-tls --enable-kernel=2.6.0 --with-__thread \
    71     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    72     --cache-file=config.cache</userinput></screen>
     65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     66    href="../common/glibc.xml"
     67    xpointer="xpointer(//*[@os='df'])"/>
    7368
    74     <variablelist os="di">
    75       <title>The meaning of the new configure options:</title>
     69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     70    href="../common/glibc.xml"
     71    xpointer="xpointer(//*[@os='dg'])"/>
    7672
    77       <varlistentry os="di1">
    78         <term><parameter>BUILD_CC="gcc"</parameter></term>
    79         <listitem>
    80           <para>This do ...</para>
    81         </listitem>
    82       </varlistentry>
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../common/glibc.xml"
     75    xpointer="xpointer(//*[@os='dh'])"/>
    8376
    84       <varlistentry os="di2">
    85         <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
    86         <listitem>
    87           <para>This do ...</para>
    88         </listitem>
    89       </varlistentry>
     77    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     78    href="../common/glibc.xml"
     79    xpointer="xpointer(//*[@os='di'])"/>
    9080
    91       <varlistentry os="di3">
    92         <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
    93         <listitem>
    94           <para>This do ...</para>
    95         </listitem>
    96       </varlistentry>
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="../common/glibc.xml"
     83    xpointer="xpointer(//*[@os='dj'])"/>
    9784
    98       <varlistentry os="di4">
    99         <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
    100         <listitem>
    101           <para>This do ...</para>
    102         </listitem>
    103       </varlistentry>
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='dk'])"/>
    10488
    105       <varlistentry os="di5">
    106         <term><parameter>--disable-profile</parameter></term>
    107         <listitem>
    108           <para>This do ...</para>
    109         </listitem>
    110       </varlistentry>
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="../common/glibc.xml"
     91    xpointer="xpointer(//*[@os='dl'])"/>
    11192
    112       <varlistentry os="di6">
    113         <term><parameter>--enable-add-ons</parameter></term>
    114         <listitem>
    115           <para>This do ...</para>
    116         </listitem>
    117       </varlistentry>
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="../common/glibc.xml"
     95    xpointer="xpointer(//*[@os='dm'])"/>
    11896
    119       <varlistentry os="di7">
    120         <term><parameter>--with-tls</parameter></term>
    121         <listitem>
    122           <para>This do ...</para>
    123         </listitem>
    124       </varlistentry>
    125 
    126       <varlistentry os="di8">
    127         <term><parameter>--with-__thread</parameter></term>
    128         <listitem>
    129           <para>This do ...</para>
    130         </listitem>
    131       </varlistentry>
    132 
    133       <varlistentry os="di9">
    134         <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    135         <listitem>
    136           <para>This do ...</para>
    137         </listitem>
    138       </varlistentry>
    139 
    140       <varlistentry os="di10">
    141         <term><parameter>--cache-file=config.cache</parameter></term>
    142         <listitem>
    143           <para>This do ...</para>
    144         </listitem>
    145       </varlistentry>
    146 
    147     </variablelist>
    148 
    149     <para os="df">During this stage the following warning might appear:</para>
    150 
    151 <blockquote os="dg"><screen><computeroutput>configure: WARNING:
    152 *** These auxiliary programs are missing or
    153 *** incompatible versions: msgfmt
    154 *** some features will be disabled.
    155 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
    156 
    157     <para os="dh">The missing or incompatible <command>msgfmt</command> program is
    158     generally harmless. This <command>msgfmt</command> program is part of the
    159     Gettext package which the host distribution should provide.</para>
    160 
    161     <para os="dj">Compile the package:</para>
    162 
    163 <screen os="dk"><userinput>make</userinput></screen>
    164 
    165     <para os="dl">Install the package:</para>
    166 
    167 <screen os="dm"><userinput>make install</userinput></screen>
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../common/glibc.xml"
     99    xpointer="xpointer(//*[@os='dn'])"/>
    168100
    169101  </sect2>
  • BOOK/cross-tools/sparc/glibc.xml

    r834aff7 rd3a4fc0  
    5959    xpointer="xpointer(//*[@os='f'])"/>
    6060
    61     <para os="dd"> For NPTL enabled systems we will need to add the following lines to
    62     <filename>config.cache</filename>:</para>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../common/glibc.xml"
     63    xpointer="xpointer(//*[@os='dd'])"/>
    6364
    64 <screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
    65 echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache</userinput></screen>
     65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     66    href="../common/glibc.xml"
     67    xpointer="xpointer(//*[@os='df'])"/>
    6668
    6769    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6971    xpointer="xpointer(//*[@os='g'])"/>
    7072
    71 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    72     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    73     ../glibc-&glibc-version;/configure --prefix=/tools \
    74     --host=${LFS_TARGET} --build=${LFS_HOST} \
    75     --disable-profile --enable-add-ons \
    76     --with-tls --enable-kernel=2.6.0 --with-__thread \
    77     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    78     --cache-file=config.cache</userinput></screen>
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../common/glibc.xml"
     75    xpointer="xpointer(//*[@os='dg'])"/>
    7976
    80     <variablelist os="di">
    81       <title>The meaning of the new configure options:</title>
     77    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     78    href="../common/glibc.xml"
     79    xpointer="xpointer(//*[@os='dh'])"/>
    8280
    83       <varlistentry os="di1">
    84         <term><parameter>BUILD_CC="gcc"</parameter></term>
    85         <listitem>
    86           <para>This do ...</para>
    87         </listitem>
    88       </varlistentry>
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="../common/glibc.xml"
     83    xpointer="xpointer(//*[@os='di'])"/>
    8984
    90       <varlistentry os="di2">
    91         <term><parameter>CC="${LFS_TARGET}-gcc"</parameter></term>
    92         <listitem>
    93           <para>This do ...</para>
    94         </listitem>
    95       </varlistentry>
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='dj'])"/>
    9688
    97       <varlistentry os="di3">
    98         <term><parameter>AR="${LFS_TARGET}-ar"</parameter></term>
    99         <listitem>
    100           <para>This do ...</para>
    101         </listitem>
    102       </varlistentry>
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="../common/glibc.xml"
     91    xpointer="xpointer(//*[@os='dk'])"/>
    10392
    104       <varlistentry os="di4">
    105         <term><parameter>RANLIB="${LFS_TARGET}-ranlib"</parameter></term>
    106         <listitem>
    107           <para>This do ...</para>
    108         </listitem>
    109       </varlistentry>
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="../common/glibc.xml"
     95    xpointer="xpointer(//*[@os='dl'])"/>
    11096
    111       <varlistentry os="di5">
    112         <term><parameter>--disable-profile</parameter></term>
    113         <listitem>
    114           <para>This do ...</para>
    115         </listitem>
    116       </varlistentry>
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../common/glibc.xml"
     99    xpointer="xpointer(//*[@os='dm'])"/>
    117100
    118       <varlistentry os="di6">
    119         <term><parameter>--enable-add-ons</parameter></term>
    120         <listitem>
    121           <para>This do ...</para>
    122         </listitem>
    123       </varlistentry>
    124 
    125       <varlistentry os="di7">
    126         <term><parameter>--with-tls</parameter></term>
    127         <listitem>
    128           <para>This do ...</para>
    129         </listitem>
    130       </varlistentry>
    131 
    132       <varlistentry os="di8">
    133         <term><parameter>--with-__thread</parameter></term>
    134         <listitem>
    135           <para>This do ...</para>
    136         </listitem>
    137       </varlistentry>
    138 
    139       <varlistentry os="di9">
    140         <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    141         <listitem>
    142           <para>This do ...</para>
    143         </listitem>
    144       </varlistentry>
    145 
    146       <varlistentry os="di10">
    147         <term><parameter>--cache-file=config.cache</parameter></term>
    148         <listitem>
    149           <para>This do ...</para>
    150         </listitem>
    151       </varlistentry>
    152 
    153     </variablelist>
    154 
    155     <para os="df">During this stage the following warning might appear:</para>
    156 
    157 <blockquote os="dg"><screen><computeroutput>configure: WARNING:
    158 *** These auxiliary programs are missing or
    159 *** incompatible versions: msgfmt
    160 *** some features will be disabled.
    161 *** Check the INSTALL file for required versions.</computeroutput></screen></blockquote>
    162 
    163     <para os="dh">The missing or incompatible <command>msgfmt</command> program is
    164     generally harmless. This <command>msgfmt</command> program is part of the
    165     Gettext package which the host distribution should provide.</para>
    166 
    167     <para os="dj">Compile the package:</para>
    168 
    169 <screen os="dk"><userinput>make</userinput></screen>
    170 
    171     <para os="dl">Install the package:</para>
    172 
    173 <screen os="dm"><userinput>make install</userinput></screen>
     101    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     102    href="../common/glibc.xml"
     103    xpointer="xpointer(//*[@os='dn'])"/>
    174104
    175105  </sect2>
  • BOOK/cross-tools/sparc64-64/glibc.xml

    r834aff7 rd3a4fc0  
    6363    xpointer="xpointer(//*[@os='dd'])"/>
    6464
    65 <screen><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
    66 echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache
    67 echo "libc_cv_sparc64_tls=yes" &gt;&gt; config.cache</userinput></screen>
     65    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     66    href="../sparc64/glibc-64bit.xml"
     67    xpointer="xpointer(//*[@os='de'])"/>
    6868
    6969    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    75     ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET} --build=${LFS_HOST} \
    77     --disable-profile --enable-add-ons \
    78     --with-tls --enable-kernel=2.6.0 --with-__thread \
    79     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    80     --cache-file=config.cache</userinput></screen>
    81 
    82     <variablelist>
    83       <title>The meaning of the new configure options:</title>
    84 
    85       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86       href="../common/glibc.xml"
    87       xpointer="xpointer(//*[@os='di1'])"/>
    88 
    89       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    90       href="../multilib/glibc-64bit.xml"
    91       xpointer="xpointer(//*[@os='fa1'])"/>
    92 
    93       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    94       href="../common/glibc.xml"
    95       xpointer="xpointer(//*[@os='di3'])"/>
    96 
    97       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    98       href="../common/glibc.xml"
    99       xpointer="xpointer(//*[@os='di4'])"/>
    100 
    101       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    102       href="../common/glibc.xml"
    103       xpointer="xpointer(//*[@os='di5'])"/>
    104 
    105       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    106       href="../common/glibc.xml"
    107       xpointer="xpointer(//*[@os='di6'])"/>
    108 
    109       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    110       href="../common/glibc.xml"
    111       xpointer="xpointer(//*[@os='di7'])"/>
    112 
    113       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    114       href="../common/glibc.xml"
    115       xpointer="xpointer(//*[@os='di8'])"/>
    116 
    117       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    118       href="../common/glibc.xml"
    119       xpointer="xpointer(//*[@os='di9'])"/>
    120 
    121       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    122       href="../common/glibc.xml"
    123       xpointer="xpointer(//*[@os='di10'])"/>
    124 
    125     </variablelist>
    126 
    12773    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    128     href="../common/glibc.xml"
     74    href="../multilib/glibc-64bit.xml"
    12975    xpointer="xpointer(//*[@os='df'])"/>
    13076
    13177    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    132     href="../common/glibc.xml"
     78    href="../multilib/glibc-64bit.xml"
    13379    xpointer="xpointer(//*[@os='dg'])"/>
    13480
     
    13682    href="../common/glibc.xml"
    13783    xpointer="xpointer(//*[@os='dh'])"/>
     84
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='di'])"/>
    13888
    13989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    153103    xpointer="xpointer(//*[@os='dm'])"/>
    154104
     105    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     106    href="../common/glibc.xml"
     107    xpointer="xpointer(//*[@os='dn'])"/>
     108
    155109  </sect2>
    156110
  • BOOK/cross-tools/sparc64/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    6363    xpointer="xpointer(//*[@os='dd'])"/>
    6464
    65 <screen><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
     65<screen os="de"><userinput>echo "libc_cv_forced_unwind=yes" &gt; config.cache
    6666echo "libc_cv_c_cleanup=yes" &gt;&gt; config.cache
    6767echo "libc_cv_sparc64_tls=yes" &gt;&gt; config.cache</userinput></screen>
    6868
    69     <para>Now we make sure the Glibc goes into <filename
    70     class="directory">/tools/lib64</filename>:</para>
     69    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     70    href="../multilib/glibc-64bit.xml"
     71    xpointer="xpointer(//*[@os='n1'])"/>
    7172
    72 <screen><userinput>echo "slibdir=/tools/lib64" &gt;&gt; configparms</userinput></screen>
     73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     74    href="../multilib/glibc-64bit.xml"
     75    xpointer="xpointer(//*[@os='n2'])"/>
    7376
    7477    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7679    xpointer="xpointer(//*[@os='g'])"/>
    7780
    78 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD64}" \
    79     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    80     ../glibc-&glibc-version;/configure --prefix=/tools \
    81     --host=${LFS_TARGET} --build=${LFS_HOST} --libdir=/tools/lib64 \
    82     --disable-profile --enable-add-ons \
    83     --with-tls --enable-kernel=2.6.0 --with-__thread \
    84     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    85     --cache-file=config.cache</userinput></screen>
     81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     82    href="../multilib/glibc-64bit.xml"
     83    xpointer="xpointer(//*[@os='df'])"/>
    8684
    87     <variablelist os="fa">
    88       <title>The meaning of the new configure options:</title>
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../multilib/glibc-64bit.xml"
     87    xpointer="xpointer(//*[@os='dg'])"/>
    8988
    90       <varlistentry os="fa1">
    91         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD64}"</parameter></term>
    92         <listitem>
    93           <para>This switch do ... .</para>
    94         </listitem>
    95       </varlistentry>
     89    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     90    href="glibc.xml"
     91    xpointer="xpointer(//*[@os='dh'])"/>
    9692
    97       <varlistentry>
    98         <term><parameter>--libdir=/tools/lib64</parameter></term>
    99         <listitem>
    100           <para>This switch do ... .</para>
    101         </listitem>
    102       </varlistentry>
    103 
    104     </variablelist>
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="glibc.xml"
     95    xpointer="xpointer(//*[@os='di'])"/>
    10596
    10697    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    120111    xpointer="xpointer(//*[@os='dm'])"/>
    121112
     113    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     114    href="glibc.xml"
     115    xpointer="xpointer(//*[@os='dn'])"/>
     116
    122117  </sect2>
    123118
  • BOOK/cross-tools/sparc64/glibc.xml

    r834aff7 rd3a4fc0  
    7171    xpointer="xpointer(//*[@os='g'])"/>
    7272
    73 <screen><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc ${BUILD32}" \
    74     AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    75     ../glibc-&glibc-version;/configure --prefix=/tools \
    76     --host=${LFS_TARGET32} --build=${LFS_HOST} \
    77     --disable-profile --enable-add-ons \
    78     --with-tls --enable-kernel=2.6.0 --with-__thread \
    79     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    80     --cache-file=config.cache</userinput></screen>
    81 
    82     <variablelist>
    83       <title>The meaning of the new configure options:</title>
    84 
    85       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    86       href="../common/glibc.xml"
    87       xpointer="xpointer(//*[@os='di1'])"/>
    88 
    89       <varlistentry os="ea1">
    90         <term><parameter>CC="${LFS_TARGET}-gcc ${BUILD32}"</parameter></term>
    91         <listitem>
    92           <para>This switch do ... .</para>
    93         </listitem>
    94       </varlistentry>
    95 
    96       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    97       href="../common/glibc.xml"
    98       xpointer="xpointer(//*[@os='di3'])"/>
    99 
    100       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    101       href="../common/glibc.xml"
    102       xpointer="xpointer(//*[@os='di4'])"/>
    103 
    104       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    105       href="../common/glibc.xml"
    106       xpointer="xpointer(//*[@os='di5'])"/>
    107 
    108       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    109       href="../common/glibc.xml"
    110       xpointer="xpointer(//*[@os='di6'])"/>
    111 
    112       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    113       href="../common/glibc.xml"
    114       xpointer="xpointer(//*[@os='di7'])"/>
    115 
    116       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    117       href="../common/glibc.xml"
    118       xpointer="xpointer(//*[@os='di8'])"/>
    119 
    120       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    121       href="../common/glibc.xml"
    122       xpointer="xpointer(//*[@os='di9'])"/>
    123 
    124       <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    125       href="../common/glibc.xml"
    126       xpointer="xpointer(//*[@os='di10'])"/>
    127 
    128     </variablelist>
    129 
    13073    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    131     href="../common/glibc.xml"
     74    href="../multilib/glibc.xml"
    13275    xpointer="xpointer(//*[@os='df'])"/>
    13376
    13477    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    135     href="../common/glibc.xml"
     78    href="../multilib/glibc.xml"
    13679    xpointer="xpointer(//*[@os='dg'])"/>
    13780
     
    13982    href="../common/glibc.xml"
    14083    xpointer="xpointer(//*[@os='dh'])"/>
     84
     85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     86    href="../common/glibc.xml"
     87    xpointer="xpointer(//*[@os='di'])"/>
    14188
    14289    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    156103    xpointer="xpointer(//*[@os='dm'])"/>
    157104
     105    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     106    href="../common/glibc.xml"
     107    xpointer="xpointer(//*[@os='dn'])"/>
     108
    158109  </sect2>
    159110
  • BOOK/cross-tools/x86/glibc-headers.xml

    r834aff7 rd3a4fc0  
    4343    xpointer="xpointer(//*[@os='g'])"/>
    4444
    45 <screen><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \
     45<screen os="s3"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \
    4646    --host=${LFS_TARGET} --build=${LFS_HOST} \
    4747    --disable-sanity-checks --enable-kernel=2.6.0 \
     
    5050
    5151   <warning os="e1">
    52       <para><emphasis>Any</emphasis> error message you see about nptl at this point\
     52      <para><emphasis>Any</emphasis> error message you see about nptl at this point
    5353       can safely be ignored.</para>
    5454   </warning>
     
    5757      <title>The meaning of the configure options:</title>
    5858
    59       <varlistentry>
     59      <varlistentry os="ca1">
    6060        <term><parameter>CC=gcc</parameter></term>
    6161        <listitem>
    62           <para>This do ...</para>
     62          <para>Tells GLIBC to use the hosts GCC compiler.</para>
    6363        </listitem>
    6464      </varlistentry>
    6565
    66       <varlistentry os="ca1">
     66      <varlistentry os="ca2">
    6767        <term><parameter>--prefix=/tools</parameter></term>
    6868        <listitem>
     
    7373      </varlistentry>
    7474
    75       <varlistentry os="ca2">
    76         <term><parameter>--host=${LFS_TARGET}</parameter></term>
     75      <varlistentry os="ca3">
     76        <term><parameter>--host=${LFS_HOST}</parameter></term>
    7777        <listitem>
    78           <para>This do ...</para>
    79         </listitem>
    80       </varlistentry>
    81 
    82       <varlistentry os="ca3">
    83         <term><parameter>--build=${LFS_HOST}</parameter></term>
    84         <listitem>
    85           <para>This do ...</para>
    86         </listitem>
    87       </varlistentry>
    88 
    89       <varlistentry>
    90         <term><parameter>--disable-sanity-checks</parameter></term>
    91         <listitem>
    92           <para>This switch do ... .</para>
     78          <para>When used injunction with --target, this creates a cross-architecture
     79          executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
    9380        </listitem>
    9481      </varlistentry>
    9582
    9683      <varlistentry os="ca4">
     84        <term><parameter>--target=${LFS_TARGET}</parameter></term>
     85        <listitem>
     86          <para>When used injunction with --host, this creates a cross-architecture
     87          executable that creates files for ${LFS_TARGET} but runs on ${LFS_HOST).</para>
     88        </listitem>
     89      </varlistentry>
     90
     91      <varlistentry os="ca5">
     92        <term><parameter>--disable-sanity-checks</parameter></term>
     93        <listitem>
     94          <para>This switch disables any checks that are in place.</para>
     95        </listitem>
     96      </varlistentry>
     97
     98      <varlistentry os="ca6">
    9799        <term><parameter>--enable-kernel=2.6.0</parameter></term>
    98100        <listitem>
     
    102104      </varlistentry>
    103105
    104       <varlistentry os="ca5">
     106      <varlistentry os="ca7">
    105107        <term><parameter>--with-headers=/tools/include</parameter></term>
    106108        <listitem>
     
    112114      </varlistentry>
    113115
    114       <varlistentry>
     116      <varlistentry os="ca8">
    115117        <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term>
    116118        <listitem>
    117           <para>This switch do ... .</para>
     119          <para>This tells GLIBC to use the binutils for our specific target architecture.</para>
    118120        </listitem>
    119121      </varlistentry>
     
    144146    <para os="cl">Now we copy the architecture specific header over:</para>
    145147
    146 <screen><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
     148<screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
    147149
    148150  </sect2>
  • BOOK/cross-tools/x86_64-64/glibc-headers.xml

    r834aff7 rd3a4fc0  
    4343    xpointer="xpointer(//*[@os='g'])"/>
    4444
    45 <screen><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \
    46     --host=${LFS_TARGET} --build=${LFS_HOST} \
    47     --disable-sanity-checks --enable-kernel=2.6.0 \
    48     --with-headers=/tools/include \
    49     --with-binutils=/cross-tools/${LFS_TARGET}/bin</userinput></screen>
     45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     46    href="../x86/glibc-headers.xml"
     47    xpointer="xpointer(//*[@os='s3'])"/>
    5048
    5149    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9795    xpointer="xpointer(//*[@os='cl'])"/>
    9896
    99 <screen><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../x86_64/glibc-headers.xml"
     99    xpointer="xpointer(//*[@os='cm'])"/>
    100100
    101101  </sect2>
  • BOOK/cross-tools/x86_64/glibc-headers.xml

    r834aff7 rd3a4fc0  
    4343    xpointer="xpointer(//*[@os='g'])"/>
    4444
    45 <screen><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/tools \
    46     --host=${LFS_TARGET} --build=${LFS_HOST} \
    47     --disable-sanity-checks --enable-kernel=2.6.0 \
    48     --with-headers=/tools/include \
    49     --with-binutils=/cross-tools/${LFS_TARGET}/bin</userinput></screen>
     45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     46    href="../x86/glibc-headers.xml"
     47    xpointer="xpointer(//*[@os='s3'])"/>
    5048
    5149    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9795    xpointer="xpointer(//*[@os='cl'])"/>
    9896
    99 <screen><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
     97<screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
    10098
    10199  </sect2>
  • BOOK/final-system/mips64/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
    53     <filename class="directory">/lib64</filename>:</para>
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../multilib/glibc-64bit.xml"
     54    xpointer="xpointer(//*[@os='m1'])"/>
    5455
    55 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57    href="../multilib/glibc-64bit.xml"
     58    xpointer="xpointer(//*[@os='m2'])"/>
    5659
    5760    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5962    xpointer="xpointer(//*[@os='g'])"/>
    6063
    61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../multilib/glibc-64bit.xml"
     66    xpointer="xpointer(//*[@os='h'])"/>
    6567
    66     <variablelist>
    67       <title>The meaning of the new configure option:</title>
    68 
    69       <varlistentry>
    70         <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
    71         <listitem>
    72           <para>This changes the location of the <command>pt_chown</command>
    73           program from its default of <filename
    74           class="directory">/usr/libexec</filename> to <filename
    75           class="directory">/usr/lib64/glibc</filename>.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     68    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     69    href="../multilib/glibc-64bit.xml"
     70    xpointer="xpointer(//*[@os='i'])"/>
    7971
    8072    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9486    xpointer="xpointer(//*[@os='m'])"/>
    9587
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     88    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     89    href="../multilib/glibc-64bit.xml"
     90    xpointer="xpointer(//*[@os='n'])"/>
    9891
    99 <screen os="n"><userinput>make check</userinput></screen>
     92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     93    href="../multilib/glibc-64bit.xml"
     94    xpointer="xpointer(//*[@os='o'])"/>
    10095
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='p'])"/>
    12999
    130100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/glibc-n32.xml

    r834aff7 rd3a4fc0  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
     52    <para os="m1">Now we make sure the Glibc goes into
    5353    <filename class="directory">/lib32</filename>:</para>
    5454
    55 <screen><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
     55<screen os="m2"><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
    5656
    5757    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
     61<screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    6262    ../glibc-&glibc-version;/configure --prefix=/usr \
    6363    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    6464    --libexecdir=/usr/lib32/glibc --libdir=/usr/lib32</userinput></screen>
    6565
    66     <variablelist>
     66    <variablelist os="i">
    6767      <title>The meaning of the new configure option:</title>
    6868
     
    9494    xpointer="xpointer(//*[@os='m'])"/>
    9595
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='n'])"/>
    9899
    99 <screen os="n"><userinput>make check</userinput></screen>
     100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     101    href="../multilib/glibc-64bit.xml"
     102    xpointer="xpointer(//*[@os='o'])"/>
    100103
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     104    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     105    href="../multilib/glibc-64bit.xml"
     106    xpointer="xpointer(//*[@os='o'])"/>
    129107
    130108    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/mips64/glibc.xml

    r834aff7 rd3a4fc0  
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../multilib/glibc.xml"
     63    xpointer="xpointer(//*[@os='h'])"/>
    6564
    6665    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    4242    xpointer="xpointer(//*[@os='f'])"/>
    4343
    44     <para>Now we make sure the Glibc goes into
     44    <para os="m1">Now we make sure the Glibc goes into
    4545    <filename class="directory">/lib64</filename>:</para>
    4646
    47 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     47<screen os="m2"><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
    4848
    4949    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5151    xpointer="xpointer(//*[@os='g'])"/>
    5252
    53 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     53<screen os="h"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    5454    ../glibc-&glibc-version;/configure --prefix=/usr \
    5555    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    5656    --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
    5757
    58     <variablelist>
     58    <variablelist os="i">
    5959      <title>The meaning of the new configure option:</title>
    6060
  • BOOK/final-system/multilib/glibc.xml

    r834aff7 rd3a4fc0  
    5151    xpointer="xpointer(//*[@os='g'])"/>
    5252
    53 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
     53<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    5454    ../glibc-&glibc-version;/configure --prefix=/usr \
    5555    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
  • BOOK/final-system/sparc64/glibc-64bit.xml

    r834aff7 rd3a4fc0  
    5050    xpointer="xpointer(//*[@os='f'])"/>
    5151
    52     <para>Now we make sure the Glibc goes into
    53     <filename class="directory">/lib64</filename>:</para>
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="../multilib/glibc-64bit.xml"
     54    xpointer="xpointer(//*[@os='m1'])"/>
    5455
    55 <screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
     56    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     57    href="../multilib/glibc-64bit.xml"
     58    xpointer="xpointer(//*[@os='m2'])"/>
    5659
    5760    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5962    xpointer="xpointer(//*[@os='g'])"/>
    6063
    61 <screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../multilib/glibc-64bit.xml"
     66    xpointer="xpointer(//*[@os='h'])"/>
    6567
    66     <variablelist>
    67       <title>The meaning of the new configure option:</title>
    68 
    69       <varlistentry>
    70         <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
    71         <listitem>
    72           <para>This changes the location of the <command>pt_chown</command>
    73           program from its default of <filename
    74           class="directory">/usr/libexec</filename> to <filename
    75           class="directory">/usr/lib64/glibc</filename>.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     68    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     69    href="../multilib/glibc-64bit.xml"
     70    xpointer="xpointer(//*[@os='i'])"/>
    7971
    8072    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9486    xpointer="xpointer(//*[@os='m'])"/>
    9587
    96 <!-- items n,o,p here are now the master, not multilib, because
    97  the tests are known to all pass on multilib_64 -->
     88    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     89    href="../multilib/glibc-64bit.xml"
     90    xpointer="xpointer(//*[@os='n'])"/>
    9891
    99 <screen os="n"><userinput>make check</userinput></screen>
     92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     93    href="../multilib/glibc-64bit.xml"
     94    xpointer="xpointer(//*[@os='o'])"/>
    10095
    101     <para os="o">The Glibc test suite is highly dependent on certain functions of
    102     the host system, in particular the kernel. In general, the Glibc test
    103     suite is always expected to pass. However, in certain circumstances,
    104     some failures are unavoidable. This is a list of the most common
    105     issues:</para>
    106 
    107     <itemizedlist os="p">
    108       <listitem>
    109         <para>The <emphasis>math</emphasis> tests sometimes fail.
    110         Certain optimization settings are known to be a
    111         factor here.</para>
    112       </listitem>
    113       <listitem>
    114         <para>The <emphasis>gettext</emphasis> test sometimes fails due to
    115         host system issues. The exact reasons are not yet clear.</para>
    116       </listitem>
    117       <listitem>
    118         <para>If you have mounted the LFS partition with the
    119         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
    120         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
    121         do not use the <parameter>noatime</parameter> option while building
    122         LFS.</para>
    123       </listitem>
    124       <listitem>
    125         <para>When running on older and slower hardware, some tests
    126         can fail because of test timeouts being exceeded.</para>
    127       </listitem>
    128     </itemizedlist>
     96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     97    href="../multilib/glibc-64bit.xml"
     98    xpointer="xpointer(//*[@os='p'])"/>
    12999
    130100    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    146116  xpointer="xpointer(id('conf-glibc'))"/>
    147117
    148   <sect2 id="conf-ld" role="configuration">
    149     <title>Configuring Dynamic Loader</title>
    150 
    151     <indexterm zone="conf-ld">
    152       <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
    153     </indexterm>
    154 
    155     <para>By default, the dynamic loader (<filename
    156     class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
    157     <filename class="directory">/lib</filename> and <filename
    158     class="directory">/usr/lib</filename> for dynamic libraries that are
    159     needed by programs as they are run. However, if there are libraries in
    160     directories other than <filename class="directory">/lib</filename> and
    161     <filename class="directory">/usr/lib</filename>, these need to be
    162     added to the <filename>/etc/ld.so.conf</filename> file in order
    163     for the dynamic loader to find them. Some directories that are commonly
    164     known to contain additional libraries are
    165     <filename class="directory">/usr/local/lib</filename>,
    166     <filename class="directory">/usr/local/lib32</filename>,
    167     <filename class="directory">/usr/local/lib64</filename>,
    168     <filename class="directory">/opt/lib</filename>,
    169     <filename class="directory">/opt/lib32</filename>,
    170     and <filename class="directory">/opt/lib64</filename>,
    171     so add those directories to the dynamic loader's search path.</para>
    172 
    173     <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
    174     following:</para>
    175 
    176 <screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
    177 <literal># Begin /etc/ld.so.conf
    178 
    179 /usr/local/lib
    180 /usr/local/lib32
    181 /usr/local/lib64
    182 /opt/lib
    183 /opt/lib32
    184 /opt/lib64
    185 
    186 # End /etc/ld.so.conf</literal>
    187 EOF</userinput></screen>
    188 
    189   </sect2>
     118  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     119  href="../multilib/glibc-64bit.xml"
     120  xpointer="xpointer(id('conf-ld'))"/>
    190121
    191122  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/sparc64/glibc.xml

    r834aff7 rd3a4fc0  
    5959    xpointer="xpointer(//*[@os='g'])"/>
    6060
    61 <screen><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    62     ../glibc-&glibc-version;/configure --prefix=/usr \
    63     --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
    64     --libexecdir=/usr/lib/glibc --host=${LFS_TARGET32}</userinput></screen>
     61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     62    href="../multilib/glibc.xml"
     63    xpointer="xpointer(//*[@os='h'])"/>
    6564
    6665    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    67     href="../common/glibc.xml"
     66    href="../multilib/glibc.xml"
    6867    xpointer="xpointer(//*[@os='i'])"/>
    6968
  • BOOK/introduction/common/changelog.xml

    r834aff7 rd3a4fc0  
    3838
    3939   <listitem>
     40      <para>November 28 2005</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jim] - Text updates to glibc in all sections.</para>
     44        </listitem>
     45      </itemizedlist>
     46    </listitem>
     47
     48   <listitem>
    4049      <para>November 27 2005</para>
    4150      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.