Changeset 8a77fbd in clfs-embedded


Ignore:
Timestamp:
Oct 14, 2013, 3:07:12 PM (11 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
2b9574b
Parents:
90309a2
git-author:
Andrew Bradford <andrew@…> (10/09/13 17:53:47)
git-committer:
Andrew Bradford <andrew@…> (10/14/13 15:07:12)
Message:

gcc-static: Do mpfr, gmp, and mpc, too

Remove MPFR, GMP, and MPC steps. Place each into GCC static build
directory as that's an alternate method and reduces the number of steps.

Location:
BOOK/cross-tools
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/arm-chapter.xml

    r90309a2 r8a77fbd  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/variables.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
    2219  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    2320  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="arm/gcc-static.xml"/>
  • BOOK/cross-tools/arm/gcc-static.xml

    r90309a2 r8a77fbd  
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3131  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='b'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ba'])"/>
     37
     38  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     39  href="../common/gcc-static.xml"
    3240  xpointer="xpointer(//*[@os='c'])"/>
    3341
     
    4452  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    4553  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
    46   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    47   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
     54  --without-headers --with-newlib \
    4855  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4956  --disable-libssp --disable-threads --enable-languages=c \
  • BOOK/cross-tools/common/gcc-static.xml

    r90309a2 r8a77fbd  
    3030    and no Threads</title>
    3131
     32    <para os="b">GCC requires the GMP, MPFR, and MPC packages to either be
     33    present on the host or to be present in source form within the gcc source
     34    tree.  Unpack these into the GCC directory after unpacking GCC:</para>
     35
     36<screen os="ba"><userinput>tar xf ../mpfr-&mpfr-version;.tar.bz2
     37mv -v mpfr-&mpfr-version; mpfr
     38tar xf ../gmp-&gmp-version;.tar.bz2
     39mv -v gmp-&gmp-version; gmp
     40tar xf ../mpc-&mpc-version;.tar.gz
     41mv -v mpc-&mpc-version; mpc</userinput></screen>
     42
    3243    <para os="c">The GCC documentation recommends building GCC outside of the source
    3344    directory in a dedicated build directory:</para>
     
    4455  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    4556  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
    46   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    47   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
     57  --without-headers --with-newlib \
    4858  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4959  --disable-libssp --disable-threads --enable-languages=c \
     
    111121        <listitem>
    112122          <para>Disables the creation of the shared libraries.</para>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry os="af8">
    117         <term><parameter>--with-mpfr=${CLFS}/cross-tools</parameter></term>
    118         <listitem>
    119           <para>Tells configure where to find the
    120           <filename class="directory">lib</filename> and
    121           <filename class="directory">include</filename> directories
    122           that contain MPFR which was built earlier.</para>
    123         </listitem>
    124       </varlistentry>
    125 
    126       <varlistentry os="af9">
    127         <term><parameter>--with-gmp=${CLFS}/cross-tools</parameter></term>
    128         <listitem>
    129           <para>Tells configure where to find the
    130           <filename class="directory">lib</filename> and
    131           <filename class="directory">include</filename> directories
    132           that contain GMP which was built earlier.</para>
    133         </listitem>
    134       </varlistentry>
    135 
    136       <varlistentry os="af10">
    137         <term><parameter>--with-mpc=${CLFS}/cross-tools</parameter></term>
    138         <listitem>
    139           <para>Tells configure where to find the
    140           <filename class="directory">lib</filename> and
    141           <filename class="directory">include</filename> directories
    142           that contain MPC which was built earlier.</para>
    143123        </listitem>
    144124      </varlistentry>
  • BOOK/cross-tools/mips-chapter.xml

    r90309a2 r8a77fbd  
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/variables.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
    2219  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    2320  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/gcc-static.xml"/>
  • BOOK/cross-tools/mips/gcc-static.xml

    r90309a2 r8a77fbd  
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3131  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='b'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ba'])"/>
     37
     38  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     39  href="../common/gcc-static.xml"
    3240  xpointer="xpointer(//*[@os='c'])"/>
    3341
     
    4452  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    4553  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
    46   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    47   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
     54  --without-headers --with-newlib \
    4855  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4956  --disable-libssp --disable-threads --enable-languages=c \
  • BOOK/cross-tools/x86-chapter.xml

    r90309a2 r8a77fbd  
    1616  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/variables.xml"/>
    1717  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/linux-headers.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gmp.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpfr.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mpc.xml"/>
    2118  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/binutils.xml"/>
    2219  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/gcc-static.xml"/>
  • BOOK/cross-tools/x86/gcc-static.xml

    r90309a2 r8a77fbd  
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3131  href="../common/gcc-static.xml"
     32  xpointer="xpointer(//*[@os='b'])"/>
     33
     34  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     35  href="../common/gcc-static.xml"
     36  xpointer="xpointer(//*[@os='ba'])"/>
     37
     38  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     39  href="../common/gcc-static.xml"
    3240  xpointer="xpointer(//*[@os='c'])"/>
    3341
     
    4452  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    4553  --with-sysroot=${CLFS} --disable-nls  --disable-shared \
    46   --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \
    47   --with-mpc=${CLFS}/cross-tools --without-headers --with-newlib \
     54  --without-headers --with-newlib \
    4855  --disable-decimal-float --disable-libgomp --disable-libmudflap \
    4956  --disable-libssp --disable-threads --enable-languages=c \
Note: See TracChangeset for help on using the changeset viewer.