Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gcc.xml

    re05c4f0 r686839b  
    2626    <title>Installation of GCC</title>
    2727
    28 
    2928    <para os="p1">The following patch contains a number of updates to the
    3029    &gcc-version; branch by the GCC developers:</para>
    3130
    3231    <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>
     32
     33    <para os="fix1">Apply a <command>sed</command> subsitution that will
     34    suppress the execution of the <command>fixincludes</command> script:</para>
     35
     36<screen os="fix2"><userinput>cp -v gcc/Makefile.in{,.orig}
     37sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>
    3338
    3439    <para os="d">Apply a <command>sed</command> substitution that will suppress the
     
    5459    --enable-__cxa_atexit --enable-c99 --enable-long-long \
    5560    --enable-clocale=gnu --enable-languages=c,c++ \
    56     --disable-multilib --disable-libstdcxx-pch</userinput></screen>
     61    --disable-multilib --disable-libstdcxx-pch \
     62    --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \
     63    --enable-checking=release --enable-libstdcxx-time \
     64    --disable-install-libiberty</userinput></screen>
    5765
    5866    <para os="j">Compile the package:</para>
     
    6573    </important>
    6674
     75   <para os="s1">Increase the stack size prior to running the tests:</para>
     76
     77<screen os="s2"><userinput remap="test">ulimit -s 32768</userinput></screen>
     78
    6779    <para os="m">Test the results, but do not stop at errors:</para>
    6880
    69 <screen os="n"><userinput>make -k check</userinput></screen>
     81<screen os="n"><userinput remap="test">make -k check</userinput></screen>
    7082
    7183    <para os="o">The <parameter>-k</parameter> flag is used to make the test suite
     
    7486    failures. To receive a summary of the test suite results, run:</para>
    7587
    76 <screen os="p"><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
     88<screen os="p"><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
    7789
    7890    <para os="q">For only the summaries, pipe the output through
     
    97109
    98110<screen os="x"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen>
     111
     112    <para os="y">Finally, move a misplaced file:</para>
     113
     114<screen os="z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
    99115
    100116  </sect2>
     
    109125
    110126      <seglistitem>
    111         <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg>
    112         <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.[a,so],
    113         libmudflap.[a,so], libmudflapth.[a,so], libssp.[a,so],
    114         libssp_nonshared.a, libstdc++.[a,so], and libsupc++.a</seg>
    115         <seg>/usr/include/c++, /usr/lib/gcc</seg>
     127        <seg>c++, cc (link to gcc), cpp, g++, gcc, and gcov</seg>
     128        <seg>libasan.[a,so], libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a,
     129        libgomp.[a,so], libmudflap.[a,so], libmudflapth.[a,so], libssp.[a,so],
     130        libssp_nonshared.a, libstdc++.[a,so], libsupc++.a, and libtsan.[a,so]</seg>
     131        <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg>
    116132      </seglistitem>
    117133    </segmentedlist>
     
    173189      </varlistentry>
    174190
    175       <varlistentry id="gccbug">
    176         <term><command>gccbug</command></term>
    177         <listitem>
    178           <para>A shell script used to help create useful bug reports</para>
    179           <indexterm zone="ch-system-gcc gccbug">
    180             <primary sortas="b-gccbug">gccbug</primary>
    181           </indexterm>
    182         </listitem>
    183       </varlistentry>
    184 
    185191      <varlistentry id="gcov">
    186192        <term><command>gcov</command></term>
     
    194200      </varlistentry>
    195201
     202      <varlistentry id="libasan">
     203        <term><filename class="libraryfile">libasan</filename></term>
     204        <listitem>
     205          <para>The Address Sanitizer runtime library</para>
     206          <indexterm zone="ch-system-gcc libasan">
     207            <primary sortas="c-libasan">libasan</primary>
     208          </indexterm>
     209        </listitem>
     210      </varlistentry>
     211
    196212      <varlistentry id="libgcc">
    197213        <term><filename class="libraryfile">libgcc</filename></term>
     
    269285      </varlistentry>
    270286
     287      <varlistentry id="libtsan">
     288        <term><filename class="libraryfile">libtsan</filename></term>
     289        <listitem>
     290          <para>The Thread Sanitizer runtime library</para>
     291          <indexterm zone="ch-system-gcc libtsan">
     292            <primary sortas="c-libtsan">libtsan</primary>
     293          </indexterm>
     294        </listitem>
     295      </varlistentry>
     296
    271297    </variablelist>
    272298
Note: See TracChangeset for help on using the changeset viewer.