source: chapter08/gcc.xml@ f695e02

multilib-10.1
Last change on this file since f695e02 was f695e02, checked in by Thomas Trepl <thomas@…>, 4 years ago

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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