[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[6a82dd9] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-gcc" role="wrap">
|
---|
[6a82dd9] | 9 | <?dbhtml filename="gcc.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>gcc</productname>
|
---|
| 13 | <productnumber>&gcc-version;</productnumber>
|
---|
| 14 | <address>&gcc-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[6a82dd9] | 17 | <title>GCC-&gcc-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-gcc">
|
---|
| 20 | <primary sortas="a-GCC">GCC</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
[6370fa6] | 25 |
|
---|
[6a82dd9] | 26 | <para>The GCC package contains the GNU compiler collection, which includes
|
---|
| 27 | the C and C++ compilers.</para>
|
---|
[673b0d8] | 28 |
|
---|
[6a82dd9] | 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
[5888299] | 32 |
|
---|
[6a82dd9] | 33 | <seglistitem>
|
---|
[e4a5635] | 34 | <seg>&gcc-ch6-sbu;</seg>
|
---|
| 35 | <seg>&gcc-ch6-du;</seg>
|
---|
[6a82dd9] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
[3554fa3a] | 38 |
|
---|
[6a82dd9] | 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of GCC</title>
|
---|
| 43 |
|
---|
| 44 | <para>Apply a <command>sed</command> substitution that will suppress the
|
---|
| 45 | installation of <filename class="libraryfile">libiberty.a</filename>. The
|
---|
| 46 | version of <filename class="libraryfile">libiberty.a</filename> provided by
|
---|
| 47 | Binutils will be used instead:</para>
|
---|
[37dcf2a] | 48 |
|
---|
[0445a3d] | 49 | <screen><userinput remap="pre">sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in</userinput></screen>
|
---|
[73aedd1d] | 50 |
|
---|
[07312f6] | 51 | <para>As in <xref linkend="ch-tools-gcc-pass2"/>, apply the following
|
---|
| 52 | <command>sed</command> to force the build to use the
|
---|
| 53 | <option>-fomit-frame-pointer</option> compiler flag in order to ensure
|
---|
| 54 | consistent compiler builds:</para>
|
---|
[2e02c35] | 55 |
|
---|
[6e88633] | 56 | <screen><userinput remap="pre">case `uname -m` in
|
---|
[d35b7f3] | 57 | i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' \
|
---|
[6e88633] | 58 | gcc/Makefile.in ;;
|
---|
| 59 | esac</userinput></screen>
|
---|
[2e02c35] | 60 |
|
---|
[6a82dd9] | 61 | <para>The <command>fixincludes</command> script is known to occasionally
|
---|
[1cdaff9] | 62 | erroneously attempt to "fix" the system headers installed so far.
|
---|
| 63 | As the headers up to this point are known to not require fixing,
|
---|
| 64 | issue the following command to prevent the <command>fixincludes</command>
|
---|
| 65 | script from running:</para>
|
---|
[27ced84] | 66 |
|
---|
[0445a3d] | 67 | <screen><userinput remap="pre">sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen>
|
---|
[27ced84] | 68 |
|
---|
[6a82dd9] | 69 | <para>The GCC documentation recommends building GCC outside of the source
|
---|
| 70 | directory in a dedicated build directory:</para>
|
---|
[73aedd1d] | 71 |
|
---|
[0445a3d] | 72 | <screen><userinput remap="pre">mkdir -v ../gcc-build
|
---|
[73aedd1d] | 73 | cd ../gcc-build</userinput></screen>
|
---|
| 74 |
|
---|
[6a82dd9] | 75 | <para>Prepare GCC for compilation:</para>
|
---|
[73aedd1d] | 76 |
|
---|
[0445a3d] | 77 | <screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/usr \
|
---|
[d72e04a] | 78 | --libexecdir=/usr/lib --enable-shared \
|
---|
| 79 | --enable-threads=posix --enable-__cxa_atexit \
|
---|
[b0a4c9a] | 80 | --enable-clocale=gnu --enable-languages=c,c++ \
|
---|
[ae4d45a] | 81 | --disable-multilib --disable-bootstrap --with-system-zlib</userinput></screen>
|
---|
[73aedd1d] | 82 |
|
---|
[1cdaff9] | 83 | <para>Note that for other languages, there are some prerequisites that
|
---|
| 84 | are not available. See the BLFS Book for instructions on how to
|
---|
[182d5d3] | 85 | build all the GCC supported languages.</para>
|
---|
| 86 |
|
---|
[ae4d45a] | 87 | <variablelist>
|
---|
| 88 | <title>The meaning of the new configure option:</title>
|
---|
| 89 |
|
---|
| 90 | <varlistentry>
|
---|
| 91 | <term><parameter>--with-system-zlib</parameter></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>This switch tells GCC to link to the system installed copy of
|
---|
[8dac2e2] | 94 | the Zlib library, rather than its own internal copy.</para>
|
---|
[ae4d45a] | 95 | </listitem>
|
---|
| 96 | </varlistentry>
|
---|
| 97 | </variablelist>
|
---|
| 98 |
|
---|
[6a82dd9] | 99 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 100 |
|
---|
[0445a3d] | 101 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 102 |
|
---|
[6a82dd9] | 103 | <important>
|
---|
| 104 | <para>In this section, the test suite for GCC is considered
|
---|
| 105 | critical. Do not skip it under any circumstance.</para>
|
---|
| 106 | </important>
|
---|
[81fd230] | 107 |
|
---|
[4e48f56e] | 108 | <para>One set of tests in the GCC test suite is known to exhaust the stack,
|
---|
| 109 | so increase the stack size prior to running the tests:</para>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput remap="test">ulimit -s 16384</userinput></screen>
|
---|
| 112 |
|
---|
[6a82dd9] | 113 | <para>Test the results, but do not stop at errors:</para>
|
---|
[73aedd1d] | 114 |
|
---|
[0445a3d] | 115 | <screen><userinput remap="test">make -k check</userinput></screen>
|
---|
[73aedd1d] | 116 |
|
---|
[9278974d] | 117 | <para>To receive a summary of the test suite results, run:</para>
|
---|
| 118 |
|
---|
[0445a3d] | 119 | <screen><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
|
---|
[9278974d] | 120 |
|
---|
| 121 | <para>For only the summaries, pipe the output through
|
---|
| 122 | <userinput>grep -A7 Summ</userinput>.</para>
|
---|
| 123 |
|
---|
| 124 | <para>Results can be compared with those located at <ulink
|
---|
[536ce32] | 125 | url="&test-results;"/> and <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
|
---|
[9278974d] | 126 |
|
---|
| 127 | <para>A few unexpected failures cannot always be avoided. The GCC developers
|
---|
| 128 | are usually aware of these issues, but have not resolved them yet. In
|
---|
| 129 | particular, the <filename class="libraryfile">libmudflap</filename> tests
|
---|
| 130 | are known be particularly problematic as a result of a bug in GCC
|
---|
| 131 | (<ulink url="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20003"/>).
|
---|
| 132 | Unless the test results are vastly different from those at the above URL,
|
---|
| 133 | it is safe to continue.</para>
|
---|
[73aedd1d] | 134 |
|
---|
[6a82dd9] | 135 | <para>Install the package:</para>
|
---|
[73aedd1d] | 136 |
|
---|
[0445a3d] | 137 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[73aedd1d] | 138 |
|
---|
[6a82dd9] | 139 | <para>Some packages expect the C preprocessor to be installed in the
|
---|
| 140 | <filename class="directory">/lib</filename> directory.
|
---|
| 141 | To support those packages, create this symlink:</para>
|
---|
[73aedd1d] | 142 |
|
---|
[0445a3d] | 143 | <screen><userinput remap="install">ln -sv ../usr/bin/cpp /lib</userinput></screen>
|
---|
[73aedd1d] | 144 |
|
---|
[6a82dd9] | 145 | <para>Many packages use the name <command>cc</command> to call the C
|
---|
| 146 | compiler. To satisfy those packages, create a symlink:</para>
|
---|
[1ba726f] | 147 |
|
---|
[0445a3d] | 148 | <screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
|
---|
[1ba726f] | 149 |
|
---|
[09f1daf] | 150 | <para>Now that our final toolchain is in place, it is important to again ensure
|
---|
| 151 | that compiling and linking will work as expected. We do this by performing
|
---|
| 152 | the same sanity checks as we did earlier in the chapter:</para>
|
---|
| 153 |
|
---|
[d9441360] | 154 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 155 | href="readjusting.xml"
|
---|
| 156 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 157 |
|
---|
[d9441360] | 158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 159 | href="readjusting.xml"
|
---|
| 160 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 161 |
|
---|
[d9441360] | 162 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 163 | href="readjusting.xml"
|
---|
| 164 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 165 |
|
---|
[d9441360] | 166 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 167 | href="readjusting.xml"
|
---|
| 168 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 169 |
|
---|
[d9441360] | 170 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 171 | href="readjusting.xml"
|
---|
| 172 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 173 |
|
---|
[d9441360] | 174 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 175 | href="readjusting.xml"
|
---|
| 176 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 177 |
|
---|
| 178 | <screen><computeroutput>/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crt1.o succeeded
|
---|
| 179 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crti.o succeeded
|
---|
| 180 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/../../../crtn.o succeeded</computeroutput></screen>
|
---|
| 181 |
|
---|
[6e88633] | 182 | <para>Depending on your machine architecture, the above may differ slightly,
|
---|
| 183 | the difference usually being the name of the directory
|
---|
| 184 | after <filename class="directory">/usr/lib/gcc</filename>. If your machine is
|
---|
| 185 | a 64-bit system, you may also see a directory named <filename class="directory">lib64</filename>
|
---|
| 186 | towards the end of the string. The important thing to
|
---|
[5f7456b] | 187 | look for here is that <command>gcc</command> has found all three
|
---|
| 188 | <filename>crt*.o</filename> files under the
|
---|
| 189 | <filename class="directory">/usr/lib</filename> directory.</para>
|
---|
[6e88633] | 190 |
|
---|
[d9441360] | 191 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 192 | href="readjusting.xml"
|
---|
| 193 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 194 |
|
---|
[041c8f67] | 195 | <screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
|
---|
[e9a652b] | 196 |
|
---|
[d9441360] | 197 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 198 | href="readjusting.xml"
|
---|
| 199 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 200 |
|
---|
[e9a652b] | 201 | <screen><computeroutput>#include <...> search starts here:
|
---|
[0a6f214] | 202 | /usr/local/include
|
---|
[865fe24] | 203 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include
|
---|
[3f39abf3] | 204 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include-fixed
|
---|
[e9a652b] | 205 | /usr/include</computeroutput></screen>
|
---|
| 206 |
|
---|
[6e88633] | 207 | <para>Again, note that the directory named after your target triplet may be
|
---|
| 208 | different than the above, depending on your architecture.</para>
|
---|
| 209 |
|
---|
[3f39abf3] | 210 | <note><para>As of version 4.3.0, GCC now unconditionally installs the
|
---|
| 211 | <filename>limits.h</filename> file into the private
|
---|
[041c8f67] | 212 | <filename class="directory">include-fixed</filename> directory, and that
|
---|
[3f39abf3] | 213 | directory is required to be in place.</para></note>
|
---|
| 214 |
|
---|
[d9441360] | 215 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 216 | href="readjusting.xml"
|
---|
| 217 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 218 |
|
---|
[d9441360] | 219 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 220 | href="readjusting.xml"
|
---|
| 221 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 222 |
|
---|
[d9441360] | 223 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 224 | href="readjusting.xml"
|
---|
| 225 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 226 |
|
---|
[e9a652b] | 227 | <screen><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
|
---|
| 228 | SEARCH_DIR("/usr/local/lib")
|
---|
| 229 | SEARCH_DIR("/lib")
|
---|
[6e88633] | 230 | SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
---|
| 231 |
|
---|
| 232 | <para>A 64-bit system may see a few more directories. For example, here
|
---|
[f1994dc] | 233 | is the output from an x86_64 machine:</para>
|
---|
[6e88633] | 234 |
|
---|
| 235 | <screen><computeroutput>SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib64")
|
---|
| 236 | SEARCH_DIR("/usr/local/lib64")
|
---|
| 237 | SEARCH_DIR("/lib64")
|
---|
| 238 | SEARCH_DIR("/usr/lib64")
|
---|
| 239 | SEARCH_DIR("/usr/x86_64-unknown-linux-gnu/lib")
|
---|
| 240 | SEARCH_DIR("/usr/local/lib")
|
---|
| 241 | SEARCH_DIR("/lib")
|
---|
[e9a652b] | 242 | SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
---|
| 243 |
|
---|
[d9441360] | 244 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 245 | href="readjusting.xml"
|
---|
| 246 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 247 |
|
---|
[d9441360] | 248 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 249 | href="readjusting.xml"
|
---|
| 250 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 251 |
|
---|
[d9441360] | 252 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 253 | href="readjusting.xml"
|
---|
| 254 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 255 |
|
---|
[d9441360] | 256 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 257 | href="readjusting.xml"
|
---|
| 258 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 259 |
|
---|
[d9441360] | 260 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 261 | href="readjusting.xml"
|
---|
| 262 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 263 |
|
---|
[d9441360] | 264 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 265 | href="readjusting.xml"
|
---|
| 266 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 267 |
|
---|
[d9441360] | 268 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 269 | href="readjusting.xml"
|
---|
| 270 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 271 |
|
---|
[d9441360] | 272 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 273 | href="readjusting.xml"
|
---|
| 274 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 275 |
|
---|
[d9441360] | 276 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[09f1daf] | 277 | href="readjusting.xml"
|
---|
| 278 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
[6a82dd9] | 279 |
|
---|
[d9441360] | 280 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[e9a652b] | 281 | href="readjusting.xml"
|
---|
| 282 | xpointer="xpointer(//*[@os='u'])"/>
|
---|
| 283 |
|
---|
[d9441360] | 284 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[e9a652b] | 285 | href="readjusting.xml"
|
---|
| 286 | xpointer="xpointer(//*[@os='v'])"/>
|
---|
| 287 |
|
---|
[6a82dd9] | 288 | </sect2>
|
---|
| 289 |
|
---|
| 290 | <sect2 id="contents-gcc" role="content">
|
---|
| 291 | <title>Contents of GCC</title>
|
---|
| 292 |
|
---|
| 293 | <segmentedlist>
|
---|
| 294 | <segtitle>Installed programs</segtitle>
|
---|
| 295 | <segtitle>Installed libraries</segtitle>
|
---|
[fe05b08] | 296 | <segtitle>Installed directories</segtitle>
|
---|
[6a82dd9] | 297 |
|
---|
| 298 | <seglistitem>
|
---|
| 299 | <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg>
|
---|
[90aae6b] | 300 | <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.{a,so},
|
---|
| 301 | libmudflap.{a,so}, libmudflapth.{a,so}, libssp.{a,so},
|
---|
| 302 | libssp_nonshared.a, libstdc++.{a,so} and libsupc++.a</seg>
|
---|
[fe05b08] | 303 | <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg>
|
---|
[6a82dd9] | 304 | </seglistitem>
|
---|
| 305 | </segmentedlist>
|
---|
| 306 |
|
---|
| 307 | <variablelist>
|
---|
| 308 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 309 | <?dbfo list-presentation="list"?>
|
---|
| 310 | <?dbhtml list-presentation="table"?>
|
---|
| 311 |
|
---|
[75128571] | 312 | <varlistentry id="c">
|
---|
| 313 | <term><command>c++</command></term>
|
---|
| 314 | <listitem>
|
---|
| 315 | <para>The C++ compiler</para>
|
---|
| 316 | <indexterm zone="ch-system-gcc c">
|
---|
| 317 | <primary sortas="b-c++">c++</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
[6a82dd9] | 322 | <varlistentry id="cc">
|
---|
| 323 | <term><command>cc</command></term>
|
---|
| 324 | <listitem>
|
---|
| 325 | <para>The C compiler</para>
|
---|
| 326 | <indexterm zone="ch-system-gcc cc">
|
---|
| 327 | <primary sortas="b-cc">cc</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
| 332 | <varlistentry id="cpp">
|
---|
| 333 | <term><command>cpp</command></term>
|
---|
| 334 | <listitem>
|
---|
| 335 | <para>The C preprocessor; it is used by the compiler to expand the
|
---|
| 336 | #include, #define, and similar statements in the source files</para>
|
---|
| 337 | <indexterm zone="ch-system-gcc cpp">
|
---|
| 338 | <primary sortas="b-cpp">cpp</primary>
|
---|
| 339 | </indexterm>
|
---|
| 340 | </listitem>
|
---|
| 341 | </varlistentry>
|
---|
| 342 |
|
---|
| 343 | <varlistentry id="g">
|
---|
| 344 | <term><command>g++</command></term>
|
---|
| 345 | <listitem>
|
---|
| 346 | <para>The C++ compiler</para>
|
---|
| 347 | <indexterm zone="ch-system-gcc g">
|
---|
| 348 | <primary sortas="b-g++">g++</primary>
|
---|
| 349 | </indexterm>
|
---|
| 350 | </listitem>
|
---|
| 351 | </varlistentry>
|
---|
| 352 |
|
---|
| 353 | <varlistentry id="gcc">
|
---|
| 354 | <term><command>gcc</command></term>
|
---|
| 355 | <listitem>
|
---|
| 356 | <para>The C compiler</para>
|
---|
| 357 | <indexterm zone="ch-system-gcc gcc">
|
---|
| 358 | <primary sortas="b-gcc">gcc</primary>
|
---|
| 359 | </indexterm>
|
---|
| 360 | </listitem>
|
---|
| 361 | </varlistentry>
|
---|
| 362 |
|
---|
| 363 | <varlistentry id="gccbug">
|
---|
| 364 | <term><command>gccbug</command></term>
|
---|
| 365 | <listitem>
|
---|
| 366 | <para>A shell script used to help create useful bug reports</para>
|
---|
| 367 | <indexterm zone="ch-system-gcc gccbug">
|
---|
| 368 | <primary sortas="b-gccbug">gccbug</primary>
|
---|
| 369 | </indexterm>
|
---|
| 370 | </listitem>
|
---|
| 371 | </varlistentry>
|
---|
| 372 |
|
---|
| 373 | <varlistentry id="gcov">
|
---|
| 374 | <term><command>gcov</command></term>
|
---|
| 375 | <listitem>
|
---|
| 376 | <para>A coverage testing tool; it is used to analyze programs to
|
---|
| 377 | determine where optimizations will have the most effect</para>
|
---|
| 378 | <indexterm zone="ch-system-gcc gcov">
|
---|
| 379 | <primary sortas="b-gcov">gcov</primary>
|
---|
| 380 | </indexterm>
|
---|
| 381 | </listitem>
|
---|
| 382 | </varlistentry>
|
---|
| 383 |
|
---|
| 384 | <varlistentry id="libgcc">
|
---|
| 385 | <term><filename class="libraryfile">libgcc</filename></term>
|
---|
| 386 | <listitem>
|
---|
| 387 | <para>Contains run-time support for <command>gcc</command></para>
|
---|
| 388 | <indexterm zone="ch-system-gcc libgcc">
|
---|
| 389 | <primary sortas="c-libgcc*">libgcc*</primary>
|
---|
| 390 | </indexterm>
|
---|
| 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
| 393 |
|
---|
[90aae6b] | 394 | <varlistentry id="libgcov">
|
---|
| 395 | <term><filename class="libraryfile">libgcov</filename></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>This library is linked in to a program when GCC is instructed
|
---|
| 398 | to enable profiling</para>
|
---|
| 399 | <indexterm zone="ch-system-gcc libgcov">
|
---|
| 400 | <primary sortas="c-libgcov">libgcov</primary>
|
---|
| 401 | </indexterm>
|
---|
| 402 | </listitem>
|
---|
| 403 | </varlistentry>
|
---|
| 404 |
|
---|
| 405 | <varlistentry id="libgomp">
|
---|
| 406 | <term><filename class="libraryfile">libgomp</filename></term>
|
---|
| 407 | <listitem>
|
---|
| 408 | <para>GNU implementation of the OpenMP API for multi-platform
|
---|
| 409 | shared-memory parallel programming in C/C++ and Fortran</para>
|
---|
| 410 | <indexterm zone="ch-system-gcc libgomp">
|
---|
| 411 | <primary sortas="c-libgomp">libgomp</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
[2791a8e] | 416 | <varlistentry id="libmudflap">
|
---|
| 417 | <term><filename class="libraryfile">libmudflap</filename></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>Contains routines that support GCC's bounds checking
|
---|
| 420 | functionality</para>
|
---|
| 421 | <indexterm zone="ch-system-gcc libmudflap">
|
---|
| 422 | <primary sortas="c-libmudflap*">libmudflap*</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="libssp">
|
---|
| 428 | <term><filename class="libraryfile">libssp</filename></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>Contains routines supporting GCC's stack-smashing protection
|
---|
| 431 | functionality</para>
|
---|
| 432 | <indexterm zone="ch-system-gcc libssp">
|
---|
| 433 | <primary sortas="c-libssp*">libssp*</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
[6a82dd9] | 438 | <varlistentry id="libstdc">
|
---|
| 439 | <term><filename class="libraryfile">libstdc++</filename></term>
|
---|
| 440 | <listitem>
|
---|
| 441 | <para>The standard C++ library</para>
|
---|
| 442 | <indexterm zone="ch-system-gcc libstdc">
|
---|
| 443 | <primary sortas="c-libstdc++">libstdc++</primary>
|
---|
| 444 | </indexterm>
|
---|
| 445 | </listitem>
|
---|
| 446 | </varlistentry>
|
---|
| 447 |
|
---|
| 448 | <varlistentry id="libsupc">
|
---|
| 449 | <term><filename class="libraryfile">libsupc++</filename></term>
|
---|
| 450 | <listitem>
|
---|
| 451 | <para>Provides supporting routines for the C++ programming
|
---|
| 452 | language</para>
|
---|
| 453 | <indexterm zone="ch-system-gcc libsupc">
|
---|
| 454 | <primary sortas="c-libsupc++">libsupc++</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
| 459 | </variablelist>
|
---|
| 460 |
|
---|
| 461 | </sect2>
|
---|
[673b0d8] | 462 |
|
---|
| 463 | </sect1>
|
---|