source: chapter08/gcc.xml@ 6a72404

ml-11.0 multilib
Last change on this file since 6a72404 was 6a72404, checked in by Thomas Trepl (Moody) <thomas@…>, 3 years ago

Automatic merge of trunk into multilib

  • Property mode set to 100644
File size: 23.5 KB
RevLine 
[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>
[6dfcfecc]34 <seg>&gcc-fin-sbu;</seg>
35 <seg>&gcc-fin-du;</seg>
[6a82dd9]36 </seglistitem>
37 </segmentedlist>
[3554fa3a]38
[6a82dd9]39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of GCC</title>
[12836f5]43
[6dfcfecc]44 <para arch="default">If building on x86_64, change the default directory name for 64-bit
45 libraries to <quote>lib</quote>:</para>
[be3d9f3]46
[b3f1ebb3]47<screen arch="default"><userinput remap="pre">case $(uname -m) in
[be3d9f3]48 x86_64)
49 sed -e '/m64=/s/lib64/lib/' \
50 -i.orig gcc/config/i386/t-linux64
51 ;;
52esac</userinput></screen>
53
[fd48baa]54 <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit
[b3f1ebb3]55 libraries to <quote>lib</quote>:</para>
56
[6dfcfecc]57<screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
[0ebda11]58 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
[9c0c3a0]59 -i.orig gcc/config/i386/t-linux64</userinput></screen>
[b3f1ebb3]60
[f1dd547]61 <para>The GCC documentation recommends building GCC in a dedicated build directory:</para>
[73aedd1d]62
[f1dd547]63<screen><userinput remap="pre">mkdir -v build
64cd build</userinput></screen>
[73aedd1d]65
[6a82dd9]66 <para>Prepare GCC for compilation:</para>
[73aedd1d]67
[6dfcfecc]68<screen arch="default"><userinput remap="configure">../configure --prefix=/usr \
69 LD=ld \
[f1dd547]70 --enable-languages=c,c++ \
[6dfcfecc]71 --disable-multilib \
[f1dd547]72 --disable-bootstrap \
[6dfcfecc]73 --with-system-zlib</userinput></screen>
74<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure"
75 arch="ml_32" >mlist=m64,m32</userinput><userinput remap="configure"
76 arch="ml_x32">mlist=m64,mx32</userinput><userinput remap="configure"
77 arch="ml_all">mlist=m64,m32,mx32</userinput>
78<userinput remap="configure">../configure --prefix=/usr \
79 LD=ld \
80 --enable-languages=c,c++ \
81 --enable-multilib \
82 --with-multilib-list=$mlist \
83 --disable-bootstrap \
84 --with-system-zlib</userinput></screen>
85
86 <para>Note that for other programming languages there are some prerequisites that
[93756f6]87 are not yet available. See the
[6dfcfecc]88 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink>
[93756f6]89 for instructions on how to build all of GCC's supported languages.</para>
[182d5d3]90
[ae4d45a]91 <variablelist>
[0cba512d]92 <title>The meaning of the new configure parameters:</title>
[cde2ae7]93
[ff0f063]94 <varlistentry>
[6dfcfecc]95 <term><parameter>LD=ld</parameter></term>
[ff0f063]96 <listitem>
[6dfcfecc]97 <para>This parameter makes the configure script use the ld installed
98 by the binutils built earlier in this chapter, rather than
99 the cross-built version which would otherwise be used.</para>
[ff0f063]100 </listitem>
101 </varlistentry>
[6dfcfecc]102
[ae4d45a]103 <varlistentry>
104 <term><parameter>--with-system-zlib</parameter></term>
105 <listitem>
106 <para>This switch tells GCC to link to the system installed copy of
[6dfcfecc]107 the zlib library, rather than its own internal copy.</para>
[ae4d45a]108 </listitem>
109 </varlistentry>
110 </variablelist>
111
[6a82dd9]112 <para>Compile the package:</para>
[73aedd1d]113
[0445a3d]114<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]115
[6a82dd9]116 <important>
117 <para>In this section, the test suite for GCC is considered
118 critical. Do not skip it under any circumstance.</para>
119 </important>
[81fd230]120
[6dfcfecc]121 <para>One set of tests in the GCC test suite is known to exhaust the default
122 stack, so increase the stack size prior to running the tests:</para>
[4e48f56e]123
[2efa44a]124<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
[4e48f56e]125
[76db8d6]126 <para>Test the results as a non-privileged user, but do not stop at errors:</para>
127
[8d4f212]128<screen><userinput remap="test">chown -Rv tester .
129su tester -c "PATH=$PATH make -k check"</userinput></screen>
[73aedd1d]130
[9278974d]131 <para>To receive a summary of the test suite results, run:</para>
132
[f1dd547]133<screen><userinput remap="test">../contrib/test_summary</userinput></screen>
[9278974d]134
135 <para>For only the summaries, pipe the output through
136 <userinput>grep -A7 Summ</userinput>.</para>
137
138 <para>Results can be compared with those located at <ulink
[98e7ac4]139 url="&test-results;"/> and
[b30de8f]140 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para>
[9278974d]141
[7433c5d]142 <para>Six tests related to get_time are known to fail. These are
[1daca67]143 apparently related to the en_HK locale.</para>
[7433c5d]144
[d7a9421]145 <para>Additionally, the test constexpr-52830 is known to fail.</para>
146
147<!--<para>Additionally the following tests related to the following files
[9da9d014]148 are known to fail with glibc-2.33: asan_test.C, co-ret-17-void-ret-coro.C,
[032dc4e8]149 pr95519-05-gro.C, pr80166.c.</para>
[d7a9421]150-->
[032dc4e8]151
[6dfcfecc]152<!-- don't fail anymore after the move of iana-etc and /etc/hosts
[cad96bf]153 <para>Two tests named lookup.cc and reverse.cc in experimental/net
154 are known to fail in LFS chroot environment because they require
155 /etc/hosts and iana-etc.</para>
[6dfcfecc]156-->
[9278974d]157 <para>A few unexpected failures cannot always be avoided. The GCC developers
[0238d49]158 are usually aware of these issues, but have not resolved them yet.
[9278974d]159 Unless the test results are vastly different from those at the above URL,
160 it is safe to continue.</para>
[73aedd1d]161
[1803e9b]162 <!--note><para>
[e3e989a]163 On some combinations of kernel configuration and AMD processors
164 there may be more than 1100 failures in the gcc.target/i386/mpx
165 tests (which are designed to test the MPX option on recent
166 Intel processors). These can safely be ignored on AMD
[1c8cc71]167 processors. These tests will also fail on Intel processors if MPX support
168 is not enabled in the kernel even though it is present on the CPU.
[1803e9b]169 </para></note-->
[e3e989a]170
[bc375da6]171 <para>Install the package and remove an unneeded directory:</para>
[73aedd1d]172
[bc375da6]173<screen><userinput remap="install">make install
[1daca67]174rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/</userinput></screen>
175
176 <para>The GCC build directory is owned by <systemitem class="username">
[8d4f212]177 tester</systemitem> now and the ownership of the installed header
[1daca67]178 directory (and its content) will be incorrect. Change the ownership to
179 <systemitem class="username">root</systemitem> user and group:</para>
180
181<screen><userinput remap="install">chown -v -R root:root \
[6dfcfecc]182 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
[73aedd1d]183
[60b23a6f]184 <para>Create a symlink required by the <ulink
[b30de8f]185 url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s09.html">FHS</ulink>
[60b23a6f]186 for "historical" reasons.</para>
[73aedd1d]187
[9c3ce2a]188<screen><userinput remap="install">ln -svr /usr/bin/cpp /usr/lib</userinput></screen>
[6dfcfecc]189 <!-- already done earlier
[6a82dd9]190 <para>Many packages use the name <command>cc</command> to call the C
191 compiler. To satisfy those packages, create a symlink:</para>
[1ba726f]192
[0445a3d]193<screen><userinput remap="install">ln -sv gcc /usr/bin/cc</userinput></screen>
[6dfcfecc]194 -->
[6206f72]195 <para>Add a compatibility symlink to enable building programs with
196 Link Time Optimization (LTO):</para>
197
[9da9d014]198<screen><userinput remap="install">ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \
[040ecb6]199 /usr/lib/bfd-plugins/</userinput></screen>
[6206f72]200
[09f1daf]201 <para>Now that our final toolchain is in place, it is important to again ensure
202 that compiling and linking will work as expected. We do this by performing
[6dfcfecc]203 some sanity checks:</para>
[09f1daf]204
[d9441360]205 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]206 href="adjusting.xml"
[09f1daf]207 xpointer="xpointer(//*[@os='a'])"/>
208
[d9441360]209 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]210 href="adjusting.xml"
[09f1daf]211 xpointer="xpointer(//*[@os='b'])"/>
212
[d9441360]213 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]214 href="adjusting.xml"
[09f1daf]215 xpointer="xpointer(//*[@os='c'])"/>
216
[d9441360]217 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]218 href="adjusting.xml"
[09f1daf]219 xpointer="xpointer(//*[@os='d'])"/>
220
[d9441360]221 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]222 href="adjusting.xml"
[09f1daf]223 xpointer="xpointer(//*[@os='e'])"/>
224
[d9441360]225 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]226 href="adjusting.xml"
[09f1daf]227 xpointer="xpointer(//*[@os='f'])"/>
228
[98e7ac4]229<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crt1.o succeeded
230/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
231/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
[09f1daf]232
[6dfcfecc]233 <para>Depending on your machine architecture, the above may differ slightly.
234 The difference will be the name of the directory
[be3d9f3]235 after <filename class="directory">/usr/lib/gcc</filename>. The important
236 thing to look for here is that <command>gcc</command> has found all three
[5f7456b]237 <filename>crt*.o</filename> files under the
238 <filename class="directory">/usr/lib</filename> directory.</para>
[6e88633]239
[d9441360]240 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]241 href="adjusting.xml"
[09f1daf]242 xpointer="xpointer(//*[@os='g'])"/>
243
[041c8f67]244<screen><userinput>grep -B4 '^ /usr/include' dummy.log</userinput></screen>
[e9a652b]245
[d9441360]246 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]247 href="adjusting.xml"
[09f1daf]248 xpointer="xpointer(//*[@os='h'])"/>
249
[e9a652b]250<screen><computeroutput>#include &lt;...&gt; search starts here:
[98e7ac4]251 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
[c528e3a]252 /usr/local/include
[98e7ac4]253 /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
[e9a652b]254 /usr/include</computeroutput></screen>
255
[6dfcfecc]256 <para>Again, the directory named after your target triplet may be
257 different than the above, depending on your system architecture.</para>
[3f39abf3]258
[d9441360]259 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]260 href="adjusting.xml"
[09f1daf]261 xpointer="xpointer(//*[@os='i'])"/>
262
[d9441360]263 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]264 href="adjusting.xml"
[09f1daf]265 xpointer="xpointer(//*[@os='j'])"/>
266
[d9441360]267 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]268 href="adjusting.xml"
[09f1daf]269 xpointer="xpointer(//*[@os='k'])"/>
270
[98e7ac4]271<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
272SEARCH_DIR("/usr/local/lib64")
273SEARCH_DIR("/lib64")
274SEARCH_DIR("/usr/lib64")
275SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
[e9a652b]276SEARCH_DIR("/usr/local/lib")
277SEARCH_DIR("/lib")
[6e88633]278SEARCH_DIR("/usr/lib");</computeroutput></screen>
279
[6dfcfecc]280 <para arch="default">A 32-bit system may see a few different directories. For example, here
281 is the output from an i686 machine:</para>
[6e88633]282
[6dfcfecc]283<!-- not using entities here as the dir names has nothing to do with multilib -->
[b3f1ebb3]284<screen arch="default"><computeroutput>SEARCH_DIR("/usr/i686-pc-linux-gnu/lib32")
[98e7ac4]285SEARCH_DIR("/usr/local/lib32")
286SEARCH_DIR("/lib32")
287SEARCH_DIR("/usr/lib32")
288SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
[6e88633]289SEARCH_DIR("/usr/local/lib")
290SEARCH_DIR("/lib")
[e9a652b]291SEARCH_DIR("/usr/lib");</computeroutput></screen>
292
[d9441360]293 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]294 href="adjusting.xml"
[09f1daf]295 xpointer="xpointer(//*[@os='l'])"/>
296
[d9441360]297 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]298 href="adjusting.xml"
[09f1daf]299 xpointer="xpointer(//*[@os='m'])"/>
300
[d9441360]301 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]302 href="adjusting.xml"
[09f1daf]303 xpointer="xpointer(//*[@os='n'])"/>
304
[d9441360]305 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]306 href="adjusting.xml"
[09f1daf]307 xpointer="xpointer(//*[@os='o'])"/>
308
[d9441360]309 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]310 href="adjusting.xml"
[09f1daf]311 xpointer="xpointer(//*[@os='p'])"/>
312
[d9441360]313 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]314 href="adjusting.xml"
[09f1daf]315 xpointer="xpointer(//*[@os='q'])"/>
316
[d9441360]317 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]318 href="adjusting.xml"
[09f1daf]319 xpointer="xpointer(//*[@os='r'])"/>
320
[d9441360]321 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]322 href="adjusting.xml"
[09f1daf]323 xpointer="xpointer(//*[@os='s'])"/>
324
[d9441360]325 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]326 href="adjusting.xml"
[09f1daf]327 xpointer="xpointer(//*[@os='t'])"/>
[6a82dd9]328
[d9441360]329 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]330 href="adjusting.xml"
[e9a652b]331 xpointer="xpointer(//*[@os='u'])"/>
332
[d9441360]333 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1a3e6a3]334 href="adjusting.xml"
[e9a652b]335 xpointer="xpointer(//*[@os='v'])"/>
336
[970a126]337 <para>Finally, move a misplaced file:</para>
[39ec01c]338
[970a126]339<screen><userinput remap="install">mkdir -pv /usr/share/gdb/auto-load/usr/lib
[6dfcfecc]340mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
[39ec01c]341
[6a82dd9]342 </sect2>
343
344 <sect2 id="contents-gcc" role="content">
345 <title>Contents of GCC</title>
346
347 <segmentedlist>
348 <segtitle>Installed programs</segtitle>
349 <segtitle>Installed libraries</segtitle>
[fe05b08]350 <segtitle>Installed directories</segtitle>
[6a82dd9]351
352 <seglistitem>
[2ca8941]353 <seg>c++, cc (link to gcc), cpp, g++, gcc,
[78cc3be]354 gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool</seg>
[e0901b3]355
[78cc3be]356 <seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
357 libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
358 liblsan.{a,so}, liblto_plugin.so,
359 libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a,
360 libstdc++.{a,so}, libstdc++fs.a, libsupc++.a, libtsan.{a,so},
361 and libubsan.{a,so}</seg>
[2ca8941]362
[7bb9fda]363 <seg>/usr/include/c++, /usr/lib/gcc, /usr/libexec/gcc, and
[4e8a532]364 /usr/share/gcc-&gcc-version;</seg>
[6a82dd9]365 </seglistitem>
366 </segmentedlist>
367
368 <variablelist>
369 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
370 <?dbfo list-presentation="list"?>
371 <?dbhtml list-presentation="table"?>
372
[75128571]373 <varlistentry id="c">
374 <term><command>c++</command></term>
375 <listitem>
376 <para>The C++ compiler</para>
377 <indexterm zone="ch-system-gcc c">
378 <primary sortas="b-c++">c++</primary>
379 </indexterm>
380 </listitem>
381 </varlistentry>
382
[6a82dd9]383 <varlistentry id="cc">
384 <term><command>cc</command></term>
385 <listitem>
386 <para>The C compiler</para>
387 <indexterm zone="ch-system-gcc cc">
388 <primary sortas="b-cc">cc</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="cpp">
394 <term><command>cpp</command></term>
395 <listitem>
396 <para>The C preprocessor; it is used by the compiler to expand the
397 #include, #define, and similar statements in the source files</para>
398 <indexterm zone="ch-system-gcc cpp">
399 <primary sortas="b-cpp">cpp</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="g">
405 <term><command>g++</command></term>
406 <listitem>
407 <para>The C++ compiler</para>
408 <indexterm zone="ch-system-gcc g">
409 <primary sortas="b-g++">g++</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="gcc">
415 <term><command>gcc</command></term>
416 <listitem>
417 <para>The C compiler</para>
418 <indexterm zone="ch-system-gcc gcc">
419 <primary sortas="b-gcc">gcc</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
[e0901b3]424 <varlistentry id="gcc-ar">
425 <term><command>gcc-ar</command></term>
426 <listitem>
427 <para>A wrapper around <command>ar</command> that adds a
[afba93b]428 plugin to the command line. This program is only used
[edbeeb5]429 to add "link time optimization" and is not useful with the
[afba93b]430 default build options</para>
[e0901b3]431 <indexterm zone="ch-system-gcc gcc-ar">
432 <primary sortas="b-gcc-ar">gc-ar</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="gcc-nm">
438 <term><command>gcc-nm</command></term>
439 <listitem>
440 <para>A wrapper around <command>nm</command> that adds a
[afba93b]441 plugin to the command line. This program is only used
[a885478]442 to add "link time optimization" and is not useful with the
[afba93b]443 default build options</para>
[e0901b3]444 <indexterm zone="ch-system-gcc gcc-nm">
445 <primary sortas="b-gcc-nm">gc-nm</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="gcc-ranlib">
451 <term><command>gcc-ranlib</command></term>
452 <listitem>
453 <para>A wrapper around <command>ranlib</command> that adds a
[afba93b]454 plugin to the command line. This program is only used
[a885478]455 to add "link time optimization" and is not useful with the
[afba93b]456 default build options</para>
[e0901b3]457 <indexterm zone="ch-system-gcc gcc-ranlib">
458 <primary sortas="b-gcc-ranlib">gc-ranlib</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
[6a82dd9]462
463 <varlistentry id="gcov">
464 <term><command>gcov</command></term>
465 <listitem>
466 <para>A coverage testing tool; it is used to analyze programs to
467 determine where optimizations will have the most effect</para>
468 <indexterm zone="ch-system-gcc gcov">
469 <primary sortas="b-gcov">gcov</primary>
470 </indexterm>
[4783efe]471 </listitem>
472 </varlistentry>
473
[78cc3be]474 <varlistentry id="gcov-dump">
475 <term><command>gcov-dump</command></term>
476 <listitem>
477 <para>Offline gcda and gcno profile dump tool</para>
478 <indexterm zone="ch-system-gcc gcov-dump">
479 <primary sortas="b-gcov-dump">gcov-dump</primary>
480 </indexterm>
481 </listitem>
482 </varlistentry>
483
484 <varlistentry id="gcov-tool">
485 <term><command>gcov-tool</command></term>
486 <listitem>
487 <para>Offline gcda profile processing tool</para>
488 <indexterm zone="ch-system-gcc gcov-tool">
489 <primary sortas="b-gcov-tool">gcov-tool</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
[4783efe]494 <varlistentry id="libasan">
[78cc3be]495 <term><filename class="libraryfile">libasan</filename></term>
[4783efe]496 <listitem>
497 <para>The Address Sanitizer runtime library</para>
498 <indexterm zone="ch-system-gcc libasan">
499 <primary sortas="b-libasan">libasan</primary>
500 </indexterm>
[6a82dd9]501 </listitem>
502 </varlistentry>
503
[78cc3be]504 <varlistentry id="libatomic">
505 <term><filename class="libraryfile">libatomic</filename></term>
506 <listitem>
507 <para>GCC atomic built-in runtime library</para>
508 <indexterm zone="ch-system-gcc libatomic">
509 <primary sortas="b-libatomic">libatomic</primary>
510 </indexterm>
511 </listitem>
512 </varlistentry>
513
514 <varlistentry id="libcc1">
515 <term><filename class="libraryfile">libcc1</filename></term>
516 <listitem>
517 <para>The C preprocessing library</para>
518 <indexterm zone="ch-system-gcc libcc1">
519 <primary sortas="b-libcc1">libcc1</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
[6a82dd9]524 <varlistentry id="libgcc">
525 <term><filename class="libraryfile">libgcc</filename></term>
526 <listitem>
527 <para>Contains run-time support for <command>gcc</command></para>
528 <indexterm zone="ch-system-gcc libgcc">
[afba93b]529 <primary sortas="c-libgcc">libgcc</primary>
[6a82dd9]530 </indexterm>
531 </listitem>
532 </varlistentry>
533
[90aae6b]534 <varlistentry id="libgcov">
535 <term><filename class="libraryfile">libgcov</filename></term>
536 <listitem>
537 <para>This library is linked in to a program when GCC is instructed
538 to enable profiling</para>
539 <indexterm zone="ch-system-gcc libgcov">
540 <primary sortas="c-libgcov">libgcov</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="libgomp">
546 <term><filename class="libraryfile">libgomp</filename></term>
547 <listitem>
548 <para>GNU implementation of the OpenMP API for multi-platform
549 shared-memory parallel programming in C/C++ and Fortran</para>
550 <indexterm zone="ch-system-gcc libgomp">
551 <primary sortas="c-libgomp">libgomp</primary>
552 </indexterm>
553 </listitem>
554 </varlistentry>
555
[78cc3be]556 <varlistentry id="liblsan">
557 <term><filename class="libraryfile">liblsan</filename></term>
[b755562]558 <listitem>
[78cc3be]559 <para>The Leak Sanitizer runtime library</para>
560 <indexterm zone="ch-system-gcc liblsan">
561 <primary sortas="c-liblsan">liblsan</primary>
[b755562]562 </indexterm>
563 </listitem>
564 </varlistentry>
565
[3119ddc]566 <varlistentry id="liblto_plugin">
567 <term><filename class="libraryfile">liblto_plugin</filename></term>
568 <listitem>
569 <para>GCC's Link Time Optimization (LTO) plugin allows GCC to perform
[afba93b]570 optimizations across compilation units</para>
[3119ddc]571 <indexterm zone="ch-system-gcc liblto_plugin">
[afba93b]572 <primary sortas="c-liblto_plugin">liblto_plugin</primary>
[3119ddc]573 </indexterm>
574 </listitem>
575 </varlistentry>
[7bb9fda]576
[3119ddc]577 <varlistentry id="libquadmath">
578 <term><filename class="libraryfile">libquadmath</filename></term>
579 <listitem>
580 <para>GCC Quad Precision Math Library API</para>
581 <indexterm zone="ch-system-gcc libquadmath">
[afba93b]582 <primary sortas="c-libquadmath">libquadmath</primary>
[3119ddc]583 </indexterm>
584 </listitem>
585 </varlistentry>
586
[2791a8e]587 <varlistentry id="libssp">
588 <term><filename class="libraryfile">libssp</filename></term>
589 <listitem>
590 <para>Contains routines supporting GCC's stack-smashing protection
591 functionality</para>
592 <indexterm zone="ch-system-gcc libssp">
[afba93b]593 <primary sortas="c-libssp">libssp</primary>
[2791a8e]594 </indexterm>
595 </listitem>
596 </varlistentry>
597
[6a82dd9]598 <varlistentry id="libstdc">
599 <term><filename class="libraryfile">libstdc++</filename></term>
600 <listitem>
601 <para>The standard C++ library</para>
602 <indexterm zone="ch-system-gcc libstdc">
603 <primary sortas="c-libstdc++">libstdc++</primary>
604 </indexterm>
605 </listitem>
606 </varlistentry>
607
[78cc3be]608 <varlistentry id="libstdcfs">
609 <term><filename class="libraryfile">libstdc++fs</filename></term>
610 <listitem>
611 <para>ISO/IEC TS 18822:2015 Filesystem library</para>
612 <indexterm zone="ch-system-gcc libstdcfs">
613 <primary sortas="c-libstdc++fs">libstdc++fs</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
[6a82dd9]618 <varlistentry id="libsupc">
619 <term><filename class="libraryfile">libsupc++</filename></term>
620 <listitem>
621 <para>Provides supporting routines for the C++ programming
622 language</para>
623 <indexterm zone="ch-system-gcc libsupc">
624 <primary sortas="c-libsupc++">libsupc++</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
[f6b1d91]629 <varlistentry id="libtsan">
630 <term><filename class="libraryfile">libtsan</filename></term>
631 <listitem>
632 <para>The Thread Sanitizer runtime library</para>
633 <indexterm zone="ch-system-gcc libtsan">
634 <primary sortas="c-libtsan">libtsan</primary>
635 </indexterm>
636 </listitem>
637 </varlistentry>
638
[78cc3be]639 <varlistentry id="libubsan">
640 <term><filename class="libraryfile">libubsan</filename></term>
641 <listitem>
642 <para>The Undefined Behavior Sanitizer runtime library</para>
643 <indexterm zone="ch-system-gcc libubsan">
644 <primary sortas="c-libubsan">libubsan</primary>
645 </indexterm>
646 </listitem>
647 </varlistentry>
648
[6a82dd9]649 </variablelist>
650
651 </sect2>
[673b0d8]652
653</sect1>
Note: See TracBrowser for help on using the repository browser.