Ignore:
Timestamp:
Dec 18, 2013, 1:04:00 AM (11 years ago)
Author:
Chris Staub <chris@…>
Children:
f975b3a
Parents:
1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Updated simp branch to match main book

Location:
BOOK/cross-tools/common
Files:
2 added
1 deleted
11 edited
1 moved

Legend:

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

    r1c9985f r026bb5d  
    2828    enable.</para>
    2929
     30<!-- Branch update patch area
     31    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     32    href="../../final-system/common/binutils.xml"
     33    xpointer="xpointer(//*[@os='p1'])"/>
     34
     35    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36    href="../../final-system/common/binutils.xml"
     37    xpointer="xpointer(//*[@os='p2'])"/>
     38-->
    3039    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3140    href="../../final-system/common/binutils.xml"
     
    4049    xpointer="xpointer(//*[@os='i'])"/>
    4150
    42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     51<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    4352  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    44   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
    45   --disable-multilib</userinput></screen>
     53  --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
     54  --disable-static --disable-multilib</userinput></screen>
    4655
    4756    <variablelist os="bd">
    48       <title>The meaning of the configure options:</title>
     57      <title>The meaning of the new configure options:</title>
    4958
    5059      <varlistentry os="bd1">
    51         <term><parameter>--prefix=/cross-tools</parameter></term>
     60        <term><parameter>AR=ar AS=as</parameter></term>
    5261        <listitem>
    53           <para>This tells the configure script to prepare to install the
    54           package in the <filename class="directory">/cross-tools</filename>
    55           directory.</para>
     62          <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar
     63           and ${CLFS_HOST}-as as they are provided by this package and therefore
     64           not installed yet.</para>
    5665        </listitem>
    5766      </varlistentry>
     
    93102
    94103      <varlistentry os="bd6">
    95         <term><parameter>--enable-shared</parameter></term>
    96         <listitem>
    97           <para>Enable the creation of the shared libraries.</para>
    98         </listitem>
    99       </varlistentry>
    100 
    101       <varlistentry os="bd7">
    102104        <term><parameter>--disable-multilib</parameter></term>
    103105        <listitem>
     
    134136    <filename class="directory">/tools/include</filename> directory:</para>
    135137
    136 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>
     138<screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen>
    137139
    138140  </sect2>
  • BOOK/cross-tools/common/binutils.xml

    r1c9985f r026bb5d  
    2828    enable.</para>
    2929
     30<!-- Branch update patch area
     31    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     32    href="../../final-system/common/binutils.xml"
     33    xpointer="xpointer(//*[@os='p1'])"/>
     34
     35    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     36    href="../../final-system/common/binutils.xml"
     37    xpointer="xpointer(//*[@os='p2'])"/>
     38-->
    3039    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3140    href="../../final-system/common/binutils.xml"
     
    4049    xpointer="xpointer(//*[@os='i'])"/>
    4150
    42 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     51<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-dir;/configure \
    4352  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    44   --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
    45   --enable-64-bit-bfd --disable-multilib</userinput></screen>
     53  --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls \
     54  --disable-static --enable-64-bit-bfd --disable-multilib</userinput></screen>
    4655
    4756    <variablelist os="bd">
    48       <title>The meaning of the configure options:</title>
     57      <title>The meaning of the new configure options:</title>
    4958
    5059      <varlistentry os="bd1">
    51         <term><parameter>--prefix=/cross-tools</parameter></term>
     60        <term><parameter>AR=ar AS=as</parameter></term>
    5261        <listitem>
    53           <para>This tells the configure script to prepare to install the
    54           package in the <filename class="directory">/cross-tools</filename>
    55           directory.</para>
     62          <para>This prevents Binutils from compiling with ${CLFS_HOST}-ar
     63           and ${CLFS_HOST}-as as they are provided by this package and therefore
     64           not installed yet.</para>
    5665        </listitem>
    5766      </varlistentry>
     
    93102
    94103      <varlistentry os="bd6">
    95         <term><parameter>--enable-shared</parameter></term>
    96         <listitem>
    97           <para>Enable the creation of the shared libraries.</para>
    98         </listitem>
    99       </varlistentry>
    100 
    101       <varlistentry os="bd7">
    102104        <term><parameter>--disable-multilib</parameter></term>
    103105        <listitem>
     
    107109      </varlistentry>
    108110
    109       <varlistentry os="bd8">
     111      <varlistentry os="bd7">
    110112        <term><parameter>--enable-64-bit-bfd</parameter></term>
    111113        <listitem>
     
    141143    <filename class="directory">/tools/include</filename> directory:</para>
    142144
    143 <screen os="bk"><userinput>cp -v ../binutils-&binutils-version;/include/libiberty.h /tools/include</userinput></screen>
     145<screen os="bk"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /tools/include</userinput></screen>
    144146
    145147  </sect2>
  • BOOK/cross-tools/common/cloog.xml

    r1c9985f r026bb5d  
    66]>
    77
    8 <sect1 id="ch-cross-tools-ppl" role="wrap">
    9   <?dbhtml filename="ppl.html"?>
     8<sect1 id="ch-cross-tools-cloog" role="wrap">
     9  <?dbhtml filename="cloog.html"?>
    1010
    11   <title>PPL-&ppl-version;</title>
     11  <title>CLooG-&cloog-version;</title>
    1212
    13   <indexterm zone="ch-cross-tools-ppl">
    14     <primary sortas="a-PPL">PPL</primary>
     13  <indexterm zone="ch-cross-tools-cloog">
     14    <primary sortas="a-CLooG">CLooG</primary>
    1515    <secondary>cross-tools</secondary>
    1616  </indexterm>
    1717
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    19   href="../../final-system/common/ppl.xml"
     19  href="../../final-system/common/cloog.xml"
    2020  xpointer="xpointer(//*[@role='package'])"/>
    2121
    2222  <sect2 role="installation">
    23     <title>Installation of PPL</title>
     23    <title>Installation of CLooG</title>
    2424
    25     <para os="a">Prepare PPL for compilation:</para>
     25    <para os="a">Prepare CLooG for compilation:</para>
    2626
    27 <screen os="b"><userinput>CPPFLAGS="-I/cross-tools/include" \
    28     LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    29     ./configure --prefix=/cross-tools --enable-shared \
    30     --enable-interfaces="c,cxx" --disable-optimization \
    31     --with-libgmp-prefix=/cross-tools \
    32     --with-libgmpxx-prefix=/cross-tools</userinput></screen>
     27<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
     28    ./configure --prefix=/cross-tools --disable-static \
     29    --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools</userinput></screen>
    3330
    3431    <para os="c">Compile the package:</para>
     
    4643
    4744    <para>Details on this package are located in <xref
    48     linkend="contents-ppl" role="."/></para>
     45    linkend="contents-cloog" role="."/></para>
    4946
    5047  </sect2>
  • BOOK/cross-tools/common/eglibc.xml

    r1c9985f r026bb5d  
    2727    risk.</para>
    2828
    29     <para os="db">Disable linking to <filename>libgcc_eh</filename>:</para>
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/eglibc.xml"
     31    xpointer="xpointer(//*[@os='s1'])"/>
    3032
    31 <screen os="dc"><userinput>cp -v Makeconfig{,.orig}
    32 sed -e 's/-lgcc_eh//g' Makeconfig.orig > Makeconfig</userinput></screen>
     33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     34    href="../../final-system/common/eglibc.xml"
     35    xpointer="xpointer(//*[@os='s2'])"/>
    3336
    3437    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4043    xpointer="xpointer(//*[@os='f'])"/>
    4144
    42     <para os="dd">The following lines need to be added to
    43     <filename>config.cache</filename> for EGLIBC to support NPTL:</para>
     45    <para os="dd">Add the following to <filename>config.cache</filename>
     46    to disable ssp when building EGLIBC:</para>
    4447
    45 <screen os="de"><userinput>cat &gt; config.cache &lt;&lt; "EOF"
    46 libc_cv_forced_unwind=yes
    47 libc_cv_c_cleanup=yes
    48 libc_cv_gnu89_inline=yes
    49 libc_cv_ssp=no
    50 EOF</userinput></screen>
     48<screen os="de"><userinput>echo "libc_cv_ssp=no" &gt; config.cache</userinput></screen>
    5149
    5250    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5856    ../eglibc-&eglibc-version;/configure --prefix=/tools \
    5957    --host=${CLFS_TARGET} --build=${CLFS_HOST} \
    60     --disable-profile --enable-add-ons \
    61     --with-tls --enable-kernel=2.6.0 --with-__thread \
    62     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
     58    --disable-profile --with-tls --enable-kernel=2.6.32 \
     59    --with-__thread --with-binutils=/cross-tools/bin \
     60    --with-headers=/tools/include --enable-obsolete-rpc \
    6361    --cache-file=config.cache</userinput></screen>
    6462
     
    107105
    108106      <varlistentry os="dg6">
    109         <term><parameter>--enable-add-ons</parameter></term>
    110         <listitem>
    111           <para>This tells EGLIBC to utilize all add-ons that are
    112           available.</para>
    113         </listitem>
    114       </varlistentry>
    115 
    116       <varlistentry os="dg7">
    117107        <term><parameter>--with-tls</parameter></term>
    118108        <listitem>
     
    121111      </varlistentry>
    122112
    123       <varlistentry os="dg8">
    124         <term><parameter>--enable-kernel=2.6.0</parameter></term>
     113      <varlistentry os="dg7">
     114        <term><parameter>--enable-kernel=2.6.32</parameter></term>
    125115        <listitem>
    126116          <para>This tells EGLIBC to compile the library with support
    127           for 2.6.x Linux kernels.</para>
     117          for 2.6.32 and later Linux kernels.</para>
    128118        </listitem>
    129119      </varlistentry>
    130120
    131       <varlistentry os="dg9">
     121      <varlistentry os="dg8">
    132122        <term><parameter>--with-__thread</parameter></term>
    133123        <listitem>
     
    137127      </varlistentry>
    138128
    139       <varlistentry os="dg10">
     129      <varlistentry os="dg9">
    140130        <term><parameter>--with-binutils=/cross-tools/bin</parameter></term>
    141131        <listitem>
     
    145135      </varlistentry>
    146136
    147       <varlistentry os="dg11">
     137      <varlistentry os="dg10">
    148138        <term><parameter>--with-headers=/tools/include</parameter></term>
    149139        <listitem>
     
    155145      </varlistentry>
    156146
    157       <varlistentry os="dg12">
     147      <varlistentry os="dg11">
    158148        <term><parameter>--cache-file=config.cache</parameter></term>
    159149        <listitem>
  • BOOK/cross-tools/common/file.xml

    r1c9985f r026bb5d  
    66]>
    77
    8 <sect1 id="ch-cross-tools-file">
     8<sect1 id="ch-cross-tools-file" role="wrap">
    99  <?dbhtml filename="file.html"?>
    1010
     
    2525    <para>Prepare File for compilation:</para>
    2626
    27 <screen><userinput>./configure --prefix=/cross-tools</userinput></screen>
     27<screen><userinput>./configure --prefix=/cross-tools --disable-static</userinput></screen>
     28
     29    <variablelist>
     30      <title>The meaning of the configure options:</title>
     31
     32      <varlistentry>
     33        <term><parameter>--prefix=/cross-tools</parameter></term>
     34        <listitem>
     35          <para>This tells the configure script to prepare to install the
     36          package in the <filename class="directory">/cross-tools</filename>
     37          directory.</para>
     38        </listitem>
     39      </varlistentry>
     40
     41      <varlistentry>
     42        <term><parameter>--disable-static</parameter></term>
     43        <listitem>
     44          <para>This tells the File package not to compile or install static
     45          libraries, which are not needed for the Cross-Tools</para>
     46        </listitem>
     47      </varlistentry>
     48
     49    </variablelist>
    2850
    2951    <para>Compile the package:</para>
  • BOOK/cross-tools/common/gcc-final.xml

    r1c9985f r026bb5d  
    2424
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    26     href="gcc-static.xml"
     26    href="../../final-system/common/gcc.xml"
    2727    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="gcc-static.xml"
     30    href="../../final-system/common/gcc.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"
    5951    xpointer="xpointer(//*[@os='f'])"/>
    6052
     
    7062  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7163  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    72   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
    73   --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    74   --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
    75   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    76   --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen>
     64  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     65  --with-native-system-header-dir=/tools/include --disable-nls \
     66  --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>
    7773
    7874    <variablelist os="bg">
  • BOOK/cross-tools/common/gcc-static.xml

    r1c9985f r026bb5d  
    2424    and no Threads</title>
    2525
    26     <para os="p1">The following patch contains a number of updates to the
    27     &gcc-version; branch by the GCC developers:</para>
    28 
    29     <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>
     26    <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'])"/>
    3033
    3134    <para os="aa">Make a couple of essential adjustments to the
     
    3538<screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
    3639
    37     <para os="ag">Change the StartFile Spec and Standard Include Dir so that
    38     GCC looks in <filename class="directory">/tools</filename>:</para>
    39 
    40 <screen os="ah"><userinput>echo -en '#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR "/tools/include/"\n\n' >> gcc/config/linux.h
    41 echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
     40    <para os="ag">Change the StartFile Spec so that GCC looks in
     41<filename class="directory">/tools</filename>:</para>
     42
     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
    4244echo -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}
    48 sed -e "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \
    49     gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
    5045
    5146    <para os="t1">We will create a dummy <filename>limits.h</filename> so
     
    6964  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    7065  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    71   --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     66  --with-sysroot=${CLFS} --with-local-prefix=/tools \
     67  --with-native-system-header-dir=/tools/include --disable-nls \
    7268  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    73   --with-ppl=/cross-tools --with-cloog=/cross-tools \
    74   --without-headers --with-newlib --disable-decimal-float \
    75   --disable-libgomp --disable-libmudflap --disable-libssp \
    76   --disable-threads --enable-languages=c --disable-multilib</userinput></screen>
     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>
    7776
    7877    <variablelist os="am">
    79       <title>The meaning of the configure options:</title>
     78      <title>The meaning of the new configure options:</title>
     79
     80      <varlistentry>
     81        <term><parameter>--with-sysroot=${CLFS}</parameter></term>
     82        <listitem>
     83          <para>Tells GCC to consider ${CLFS} as the root file system.</para>
     84        </listitem>
     85      </varlistentry>
    8086
    8187     <varlistentry>
     
    9096      </varlistentry>
    9197
    92       <varlistentry>
    93         <term><parameter>--disable-shared</parameter></term>
    94         <listitem>
    95           <para>Disables the creation of the shared libraries.</para>
     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
     108      <varlistentry>
     109        <term><parameter>--disable-nls</parameter></term>
     110        <listitem>
     111          <para>This disables internationalization as i18n is not needed for the
     112          cross-compile tools.</para>
     113        </listitem>
     114      </varlistentry>
     115
     116      <varlistentry>
     117        <term><parameter>--without-headers</parameter></term>
     118        <listitem>
     119          <para>Disables GCC from using the target's Libc when cross compiling.</para>
     120        </listitem>
     121      </varlistentry>
     122
     123      <varlistentry>
     124        <term><parameter>--with-newlib</parameter></term>
     125        <listitem>
     126          <para>Tells GCC that the target libc will use 'newlib'.</para>
     127        </listitem>
     128      </varlistentry>
     129
     130      <varlistentry>
     131        <term><parameter>--disable-decimal-float</parameter></term>
     132        <listitem>
     133          <para>Disables support for the C decimal floating point extension.</para>
     134        </listitem>
     135      </varlistentry>
     136
     137      <varlistentry>
     138        <term><parameter>--disable-libgomp</parameter></term>
     139        <listitem>
     140          <para>Disables the creation of runtime libraries used by GOMP.</para>
     141        </listitem>
     142      </varlistentry>
     143
     144      <varlistentry>
     145        <term><parameter>--disable-libmudflap</parameter></term>
     146        <listitem>
     147          <para>Disables the creation of runtime libaries used by libmudflap.</para>
     148        </listitem>
     149      </varlistentry>
     150
     151      <varlistentry>
     152        <term><parameter>--disable-libssp</parameter></term>
     153        <listitem>
     154          <para>Disables the use of Stack Smashing Protection for runtime libraries.</para>
    96155        </listitem>
    97156      </varlistentry>
     
    108167
    109168      <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>
    110197        <term><parameter>--enable-languages=c</parameter></term>
    111198        <listitem>
     
    114201      </varlistentry>
    115202
     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>
     207        </listitem>
     208      </varlistentry>
     209
    116210    </variablelist>
    117211
     
    120214<screen os="ao"><userinput>make all-gcc all-target-libgcc</userinput></screen>
    121215
    122     <para os="ap">Install the package:</para>
    123 
    124 <screen os="aq"><userinput>make install-gcc install-target-libgcc</userinput></screen>
     216    <variablelist os="ap">
     217      <title>The meaning of the new make options:</title>
     218
     219      <varlistentry>
     220        <term><parameter>all-gcc all-target-libgcc</parameter></term>
     221        <listitem>
     222          <para>Compiles only the parts of GCC that are needed at this time,
     223          rather than the full package.</para>
     224        </listitem>
     225      </varlistentry>
     226
     227    </variablelist>
     228
     229    <para os="aq">Install the package:</para>
     230
     231<screen os="ar"><userinput>make install-gcc install-target-libgcc</userinput></screen>
    125232
    126233  </sect2>
  • BOOK/cross-tools/common/gmp.xml

    r1c9985f r026bb5d  
    3333-->
    3434
     35    <note os="n1">
     36      <para>If you are building with a host which has 32-bit user-space with a
     37      64-bit capable CPU, cross-tools GMP will attempt to link with 64-bit
     38      libraries. Add the following variable during <command>configure</command>
     39      to force GMP's ABI: <command>./configure ABI=32</command></para>
     40    </note>
     41
    3542    <para os="a">Prepare GMP for compilation:</para>
    3643
    37 <screen os="b"><userinput>CPPFLAGS=-fexceptions ./configure \
    38     --prefix=/cross-tools --enable-cxx</userinput></screen>
     44<screen os="b"><userinput>./configure --prefix=/cross-tools --enable-cxx \
     45  --disable-static</userinput></screen>
     46
     47    <variablelist os="b1">
     48      <title>The meaning of the new configure options:</title>
     49
     50      <varlistentry>
     51        <term><parameter>--enable-cxx</parameter></term>
     52        <listitem>
     53          <para>This tells GMP to enable C++ support.</para>
     54        </listitem>
     55      </varlistentry>
     56
     57    </variablelist>
    3958
    4059    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/introduction.xml

    r1c9985f r026bb5d  
    2222    <important>
    2323      <para>Before issuing the build instructions for a package, the package
    24       should be unpacked as user <systemitem class="username">clfs</systemitem>,
    25       and a <command>cd</command> into the created directory should be
    26       performed. The build instructions assume that the <command>bash</command>
    27       shell is in use.</para>
     24      should be unpacked, and a <command>cd</command> into the created
     25      directory should be performed.</para>
    2826    </important>
    2927
  • BOOK/cross-tools/common/mpc.xml

    r1c9985f r026bb5d  
    2626
    2727<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    28 ./configure --prefix=/cross-tools \
    29     --with-gmp=/cross-tools \
    30     --with-mpfr=/cross-tools</userinput></screen>
     28./configure --prefix=/cross-tools --disable-static \
     29    --with-gmp=/cross-tools --with-mpfr=/cross-tools</userinput></screen>
    3130
    3231    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/mpfr.xml

    r1c9985f r026bb5d  
    2323    <title>Installation of MPFR</title>
    2424
     25    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     26    href="../../final-system/common/mpfr.xml"
     27    xpointer="xpointer(//*[@os='p1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     30    href="../../final-system/common/mpfr.xml"
     31    xpointer="xpointer(//*[@os='p2'])"/>
     32
    2533    <para os="a">Prepare MPFR for compilation:</para>
    2634
    2735<screen os="b"><userinput>LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    2836./configure --prefix=/cross-tools \
    29     --enable-shared --with-gmp=/cross-tools</userinput></screen>
     37    --disable-static --with-gmp=/cross-tools</userinput></screen>
     38
     39    <variablelist os="b1">
     40      <title>The meaning of the new configure options:</title>
     41
     42      <varlistentry>
     43        <term><parameter>LDFLAGS="-Wl,-rpath,/cross-tools/lib"</parameter></term>
     44        <listitem>
     45          <para>This tells <command>configure</command> to search in
     46          <filename class="directory">/cross-tools</filename> for libraries.</para>
     47        </listitem>
     48      </varlistentry>
     49
     50      <varlistentry>
     51        <term><parameter>--enable-shared</parameter></term>
     52        <listitem>
     53          <para>This tells <command>configure</command> to build MPFR's
     54          shared libraries.</para>
     55        </listitem>
     56      </varlistentry>
     57
     58      <varlistentry>
     59        <term><parameter>--with-gmp=/cross-tools</parameter></term>
     60        <listitem>
     61          <para>This tells <command>configure</command> where to find GMP.</para>
     62        </listitem>
     63      </varlistentry>
     64
     65    </variablelist>
    3066
    3167    <para os="c">Compile the package:</para>
  • BOOK/cross-tools/common/ncurses.xml

    r1c9985f r026bb5d  
    3636    --without-debug --without-shared</userinput></screen>
    3737
     38    <variablelist os="b1">
     39      <title>The meaning of the new configure options:</title>
     40
     41      <varlistentry os="b2">
     42        <term><parameter>--without-debug</parameter></term>
     43        <listitem>
     44          <para>Tells Ncurses to build without debugging information.</para>
     45        </listitem>
     46      </varlistentry>
     47
     48      <varlistentry os="b2">
     49        <term><parameter>--without-shared</parameter></term>
     50        <listitem>
     51          <para>This prevents Ncurses from building its shared libraries, which
     52          are not needed at this time.</para>
     53        </listitem>
     54      </varlistentry>
     55
     56    </variablelist>
     57
    3858    <para os="c">Only one binary is needed for the Cross-Tools. Build the
    3959    headers and then build <command>tic</command>:</para>
Note: See TracChangeset for help on using the changeset viewer.