Changeset 76b06f6 for BOOK/cross-tools


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.

Location:
BOOK/cross-tools
Files:
1 added
9 deleted
62 edited

Legend:

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

    r111b12a r76b06f6  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
    3139    xpointer="xpointer(//*[@os='e'])"/>
    3240
     
    5361      --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5462      --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    55       --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     63      --cache-file=config.cache</userinput></screen>
    5664
    5765    <variablelist os="dg">
     
    132140    xpointer="xpointer(//*[@os='dn'])"/>
    133141
     142    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     143    href="../../final-system/common/eglibc.xml"
     144    xpointer="xpointer(//*[@os='ra'])"/>
     145
     146    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     147    href="../common/eglibc.xml"
     148    xpointer="xpointer(//*[@os='rb'])"/>
     149
    134150  </sect2>
    135151
  • BOOK/cross-tools/64/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4646    href="gcc-static.xml"
    4747    xpointer="xpointer(//*[@os='ah'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
     51    xpointer="xpointer(//*[@os='ai'])"/>
     52
     53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     54    href="gcc-static.xml"
     55    xpointer="xpointer(//*[@os='aj'])"/>
    4856
    4957    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/64/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../common/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4545    href="../common/gcc-static.xml"
    4646    xpointer="xpointer(//*[@os='ah'])"/>
     47
     48    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     49    href="../common/gcc-static.xml"
     50    xpointer="xpointer(//*[@os='ai'])"/>
     51
     52    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     53    href="../common/gcc-static.xml"
     54    xpointer="xpointer(//*[@os='aj'])"/>
    4755
    4856    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/alpha-chapter.xml

    r111b12a r76b06f6  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/variables.xml"/>
    17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="alpha/linux-headers.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/m4.xml"/>
     
    2322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
  • BOOK/cross-tools/alpha/eglibc-headers.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29
     30    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     31    href="eglibc.xml"
     32    xpointer="xpointer(//*[@os='g1'])"/>
     33
     34    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     35    href="../../final-system/mips/eglibc.xml"
     36    xpointer="xpointer(//*[@os='g2'])"/>
     37
     38    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     39    href="../common/eglibc.xml"
     40    xpointer="xpointer(//*[@os='db'])"/>
     41
     42    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     43    href="../common/eglibc.xml"
     44    xpointer="xpointer(//*[@os='dc'])"/>
    2845
    2946    <para os="s1">EGLIBC's <filename>configure</filename> script checks the
     
    6683   --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    6784   --disable-sanity-checks --enable-kernel=2.6.32 \
    68    --with-headers=/tools/include --enable-obsolete-rpc \
    69    --cache-file=config.cache \
     85   --with-headers=/tools/include --cache-file=config.cache \
    7086   --with-binutils=/cross-tools/${CLFS_TARGET}/bin</userinput></screen>
    7187
  • BOOK/cross-tools/alpha/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <para os="g1">ALPHA is not supported in the main EGLIBC tree, so
     30    we need the eglibc-ports tarball. Unpack <filename>eglibc-ports-&eglibc-version;-r&eglibc-revision;</filename>:</para>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     33    href="../../final-system/mips/eglibc.xml"
     34    xpointer="xpointer(//*[@os='g2'])"/>
     35
     36    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     37    href="../common/eglibc.xml"
     38    xpointer="xpointer(//*[@os='db'])"/>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     41    href="../common/eglibc.xml"
     42    xpointer="xpointer(//*[@os='dc'])"/>
    2843
    2944    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8398    xpointer="xpointer(//*[@os='dn'])"/>
    8499
     100    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     101    href="../../final-system/common/eglibc.xml"
     102    xpointer="xpointer(//*[@os='ra'])"/>
     103
     104    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     105    href="../common/eglibc.xml"
     106    xpointer="xpointer(//*[@os='rb'])"/>
     107
    85108  </sect2>
    86109
  • BOOK/cross-tools/alpha/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=alpha headers_check
    35 make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=alpha INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=alpha INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/common/binutils-32.xml

    r111b12a r76b06f6  
    3737    xpointer="xpointer(//*[@os='p2'])"/>
    3838-->
    39     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    40     href="../common/binutils.xml"
    41     xpointer="xpointer(//*[@os='s1'])"/>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    44     href="../common/binutils.xml"
    45     xpointer="xpointer(//*[@os='s2'])"/>
    4639
    4740    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/common/binutils.xml

    r111b12a r76b06f6  
    3737    xpointer="xpointer(//*[@os='p2'])"/>
    3838-->
    39     <para os="s1">Apply the following sed for hosts using Texinfo-5.x:</para>
    40 
    41 <screen os="s2"><userinput>sed -i -e 's/@colophon/@@colophon/' \
    42        -e 's/doc@cygnus.com/doc@@cygnus.com/' bfd/doc/bfd.texinfo</userinput></screen>
    4339
    4440    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/common/cloog.xml

    r111b12a r76b06f6  
    2323    <title>Installation of CLooG</title>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../temp-system/common/cloog.xml"
     27    xpointer="xpointer(//*[@os='s1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../temp-system/common/cloog.xml"
     31    xpointer="xpointer(//*[@os='s2'])"/>
     32
    2533    <para os="a">Prepare CLooG for compilation:</para>
    2634
    2735<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    2836    ./configure --prefix=/cross-tools --enable-shared --disable-static \
    29     --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools</userinput></screen>
     37    --with-gmp-prefix=/cross-tools</userinput></screen>
    3038
    3139    <para os="c">Compile the package:</para>
  • 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>
  • BOOK/cross-tools/common/file.xml

    r111b12a r76b06f6  
    66]>
    77
    8 <sect1 id="ch-cross-tools-file" role="wrap">
     8<sect1 id="ch-cross-tools-file">
    99  <?dbhtml filename="file.html"?>
    1010
  • BOOK/cross-tools/common/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4949    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5050    href="gcc-static.xml"
     51    xpointer="xpointer(//*[@os='ai'])"/>
     52
     53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     54    href="gcc-static.xml"
     55    xpointer="xpointer(//*[@os='aj'])"/>
     56
     57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     58    href="gcc-static.xml"
    5159    xpointer="xpointer(//*[@os='f'])"/>
    5260
     
    6270  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    6371  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    64   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    65   --with-native-system-header-dir=/tools/include --disable-nls \
     72  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    6673  --enable-shared --disable-static --enable-languages=c,c++ \
    67   --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
    68   --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \
    69   --with-gmp=/cross-tools --with-cloog=/cross-tools \
    70   --enable-cloog-backend=isl --with-isl=/cross-tools \
    71   --disable-isl-version-check --with-system-zlib --enable-checking=release \
    72   --enable-libstdcxx-time</userinput></screen>
     74  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     75  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
     76  --enable-cloog-backend=isl --enable-long-long --enable-threads=posix \
     77  --disable-multilib</userinput></screen>
    7378
    7479    <variablelist os="bg">
  • BOOK/cross-tools/common/gcc-static.xml

    r111b12a r76b06f6  
    2424    and no Threads</title>
    2525
    26     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
    28     xpointer="xpointer(//*[@os='p1'])"/>
     26    <para os="p1">The following patch contains a number of updates to the
     27    &gcc-version; branch by the GCC developers:</para>
    2928
    30     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
    32     xpointer="xpointer(//*[@os='p2'])"/>
     29    <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>
    3330
    3431    <para os="aa">Make a couple of essential adjustments to the
     
    3835<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
    3936
    40     <para os="ag">Change the StartFile Spec so that GCC looks in
    41 <filename class="directory">/tools</filename>:</para>
     37    <para os="ag">Change the StartFile Spec and Standard Include Dir so that
     38    GCC looks in <filename class="directory">/tools</filename>:</para>
    4239
    43 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
     40<screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/linux.h
     41echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
    4442echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen>
     43
     44    <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
     45    include search path to use <filename class="directory">/tools</filename> only:</para>
     46
     47<screen os="aj"><userinput>cp -v gcc/Makefile.in{,.orig}
     48sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
     49    gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
    4550
    4651    <para os="t1">We will create a dummy <filename>limits.h</filename> so
     
    6469  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    6570  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    66   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    67   --with-native-system-header-dir=/tools/include --disable-nls \
     71  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    6872  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    69   --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \
    70   --without-headers --with-newlib --disable-decimal-float --disable-libgomp \
    71   --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \
    72   --disable-libatomic --disable-libitm --disable-libsanitizer \
    73   --disable-libquadmath --disable-target-libiberty --disable-target-zlib \
    74   --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \
    75   --enable-languages=c --enable-checking=release</userinput></screen>
     73  --with-ppl=/cross-tools --with-cloog=/cross-tools --without-headers \
     74  --with-newlib --disable-decimal-float --disable-libgomp \
     75  --disable-libmudflap --disable-libssp --disable-threads \
     76  --enable-languages=c --disable-multilib --enable-cloog-backend=isl</userinput></screen>
    7677
    7778    <variablelist os="am">
     
    9697      </varlistentry>
    9798
    98 
    99       <varlistentry>
    100         <term><parameter>--with-native-system-headers-dir=/tools/include</parameter></term>
    101         <listitem>
    102           <para>This switch ensures that GCC will search for the system headers
    103            in <filename class="directory">/tools/include</filename> and that
    104            host system headers will not be searched.</para>
    105         </listitem>
    106       </varlistentry>
    107 
    10899      <varlistentry>
    109100        <term><parameter>--disable-nls</parameter></term>
    110101        <listitem>
    111           <para>This disables internationalization as i18n is not needed for the
     102          <para>This disables internationalization as i18n is not needed for the 
    112103          cross-compile tools.</para>
    113104        </listitem>
     
    167158
    168159      <varlistentry>
    169         <term><parameter>--disable-libatomic</parameter></term>
    170         <listitem>
    171           <para>The atomic library isn't needed at this time.</para>
    172         </listitem>
    173       </varlistentry>
    174 
    175       <varlistentry>
    176         <term><parameter>--disable-libitm</parameter></term>
    177         <listitem>
    178           <para>The itm library isn't neeeded at this tiem.</para>
    179         </listitem>
    180       </varlistentry>
    181 
    182       <varlistentry>
    183         <term><parameter>--disable-libsanitizer</parameter></term>
    184         <listitem>
    185           <para>The sanitizer library isn't needed at this time.</para>
    186         </listitem>
    187       </varlistentry>
    188 
    189       <varlistentry>
    190         <term><parameter>--disable-libquadmath</parameter></term>
    191         <listitem>
    192           <para>The quadmath library isn't needed at this time.</para>
    193         </listitem>
    194       </varlistentry>
    195 
    196       <varlistentry>
    197160        <term><parameter>--enable-languages=c</parameter></term>
    198161        <listitem>
    199162          <para>This option ensures that only the C compiler is built.</para>
    200         </listitem>
    201       </varlistentry>
    202 
    203       <varlistentry>
    204         <term><parameter>--enable-checking=release</parameter></term>
    205         <listitem>
    206           <para>This option selects the complexity of the internal consistency checks and adds error checking within the compiler.</para>
    207163        </listitem>
    208164      </varlistentry>
  • BOOK/cross-tools/common/gmp.xml

    r111b12a r76b06f6  
    3535    <para os="a">Prepare GMP for compilation:</para>
    3636
    37 <screen os="b"><userinput>./configure --prefix=/cross-tools --enable-cxx \
    38   --disable-static</userinput></screen>
     37<screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
     38    --prefix=/cross-tools --enable-cxx --disable-static</userinput></screen>
    3939
    4040    <variablelist os="b1">
    4141      <title>The meaning of the new configure options:</title>
     42
     43      <varlistentry>
     44        <term><parameter>CPPFLAGS=-fexceptions</parameter></term>
     45        <listitem>
     46          <para>Allows GMP to handle C++ exceptions thrown by PPL.</para>
     47        </listitem>
     48      </varlistentry>
    4249
    4350      <varlistentry>
  • BOOK/cross-tools/common/m4.xml

    r111b12a r76b06f6  
    2323    <title>Installation of M4</title>
    2424
     25
     26    <para os="p1">The following patch contains a fix when building
     27    with a host having Glibc or EGLIBC 2.16 or later.</para>
     28
     29    <screen os="p2"><userinput>patch -Np1 -i ../&m4-gets-patch;</userinput></screen>
     30
    2531    <para os="a">Prepare M4 for compilation:</para>
    2632
  • BOOK/cross-tools/mips-chapter.xml

    r111b12a r76b06f6  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/variables.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1817  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
  • BOOK/cross-tools/mips/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/mips/eglibc.xml"
     31    xpointer="xpointer(//*[@os='g1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/mips/eglibc.xml"
     35    xpointer="xpointer(//*[@os='g2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8399    xpointer="xpointer(//*[@os='dn'])"/>
    84100
     101    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     102    href="../../final-system/common/eglibc.xml"
     103    xpointer="xpointer(//*[@os='ra'])"/>
     104
     105    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     106    href="../common/eglibc.xml"
     107    xpointer="xpointer(//*[@os='rb'])"/>
     108
    85109  </sect2>
    86110
  • BOOK/cross-tools/mips/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    28 
     28   
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4141    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4242    href="gcc-static.xml"
     43    xpointer="xpointer(//*[@os='f1'])"/>
     44   
     45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     46    href="gcc-static.xml"
     47    xpointer="xpointer(//*[@os='f2'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
    4351    xpointer="xpointer(//*[@os='ag'])"/>
    4452
     
    4654    href="gcc-static.xml"
    4755    xpointer="xpointer(//*[@os='ah'])"/>
     56
     57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     58    href="gcc-static.xml"
     59    xpointer="xpointer(//*[@os='ai'])"/>
     60
     61    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     62    href="gcc-static.xml"
     63    xpointer="xpointer(//*[@os='aj'])"/>
    4864
    4965    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../64/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4040    xpointer="xpointer(//*[@os='ab'])"/>
    4141
     42    <para os="f1">The following patch fixes and issue that causes GCC
     43    to segfault when compilling for Mips.</para>
     44
     45    <screen os="f2"><userinput>patch -Np1 -i ../&gcc-mips-fix-patch;</userinput></screen>
     46
    4247    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4348    href="../common/gcc-static.xml"
     
    4752    href="../common/gcc-static.xml"
    4853    xpointer="xpointer(//*[@os='ah'])"/>
     54
     55    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     56    href="../common/gcc-static.xml"
     57    xpointer="xpointer(//*[@os='ai'])"/>
     58
     59    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     60    href="../common/gcc-static.xml"
     61    xpointer="xpointer(//*[@os='aj'])"/>
    4962
    5063    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=mips headers_check
    35 make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=mips INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=mips INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=mips INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/mips64-64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/>
  • BOOK/cross-tools/mips64-64/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../mips/eglibc.xml"
     31    xpointer="xpointer(//*[@os='g1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../mips/eglibc.xml"
     35    xpointer="xpointer(//*[@os='g2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    92108
    93109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    94     href="../x86_64-64/eglibc.xml"
    95     xpointer="xpointer(//*[@os='do'])"/>
     110    href="../../final-system/common/eglibc.xml"
     111    xpointer="xpointer(//*[@os='ra'])"/>
    96112
    97113    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    98     href="../x86_64-64/eglibc.xml"
    99     xpointer="xpointer(//*[@os='dp'])"/>
     114    href="../common/eglibc.xml"
     115    xpointer="xpointer(//*[@os='rb'])"/>
    100116
    101117  </sect2>
  • BOOK/cross-tools/mips64-64/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    28 
     28   
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4141    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4242    href="gcc-static.xml"
     43    xpointer="xpointer(//*[@os='f1'])"/>
     44   
     45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     46    href="gcc-static.xml"
     47    xpointer="xpointer(//*[@os='f2'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
    4351    xpointer="xpointer(//*[@os='ag'])"/>
    4452
     
    4654    href="gcc-static.xml"
    4755    xpointer="xpointer(//*[@os='ah'])"/>
     56
     57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     58    href="gcc-static.xml"
     59    xpointer="xpointer(//*[@os='ai'])"/>
     60
     61    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     62    href="gcc-static.xml"
     63    xpointer="xpointer(//*[@os='aj'])"/>
    4864
    4965    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6278  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    6379  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    64   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    65   --with-native-system-header-dir=/tools/include --disable-nls \
    66   --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    67   --with-isl=/cross-tools --with-cloog=/cross-tools --with-mpc=/cross-tools \
    68   --without-headers --with-newlib --disable-decimal-float --disable-libgomp \
    69   --disable-libmudflap --disable-libssp --disable-threads --disable-multilib \
    70   --disable-libatomic --disable-libitm --disable-libsanitizer \
    71   --disable-libquadmath --disable-target-libiberty --disable-target-zlib \
    72   --with-system-zlib --enable-cloog-backend=isl --disable-isl-version-check \
    73   --enable-languages=c --enable-checking=release --with-abi=64
    74   </userinput></screen>
     80  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     81  --enable-shared --disable-static --enable-languages=c,c++ \
     82  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     83  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
     84  --enable-long-long --enable-threads=posix --with-abi=64\
     85  --disable-multilib --enable-cloog-backend=isl</userinput></screen>
    7586
    7687    <variablelist os="bg">
  • BOOK/cross-tools/mips64-64/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../64/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4141
    4242    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     43    href="../mips/gcc-static.xml"
     44    xpointer="xpointer(//*[@os='f1'])"/>
     45   
     46    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     47    href="../mips/gcc-static.xml"
     48    xpointer="xpointer(//*[@os='f2'])"/>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4351    href="../common/gcc-static.xml"
    4452    xpointer="xpointer(//*[@os='ag'])"/>
     
    4755    href="../common/gcc-static.xml"
    4856    xpointer="xpointer(//*[@os='ah'])"/>
     57
     58    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     59    href="../common/gcc-static.xml"
     60    xpointer="xpointer(//*[@os='ai'])"/>
     61
     62    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     63    href="../common/gcc-static.xml"
     64    xpointer="xpointer(//*[@os='aj'])"/>
    4965
    5066    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7187  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7288  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    73   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    74   --with-native-system-header-dir=/tools/include --disable-nls \
    75   --enable-shared --disable-static --enable-languages=c,c++ \
    76   --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix \
    77   --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools \
    78   --with-gmp=/cross-tools --with-cloog=/cross-tools --enable-cloog-backend=isl \
    79   --with-isl=/cross-tools --disable-isl-version-check --with-system-zlib \
    80   --enable-checking=release --enable-libstdcxx-time --with-abi=64</userinput></screen>
     89  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     90  --disable-shared --with-mpfr=/cross-tools \
     91  --with-gmp=/cross-tools --with-ppl=/cross-tools --with-cloog=/cross-tools \
     92  --without-headers --with-newlib --disable-decimal-float \
     93  --disable-libgomp --disable-libmudflap --disable-libssp \
     94  --disable-threads --enable-languages=c --with-abi=64\
     95  --disable-multilib --enable-cloog-backend=isl</userinput></screen>
    8196
    8297    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/>
  • BOOK/cross-tools/mips64/eglibc-64bit.xml

    r111b12a r76b06f6  
    2626    href="eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="eglibc.xml"
     31    xpointer="xpointer(//*[@os='g1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="eglibc.xml"
     35    xpointer="xpointer(//*[@os='g2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    99115    xpointer="xpointer(//*[@os='dn'])"/>
    100116
     117    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     118    href="../../final-system/common/eglibc.xml"
     119    xpointer="xpointer(//*[@os='ra'])"/>
     120
     121    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     122    href="../common/eglibc.xml"
     123    xpointer="xpointer(//*[@os='rb'])"/>
     124
    101125  </sect2>
    102126
  • BOOK/cross-tools/mips64/eglibc-n32.xml

    r111b12a r76b06f6  
    2626    href="eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="eglibc.xml"
     31    xpointer="xpointer(//*[@os='g1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="eglibc.xml"
     35    xpointer="xpointer(//*[@os='g2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    6682    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    6783    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    68     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     84    --cache-file=config.cache</userinput></screen>
    6985
    7086    <variablelist os="fa">
  • BOOK/cross-tools/mips64/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../mips/eglibc.xml"
     31    xpointer="xpointer(//*[@os='g1'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../mips/eglibc.xml"
     35    xpointer="xpointer(//*[@os='g2'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips64/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4141    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4242    href="gcc-static.xml"
     43    xpointer="xpointer(//*[@os='f1'])"/>
     44   
     45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     46    href="gcc-static.xml"
     47    xpointer="xpointer(//*[@os='f2'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
    4351    xpointer="xpointer(//*[@os='ag'])"/>
    4452
     
    4654    href="gcc-static.xml"
    4755    xpointer="xpointer(//*[@os='ah'])"/>
     56
     57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     58    href="gcc-static.xml"
     59    xpointer="xpointer(//*[@os='ai'])"/>
     60
     61    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     62    href="gcc-static.xml"
     63    xpointer="xpointer(//*[@os='aj'])"/>
    4864
    4965    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/mips64/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../common/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4141
    4242    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     43    href="../mips/gcc-static.xml"
     44    xpointer="xpointer(//*[@os='f1'])"/>
     45   
     46    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     47    href="../mips/gcc-static.xml"
     48    xpointer="xpointer(//*[@os='f2'])"/>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4351    href="../common/gcc-static.xml"
    4452    xpointer="xpointer(//*[@os='ag'])"/>
     
    4755    href="../ppc/gcc-static.xml"
    4856    xpointer="xpointer(//*[@os='ah'])"/>
     57
     58    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     59    href="../common/gcc-static.xml"
     60    xpointer="xpointer(//*[@os='ai'])"/>
     61
     62    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     63    href="../common/gcc-static.xml"
     64    xpointer="xpointer(//*[@os='aj'])"/>
    4965
    5066    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/multilib/binutils.xml

    r111b12a r76b06f6  
    3636    xpointer="xpointer(//*[@os='p2'])"/>
    3737-->
    38     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    39     href="../common/binutils.xml"
    40     xpointer="xpointer(//*[@os='s1'])"/>
    41 
    42     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    43     href="../common/binutils.xml"
    44     xpointer="xpointer(//*[@os='s2'])"/>
    4538
    4639    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/multilib/eglibc-64bit.xml

    r111b12a r76b06f6  
    2626    href="eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
    2836
    2937    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5866    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5967    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    60     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     68    --cache-file=config.cache</userinput></screen>
    6169
    6270    <variablelist os="dg">
     
    108116    xpointer="xpointer(//*[@os='dn'])"/>
    109117
     118    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     119    href="../../final-system/common/eglibc.xml"
     120    xpointer="xpointer(//*[@os='ra'])"/>
     121
     122    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     123    href="../common/eglibc.xml"
     124    xpointer="xpointer(//*[@os='rb'])"/>
     125
    110126  </sect2>
    111127
  • BOOK/cross-tools/multilib/eglibc.xml

    r111b12a r76b06f6  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
    3139    xpointer="xpointer(//*[@os='e'])"/>
    3240
     
    5361    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5462    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    55     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     63    --cache-file=config.cache</userinput></screen>
    5664
    5765    <variablelist os="dg">
  • BOOK/cross-tools/multilib/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4949    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5050    href="gcc-static.xml"
     51    xpointer="xpointer(//*[@os='ai'])"/>
     52
     53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     54    href="gcc-static.xml"
     55    xpointer="xpointer(//*[@os='aj'])"/>
     56
     57    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     58    href="gcc-static.xml"
    5159    xpointer="xpointer(//*[@os='f'])"/>
    5260
     
    6270  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    6371  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    64   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    65   --with-native-system-header-dir=/tools/include \
    66   --disable-nls --enable-shared --disable-static \
    67   --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 \
    68   --enable-long-long --enable-threads=posix --with-mpc=/cross-tools \
    69   --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-cloog=/cross-tools \
    70   --enable-cloog-backend=isl --with-isl=/cross-tools \
    71   --disable-isl-version-check --with-system-zlib --enable-checking=release \
    72   --enable-libstdcxx-time</userinput></screen>
     72  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     73  --enable-shared --disable-static --enable-languages=c,c++ \
     74  --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     75  --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools \
     76  --enable-long-long --enable-threads=posix --enable-cloog-backend=isl</userinput></screen>
    7377
    7478    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/multilib/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../common/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4747    href="../common/gcc-static.xml"
    4848    xpointer="xpointer(//*[@os='ah'])"/>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     51    href="../common/gcc-static.xml"
     52    xpointer="xpointer(//*[@os='ai'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     55    href="../common/gcc-static.xml"
     56    xpointer="xpointer(//*[@os='aj'])"/>
    4957
    5058    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    7179  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7280  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    73   --with-sysroot=${CLFS} --with-local-prefix=/tools \
    74   --with-native-system-header-dir=/tools/include --disable-nls \
    75   --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    76   --with-cloog=/cross-tools --with-mpc=/cross-tools --without-headers \
    77   --with-newlib --disable-decimal-float --disable-libgomp --disable-libmudflap \
    78   --disable-libssp --disable-threads --disable-libatomic --disable-libitm \
    79   --disable-libsanitizer --disable-libquadmath --disable-target-libiberty \
    80   --disable-target-zlib --with-system-zlib --enable-cloog-backend=isl \
    81   --with-isl=/cross-tools --disable-isl-version-check --enable-languages=c \
    82   --enable-checking=release</userinput></screen>
     81  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     82  --disable-shared --with-mpfr=/cross-tools \
     83  --with-gmp=/cross-tools --with-ppl=/cross-tools --with-cloog=/cross-tools \
     84  --without-headers --with-newlib --disable-decimal-float \
     85  --disable-libgomp --disable-libmudflap --disable-libssp \
     86  --disable-threads --enable-languages=c --enable-cloog-backend=isl</userinput></screen>
    8387
    8488    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/ppc-chapter.xml

    r111b12a r76b06f6  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/variables.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1817  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
  • BOOK/cross-tools/ppc/eglibc.xml

    r111b12a r76b06f6  
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/ppc/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p5'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/ppc/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p6'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
     44
     45    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3046    href="../common/eglibc.xml"
    3147    xpointer="xpointer(//*[@os='e'])"/>
     
    3955    xpointer="xpointer(//*[@os='dd'])"/>
    4056
    41 <screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
     57<screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
     58libc_cv_forced_unwind=yes
     59libc_cv_c_cleanup=yes
     60libc_cv_ppc_machine=yes
     61libc_cv_gnu89_inline=yes
     62libc_cv_ssp=no
     63EOF</userinput></screen>
    4264
    4365    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    81103    xpointer="xpointer(//*[@os='dn'])"/>
    82104
     105    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     106    href="../../final-system/common/eglibc.xml"
     107    xpointer="xpointer(//*[@os='ra'])"/>
     108
     109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     110    href="../common/eglibc.xml"
     111    xpointer="xpointer(//*[@os='rb'])"/>
     112
    83113  </sect2>
    84114
  • BOOK/cross-tools/ppc/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4646    href="gcc-static.xml"
    4747    xpointer="xpointer(//*[@os='ah'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
     51    xpointer="xpointer(//*[@os='ai'])"/>
     52
     53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     54    href="gcc-static.xml"
     55    xpointer="xpointer(//*[@os='aj'])"/>
    4856
    4957    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/ppc/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../common/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4444    xpointer="xpointer(//*[@os='ag'])"/>
    4545
    46 <screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h
     46<screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/rs6000/sysv4.h
     47echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/rs6000/sysv4.h
    4748echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/rs6000/sysv4.h</userinput></screen>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     51    href="../common/gcc-static.xml"
     52    xpointer="xpointer(//*[@os='ai'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     55    href="../common/gcc-static.xml"
     56    xpointer="xpointer(//*[@os='aj'])"/>
    4857
    4958    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/ppc/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=powerpc headers_check
    35 make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/ppc64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/>
  • BOOK/cross-tools/ppc64/eglibc-64bit.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/ppc/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p5'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/ppc/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p6'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    91107    xpointer="xpointer(//*[@os='dn'])"/>
    92108
     109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     110    href="../../final-system/common/eglibc.xml"
     111    xpointer="xpointer(//*[@os='ra'])"/>
     112
     113    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     114    href="../common/eglibc.xml"
     115    xpointer="xpointer(//*[@os='rb'])"/>
     116
    93117  </sect2>
    94118
  • BOOK/cross-tools/ppc64/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/ppc/eglibc.xml"
     31    xpointer="xpointer(//*[@os='p5'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/ppc/eglibc.xml"
     35    xpointer="xpointer(//*[@os='p6'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
     39    xpointer="xpointer(//*[@os='db'])"/>
     40
     41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     42    href="../common/eglibc.xml"
     43    xpointer="xpointer(//*[@os='dc'])"/>
    2844
    2945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/ppc64/gcc-final.xml

    r111b12a r76b06f6  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="../../final-system/common/gcc.xml"
     26    href="gcc-static.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../../final-system/common/gcc.xml"
     30    href="gcc-static.xml"
    3131    xpointer="xpointer(//*[@os='p2'])"/>
    3232
     
    4646    href="gcc-static.xml"
    4747    xpointer="xpointer(//*[@os='ah'])"/>
     48
     49    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     50    href="gcc-static.xml"
     51    xpointer="xpointer(//*[@os='ai'])"/>
     52
     53    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     54    href="gcc-static.xml"
     55    xpointer="xpointer(//*[@os='aj'])"/>
    4856
    4957    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/ppc64/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
     27    href="../common/gcc-static.xml"
    2828    xpointer="xpointer(//*[@os='p1'])"/>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
     31    href="../common/gcc-static.xml"
    3232    xpointer="xpointer(//*[@os='p2'])"/>
    3333
     
    4747    href="../ppc/gcc-static.xml"
    4848    xpointer="xpointer(//*[@os='ah'])"/>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     51    href="../common/gcc-static.xml"
     52    xpointer="xpointer(//*[@os='ai'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     55    href="../common/gcc-static.xml"
     56    xpointer="xpointer(//*[@os='aj'])"/>
    4957
    5058    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/sparc-chapter.xml

    r111b12a r76b06f6  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/variables.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1817  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/linux-headers.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
  • BOOK/cross-tools/sparc/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=sparc headers_check
    35 make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=sparc INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=sparc INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=sparc INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/sparc64-64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/>
  • BOOK/cross-tools/sparc64-64/eglibc.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
    2836
    2937    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    8391    xpointer="xpointer(//*[@os='dn'])"/>
    8492
     93    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     94    href="../../final-system/common/eglibc.xml"
     95    xpointer="xpointer(//*[@os='ra'])"/>
     96
     97    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     98    href="../common/eglibc.xml"
     99    xpointer="xpointer(//*[@os='rb'])"/>
     100
    85101    <para os="do">The stubs.h header installed by eglibc looks for stubs-32.h
    86102    and stubs-64.h. This configuration of eglibc only generates stubs-64.h. Fix
  • BOOK/cross-tools/sparc64-64/gcc-static.xml

    r111b12a r76b06f6  
    2525
    2626    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    27     href="../../final-system/common/gcc.xml"
    28     xpointer="xpointer(//*[@os='p1'])"/>
    29 
    30     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    31     href="../../final-system/common/gcc.xml"
    32     xpointer="xpointer(//*[@os='p2'])"/>
    33 
    34     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3527    href="../common/gcc-static.xml"
    3628    xpointer="xpointer(//*[@os='aa'])"/>
     
    4335    href="../common/gcc-static.xml"
    4436    xpointer="xpointer(//*[@os='ag'])"/>
     37
     38    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     39    href="../common/gcc-static.xml"
     40    xpointer="xpointer(//*[@os='ai'])"/>
     41
     42    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     43    href="../common/gcc-static.xml"
     44    xpointer="xpointer(//*[@os='aj'])"/>
    4545
    4646    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/cross-tools/sparc64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/>
  • BOOK/cross-tools/sparc64/eglibc-64bit.xml

    r111b12a r76b06f6  
    2626    href="../common/eglibc.xml"
    2727    xpointer="xpointer(//*[@os='da'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
    2836
    2937    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    95103    xpointer="xpointer(//*[@os='dn'])"/>
    96104
     105    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     106    href="../../final-system/common/eglibc.xml"
     107    xpointer="xpointer(//*[@os='ra'])"/>
     108
     109    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     110    href="../common/eglibc.xml"
     111    xpointer="xpointer(//*[@os='rb'])"/>
     112
    97113  </sect2>
    98114
  • BOOK/cross-tools/sparc64/eglibc.xml

    r111b12a r76b06f6  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
    3139    xpointer="xpointer(//*[@os='e'])"/>
    3240
     
    5361    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5462    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    55     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     63    --cache-file=config.cache</userinput></screen>
    5664
    5765    <variablelist os="dg">
  • BOOK/cross-tools/sparc64/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=sparc64 headers_check
    35 make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=sparc64 INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=sparc64 INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/x86-chapter.xml

    r111b12a r76b06f6  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cflags.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/variables.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1817  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/linux-headers.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2322  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    25   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     24  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2625  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils-32.xml"/>
  • BOOK/cross-tools/x86/eglibc.xml

    r111b12a r76b06f6  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
    3139    xpointer="xpointer(//*[@os='e'])"/>
    3240
     
    4957<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
    5058    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    51     CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET) -O2" \
     59    CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET) -mtune=generic -g -O2" \
    5260    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5361    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    5462    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5563    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    56     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     64    --cache-file=config.cache</userinput></screen>
    5765
    5866    <variablelist os="dg">
     
    7785      <varlistentry os="ea2">
    7886        <term><parameter>CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt;
    79         $CLFS_TARGET)" -O2</parameter></term>
     87        $CLFS_TARGET) -mtune=generic -g -O2"</parameter></term>
    8088        <listitem>
    8189          <para>Forces EGLIBC to optimize for our target system.</para>
     
    141149    xpointer="xpointer(//*[@os='dn'])"/>
    142150
     151    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     152    href="../common/eglibc.xml"
     153    xpointer="xpointer(//*[@os='do'])"/>
     154
     155    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     156    href="../../final-system/common/eglibc.xml"
     157    xpointer="xpointer(//*[@os='ra'])"/>
     158
     159    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     160    href="../common/eglibc.xml"
     161    xpointer="xpointer(//*[@os='rb'])"/>
     162
    143163  </sect2>
    144164
  • BOOK/cross-tools/x86/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=i386 headers_check
    35 make ARCH=i386 INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=i386 INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=i386 INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=i386 INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
  • BOOK/cross-tools/x86_64-64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/variables.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/binutils.xml"/>
    2928  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc-static.xml"/>
    30   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eglibc.xml"/>
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/eglibc.xml"/>
    3130  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/gcc-final.xml"/>
    3231
  • BOOK/cross-tools/x86_64-chapter.xml

    r111b12a r76b06f6  
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
    1918  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/linux-headers.xml"/>
    2019  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/file.xml"/>
     
    2423  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpfr.xml"/>
    2524  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/mpc.xml"/>
    26   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/isl.xml"/>
     25  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/ppl.xml"/>
    2726  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/cloog.xml"/>
    2827  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/binutils.xml"/>
  • BOOK/cross-tools/x86_64/eglibc.xml

    r111b12a r76b06f6  
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='db'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='dc'])"/>
     36
     37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     38    href="../common/eglibc.xml"
    3139    xpointer="xpointer(//*[@os='e'])"/>
    3240
     
    4957<screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \
    5058    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
    51     CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET32) -O2" \
     59    CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt; $CLFS_TARGET32) -mtune=generic -g -O2" \
    5260    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5361    --host=${CLFS_TARGET32} --build=${CLFS_HOST} \
    5462    --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \
    5563    --with-binutils=/cross-tools/bin --with-headers=/tools/include \
    56     --enable-obsolete-rpc --cache-file=config.cache</userinput></screen>
     64    --cache-file=config.cache</userinput></screen>
    5765
    5866    <variablelist os="dg">
     
    7785     <varlistentry os="ea2">
    7886        <term><parameter>CFLAGS="-march=$(cut -d- -f1 &lt;&lt;&lt;
    79         $CLFS_TARGET32) -O2"</parameter></term>
     87        $CLFS_TARGET32) -mtune=generic -g -O2"</parameter></term>
    8088        <listitem>
    8189          <para>Forces EGLIBC to optimize for our target system.</para>
  • BOOK/cross-tools/x86_64/linux-headers.xml

    r111b12a r76b06f6  
    3131    xpointer="xpointer(//*[@os='b'])"/>
    3232
    33 <screen os="c"><userinput>make mrproper
     33<screen os="c"><userinput>install -dv /tools/include
     34make mrproper
    3435make ARCH=x86_64 headers_check
    35 make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen>
     36make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install
     37cp -rv dest/include/* /tools/include</userinput></screen>
    3638
    3739    <variablelist os="d">
     
    5153
    5254      <varlistentry os="d3">
    53         <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</parameter></term>
     55        <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install</parameter></term>
    5456        <listitem>
    55           <para>This will install the kernel headers into
    56           <filename class="directory">/tools/include</filename>.</para>
     57          <para>Normally the headers_install target removes the entire
     58          destination directory (default
     59          <filename class="directory">/usr/include</filename>) before
     60          installing the headers. To prevent this, we tell the kernel to
     61          install the headers to a directory inside the source dir.</para>
    5762        </listitem>
    5863      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.