- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gcc.xml
r686839b re05c4f0 26 26 <title>Installation of GCC</title> 27 27 28 28 29 <para os="p1">The following patch contains a number of updates to the 29 30 &gcc-version; branch by the GCC developers:</para> 30 31 31 32 <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 will34 suppress the execution of the <command>fixincludes</command> script:</para>35 36 <screen os="fix2"><userinput>cp -v gcc/Makefile.in{,.orig}37 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>38 33 39 34 <para os="d">Apply a <command>sed</command> substitution that will suppress the … … 59 54 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 60 55 --enable-clocale=gnu --enable-languages=c,c++ \ 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> 56 --disable-multilib --disable-libstdcxx-pch</userinput></screen> 65 57 66 58 <para os="j">Compile the package:</para> … … 73 65 </important> 74 66 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 79 67 <para os="m">Test the results, but do not stop at errors:</para> 80 68 81 <screen os="n"><userinput remap="test">make -k check</userinput></screen>69 <screen os="n"><userinput>make -k check</userinput></screen> 82 70 83 71 <para os="o">The <parameter>-k</parameter> flag is used to make the test suite … … 86 74 failures. To receive a summary of the test suite results, run:</para> 87 75 88 <screen os="p"><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen>76 <screen os="p"><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen> 89 77 90 78 <para os="q">For only the summaries, pipe the output through … … 109 97 110 98 <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>115 99 116 100 </sect2> … … 125 109 126 110 <seglistitem> 127 <seg>c++, cc (link to gcc), cpp, g++, gcc, and gcov</seg>128 <seg>lib asan.[a,so], libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a,129 lib gomp.[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>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> 132 116 </seglistitem> 133 117 </segmentedlist> … … 189 173 </varlistentry> 190 174 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 191 185 <varlistentry id="gcov"> 192 186 <term><command>gcov</command></term> … … 200 194 </varlistentry> 201 195 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 212 196 <varlistentry id="libgcc"> 213 197 <term><filename class="libraryfile">libgcc</filename></term> … … 285 269 </varlistentry> 286 270 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 297 271 </variablelist> 298 272
Note:
See TracChangeset
for help on using the changeset viewer.