source: chapter06/gcc.xml@ 338c63f

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 338c63f was 7406bec, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Add an unprivileged user, tester, at the
beginning of Chapter 6 for running some tests. This
user is then removed at the end of the chapter.

Update to zstd-1.4.5. Fixes
Update to util-linux-2.35.2. Fixes
Update to bison-3.6.2. Fixes
Update to linux-5.6.15. Fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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