source: chapter06/gcc.xml@ 91c8dac

multilib-10.1
Last change on this file since 91c8dac was 058c7ef, checked in by Thomas Trepl <thomas@…>, 5 years ago

Simplify instructions for multilib support. Fixes #4453

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

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