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