2004-06-13 06:56:28 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-13 06:56:28 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY gcc-download-http "&gnu-http;/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
|
|
|
|
<!ENTITY gcc-download-ftp "&gnu-ftp;/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
|
2022-05-10 00:40:28 +08:00
|
|
|
<!-- Update this also on the grub-uefi page -->
|
2022-08-20 13:00:36 +08:00
|
|
|
<!ENTITY gcc-md5sum "73bafd0af874439dcdb9fc063b6fb069">
|
|
|
|
<!ENTITY gcc-size "81 MB">
|
2022-05-09 03:45:31 +08:00
|
|
|
<!ENTITY gcc-buildsize "10.5 GB (2.4 GB installed with all listed languages; add 1.3 GB for tests)">
|
2022-08-20 13:00:36 +08:00
|
|
|
<!ENTITY gcc-time "32 SBU (add 66 SBU for tests; both with parallelism=4)">
|
2004-06-13 06:56:28 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-26 11:06:17 +08:00
|
|
|
<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
|
2005-05-05 04:49:36 +08:00
|
|
|
<?dbhtml filename="gcc.html" ?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>GCC-&gcc-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gcc">
|
2015-05-25 01:43:45 +08:00
|
|
|
<primary sortas="a-gcc-5-0">GCC-&gcc-version;</primary>
|
2005-05-05 04:49:36 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GCC</title>
|
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
The <application>GCC</application> package contains the GNU Compiler
|
|
|
|
Collection. This page describes the installation of compilers for the
|
2022-05-09 03:45:31 +08:00
|
|
|
following languages: C, C++, Fortran, Objective C, Objective C++, and Go.
|
|
|
|
Since C and C++ are installed in LFS, this page is either for upgrading
|
|
|
|
C and C++, or for installing additional compilers.
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2010-02-18 23:34:02 +08:00
|
|
|
|
2022-05-09 03:45:31 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
Additional languages, among which D and ADA, are available in the
|
|
|
|
collection. D and ADA have a binary bootstrap requirement for the first
|
|
|
|
installation, so their installation is not described here. To install
|
|
|
|
them, you can proceed along the same lines as below after installing
|
|
|
|
the corresponding compiler from a binary package, adding
|
|
|
|
<option>ada</option> or <option>d</option> to the
|
|
|
|
<parameter>--enable-languages</parameter> line.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
2023-02-18 12:35:46 +08:00
|
|
|
&lfs113_checked;
|
2012-05-13 07:33:24 +08:00
|
|
|
|
2010-03-13 03:00:36 +08:00
|
|
|
<caution>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
If you are upgrading <application>GCC</application> from any other
|
|
|
|
version prior to &gcc-version;, then you must be careful compiling 3rd
|
|
|
|
party kernel modules. You should ensure that the kernel and all its
|
|
|
|
native modules are also compiled using the same version of
|
|
|
|
<application>GCC</application> that you use to build the 3rd party module.
|
|
|
|
This issue does not affect native kernel (and kernel modules) updates,
|
|
|
|
as the instructions below are a complete reinstallation of
|
|
|
|
<application>GCC</application>. If you have existing 3rd party modules
|
|
|
|
installed, ensure they are recompiled using the updated version of
|
|
|
|
<application>GCC</application>. As always, never update the kernel
|
|
|
|
headers from the ones used when <application>Glibc</application> was
|
|
|
|
compiled during LFS.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2017-06-24 19:13:15 +08:00
|
|
|
Some system headers need to be fixed to be used with GCC. This is done
|
|
|
|
during the installation of GCC, and the <quote>fixed</quote> headers
|
|
|
|
are installed in <filename class="directory">
|
|
|
|
/usr/lib/gcc/<machine triplet>/<GCC version>/include-fixed
|
|
|
|
</filename>. This is harmless if GCC is built during the LFS stage. But
|
|
|
|
if you reinstall GCC in BLFS, some of the BLFS packages may be
|
|
|
|
<quote>fixed</quote>. If one of those packages is reinstalled
|
|
|
|
afterwards, the <quote>fixed</quote> headers are not updated, which may
|
|
|
|
lead to version mismatches. In case that happens, the
|
|
|
|
<quote>fixed</quote> headers must be updated by running (as
|
|
|
|
<systemitem class="username">root</systemitem>):
|
|
|
|
<command>
|
2018-02-12 13:31:19 +08:00
|
|
|
/usr/libexec/gcc/x86_64-pc-linux-gnu/&gcc-version;/install-tools/mkheaders
|
2022-03-25 11:26:08 +08:00
|
|
|
</command>. The machine triplet may be different on a 32-bit system.
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2010-03-13 03:00:36 +08:00
|
|
|
</caution>
|
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gcc-download-http;"/>
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gcc-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gcc-md5sum;
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gcc-size;
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gcc-buildsize;
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gcc-time;
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2022-08-20 13:00:36 +08:00
|
|
|
<!--
|
2022-08-19 19:58:34 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch for building against glibc-2.36:
|
|
|
|
<ulink url="&patch-root;/gcc-&gcc-version;-glibc_2.36-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2022-08-20 13:00:36 +08:00
|
|
|
-->
|
2005-05-05 04:49:36 +08:00
|
|
|
<bridgehead renderas="sect3">GCC Dependencies</bridgehead>
|
2022-05-09 03:45:31 +08:00
|
|
|
|
2019-03-14 01:04:02 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2019-03-14 03:57:16 +08:00
|
|
|
<xref linkend="gdb"/>,
|
|
|
|
<xref linkend="valgrind"/> (for tests), and
|
|
|
|
<ulink url="https://repo.or.cz/isl.git">ISL</ulink> (to enable graphite optimization)
|
2019-03-14 01:04:02 +08:00
|
|
|
</para>
|
2021-09-07 01:42:49 +08:00
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/gcc"/>
|
|
|
|
</para>
|
2006-04-11 02:35:56 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
</sect2>
|
2013-02-11 04:46:59 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GCC</title>
|
|
|
|
|
|
|
|
<important>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Even if you specify only languages other than C and C++ to the
|
|
|
|
<command>./configure</command> command below, the
|
|
|
|
installation process will overwrite your existing
|
|
|
|
<application>GCC</application> C and C++ compilers and libraries.
|
2021-05-29 13:04:24 +08:00
|
|
|
Running the full suite of tests is recommended.
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Do not continue with the <command>make install</command> command
|
|
|
|
until you are confident the build was successful. You can compare your
|
|
|
|
test results with those found at <ulink
|
2020-09-05 00:23:12 +08:00
|
|
|
url="https://gcc.gnu.org/ml/gcc-testresults/"/>. You may also want to
|
2015-05-25 01:43:45 +08:00
|
|
|
refer to the information found in the <application>GCC</application>
|
2020-08-21 20:19:40 +08:00
|
|
|
section of Chapter 8 in the LFS book (<ulink
|
|
|
|
url="&lfs-root;/chapter08/gcc.html"/>).
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
</important>
|
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
The instructions below are intentionally performing a
|
|
|
|
<quote>bootstrap</quote> process. Bootstrapping is needed for robustness
|
|
|
|
and is highly recommended when upgrading the compilers version. To disable
|
2022-08-20 14:38:05 +08:00
|
|
|
bootstrap anyway, add <parameter>--disable-bootstrap</parameter> to the
|
2015-05-25 01:43:45 +08:00
|
|
|
<command>./configure</command> options below.
|
|
|
|
</para>
|
2022-08-20 13:00:36 +08:00
|
|
|
<!--
|
2022-08-19 19:58:34 +08:00
|
|
|
<para>
|
|
|
|
First fix a problem with glibc-2.36:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-glibc_2.36-1.patch</userinput></screen>
|
2022-08-20 13:00:36 +08:00
|
|
|
-->
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
2021-08-02 10:17:04 +08:00
|
|
|
Install <application>GCC</application> by running the following commands:
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
|
|
|
|
2021-08-02 10:17:04 +08:00
|
|
|
<screen><userinput>case $(uname -m) in
|
2016-12-17 14:42:45 +08:00
|
|
|
x86_64)
|
2020-08-07 06:38:54 +08:00
|
|
|
sed -i.orig '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
|
2016-12-17 14:42:45 +08:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2019-06-25 04:51:55 +08:00
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
|
|
|
../configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-multilib \
|
|
|
|
--with-system-zlib \
|
2022-09-10 20:14:10 +08:00
|
|
|
--enable-default-pie \
|
|
|
|
--enable-default-ssp \
|
2022-05-09 03:45:31 +08:00
|
|
|
--enable-languages=c,c++,fortran,go,objc,obj-c++ &&
|
2014-02-19 01:38:44 +08:00
|
|
|
make</userinput></screen>
|
2010-02-18 23:34:02 +08:00
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
If you have installed additional packages such as
|
|
|
|
<application>Valgrind</application> and <application>GDB</application>,
|
2022-12-14 02:19:29 +08:00
|
|
|
the <application>GCC</application> part of the test suite will run more
|
2015-05-25 01:43:45 +08:00
|
|
|
tests than in LFS. Some of those will report FAIL and others XPASS
|
2022-09-10 20:14:10 +08:00
|
|
|
(pass when expected to FAIL). As of gcc-12.2.0, about 60 FAIL occur
|
2019-08-20 19:51:01 +08:00
|
|
|
in the <quote>guality</quote> suite, as well as miscellaneous failures
|
2022-09-10 20:14:10 +08:00
|
|
|
throughout the rest of the test suite, fifteen of which are already
|
|
|
|
present in the GCC tests of LFS. If all the compilers above are
|
|
|
|
built, there will be around 80 unexpected failures out of over
|
|
|
|
482,000 tests. To run the tests, issue:
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2013-09-06 11:07:58 +08:00
|
|
|
|
2014-02-19 01:38:44 +08:00
|
|
|
<screen><userinput>ulimit -s 32768 &&
|
2014-04-29 18:33:31 +08:00
|
|
|
make -k check</userinput></screen>
|
|
|
|
<!-- The command above may error out, so using && may prevent the summary
|
|
|
|
to be run. -->
|
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
The tests are very long, and the results may be hard to find in the
|
|
|
|
logs, specially if you use parallel jobs with make. You can get a summary
|
|
|
|
of the tests with:
|
|
|
|
</para>
|
2010-02-18 23:34:02 +08:00
|
|
|
|
2016-04-03 05:43:14 +08:00
|
|
|
<screen><userinput>../contrib/test_summary</userinput></screen>
|
2005-02-02 02:29:34 +08:00
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-02-02 02:29:34 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2010-02-18 23:34:02 +08:00
|
|
|
|
2014-02-19 01:38:44 +08:00
|
|
|
mkdir -pv /usr/share/gdb/auto-load/usr/lib &&
|
|
|
|
mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib &&
|
|
|
|
|
2005-04-06 01:08:11 +08:00
|
|
|
chown -v -R root:root \
|
2022-05-09 03:45:31 +08:00
|
|
|
/usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed}</userinput></screen>
|
2005-08-20 12:26:31 +08:00
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Some packages expect to find the C preprocessor in
|
|
|
|
<filename class="directory">/lib</filename> or may refer to the C compiler
|
|
|
|
under the name <command>cc</command>. The following symbolic links are not
|
|
|
|
needed if you have followed the LFS instructions, since they
|
|
|
|
have been already created. If you do not have them on your system, issue
|
|
|
|
as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<screen role="root"><userinput>ln -v -sf ../usr/bin/cpp /lib &&
|
|
|
|
ln -v -sf gcc /usr/bin/cc &&
|
|
|
|
install -v -dm755 /usr/lib/bfd-plugins &&
|
|
|
|
ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen>
|
2013-02-11 04:46:59 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2014-09-17 19:10:41 +08:00
|
|
|
|
2014-07-04 04:57:10 +08:00
|
|
|
<para>
|
2016-04-03 05:43:14 +08:00
|
|
|
<command>mkdir build; cd build</command>: The
|
2014-07-04 04:57:10 +08:00
|
|
|
<application>GCC</application> documentation recommends
|
|
|
|
building the package in a dedicated build directory.
|
|
|
|
</para>
|
2005-05-05 04:49:36 +08:00
|
|
|
|
2014-07-04 04:57:10 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--disable-multilib</parameter>: This parameter ensures
|
|
|
|
that files are created for the specific architecture of your computer.
|
|
|
|
</para>
|
2014-02-19 01:38:44 +08:00
|
|
|
|
2014-07-04 04:57:10 +08:00
|
|
|
<para>
|
2014-07-07 17:52:54 +08:00
|
|
|
<parameter>--with-system-zlib</parameter>: Uses the system
|
2014-07-04 04:57:10 +08:00
|
|
|
<application>zlib</application> instead of the bundled one.
|
|
|
|
<application>zlib</application> is used for compressing
|
2022-09-10 20:14:10 +08:00
|
|
|
and decompressing <application>GCC</application>'s intermediate
|
2014-07-04 04:57:10 +08:00
|
|
|
language in LTO (Link Time Optimization) object files.
|
|
|
|
</para>
|
2013-02-11 04:46:59 +08:00
|
|
|
|
2022-09-10 20:14:10 +08:00
|
|
|
<para>
|
|
|
|
<parameter>--enable-default-pie</parameter>: Makes the
|
|
|
|
<option>-fpie</option> option the default when compiling programs.
|
|
|
|
Together with the <xref linkend="gASLR"/> feature enabled in the kernel,
|
|
|
|
this defeats some kind of attacks based on known memory layouts.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--enable-default-ssp</parameter>: Makes the
|
|
|
|
<option>-fstack-protector-strong</option> option the default when
|
|
|
|
compiling programs. <xref linkend="gSSP"/> is a technique preventing
|
|
|
|
alteration of the program flow by corrupting the parameter stack.
|
|
|
|
</para>
|
|
|
|
|
2005-09-12 10:48:14 +08:00
|
|
|
<para>
|
2022-05-09 03:45:31 +08:00
|
|
|
<parameter>--enable-languages=c,c++,fortran,go,objc,obj-c++</parameter>:
|
2014-07-04 04:57:10 +08:00
|
|
|
This command identifies which languages to build. You may modify
|
2022-05-09 03:45:31 +08:00
|
|
|
this command to remove undesired languages. Other languages can be
|
|
|
|
added, including ADA, D, BRIG (add
|
2017-05-08 01:04:03 +08:00
|
|
|
<parameter>brig</parameter> to the list of enabled languages), a binary
|
2017-05-07 03:10:54 +08:00
|
|
|
format for HSAIL (Heterogeneous System Architecture Intermediate
|
2017-05-08 01:04:03 +08:00
|
|
|
Language), and JIT (add <parameter>jit</parameter> to the list of enabled
|
2018-08-19 05:15:39 +08:00
|
|
|
languages), a library which can be linked into interpreters that want to
|
|
|
|
generate machine code <quote>on the fly</quote> at run-time. They have not
|
|
|
|
been tested by the BLFS developers.
|
2014-07-04 04:57:10 +08:00
|
|
|
</para>
|
2015-05-25 01:43:45 +08:00
|
|
|
|
2014-07-04 04:57:10 +08:00
|
|
|
<para>
|
|
|
|
<command>ulimit -s 32768</command>: This command prevents several
|
|
|
|
tests from running out of stack space.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<command>make -k check</command>: This command runs the test suite
|
|
|
|
without stopping if any errors are encountered.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2017-05-07 03:10:54 +08:00
|
|
|
<command>../contrib/test_summary</command>: This command will produce
|
|
|
|
a summary of the test suite results. You can append <command>| grep
|
|
|
|
-A7 Summ</command> to the command to produce an even more condensed
|
|
|
|
version of the summary. You may also wish to redirect the output
|
2014-07-04 04:57:10 +08:00
|
|
|
to a file for review and comparison later on.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<command>mv -v /usr/lib/*gdb.py ...</command>: The installation
|
|
|
|
stage puts some files used by <application>gdb</application> under the
|
|
|
|
<filename class="directory">/usr/lib</filename> directory. This generates
|
|
|
|
spurious error messages when performing <command>ldconfig</command>. This
|
|
|
|
command moves the files to another location.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<command>chown -v -R root:root /usr/lib/gcc/*linux-gnu/...</command>:
|
|
|
|
If the package is built by a user other than root, the ownership of the
|
|
|
|
installed <filename class="directory">include</filename> directory (and
|
|
|
|
its content) will be incorrect. This command changes the ownership to the
|
|
|
|
<systemitem class="username">root</systemitem> user and group.
|
|
|
|
</para>
|
2013-02-11 04:46:59 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
Some program and library names and descriptions are not listed here,
|
|
|
|
but can be found at
|
2022-02-07 15:10:48 +08:00
|
|
|
<ulink url="&lfs-root;/chapter08/gcc.html#contents-gcc">LFS section
|
|
|
|
for GCC</ulink> as they were
|
2015-05-25 01:43:45 +08:00
|
|
|
initially installed during the building of LFS.
|
|
|
|
</para>
|
2014-07-04 04:57:10 +08:00
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2014-02-19 01:38:44 +08:00
|
|
|
<seg>
|
2022-05-09 03:45:31 +08:00
|
|
|
gccgo, gfortran, go, and gofmt, hard-linked to architecture
|
2019-06-25 04:51:55 +08:00
|
|
|
specific names
|
2014-02-19 01:38:44 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2015-12-08 01:33:13 +08:00
|
|
|
libgfortran.{so,a},
|
2017-05-07 03:10:54 +08:00
|
|
|
libgo.{so,a}, libgobegin.a, libgolibbegin.a,
|
2015-12-08 01:33:13 +08:00
|
|
|
libobjc.{so,a}, and numerous other run-time libraries and executables
|
2014-02-19 01:38:44 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2017-08-16 00:58:22 +08:00
|
|
|
/usr/lib/go
|
2014-02-19 01:38:44 +08:00
|
|
|
</seg>
|
2005-05-05 04:49:36 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2013-02-11 04:46:59 +08:00
|
|
|
<varlistentry id="gccgo">
|
|
|
|
<term><command>gccgo</command></term>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
2016-08-31 21:17:26 +08:00
|
|
|
is a GCC-based compiler for the <application>Go</application>
|
2021-02-19 23:20:16 +08:00
|
|
|
language
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2013-02-11 04:46:59 +08:00
|
|
|
<indexterm zone="gcc gccgo">
|
|
|
|
<primary sortas="b-gccgo">gccgo</primary>
|
2005-05-05 04:49:36 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-07-29 21:39:07 +08:00
|
|
|
<varlistentry id="go">
|
|
|
|
<term><command>go</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a tool for managing <application>Go</application> source code
|
2015-07-29 21:39:07 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gcc go">
|
|
|
|
<primary sortas="b-go">go</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gofmt">
|
|
|
|
<term><command>gofmt</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a tool for formatting <application>Go</application> source code
|
2015-07-29 21:39:07 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gcc gofmt">
|
|
|
|
<primary sortas="b-gofmt">gofmt</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2022-05-09 03:45:31 +08:00
|
|
|
<!--
|
2019-06-25 04:51:55 +08:00
|
|
|
<varlistentry id="gdc">
|
|
|
|
<term><command>gdc</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a GCC-based compiler for the <application>D</application>
|
2021-02-19 23:20:16 +08:00
|
|
|
language
|
2019-06-25 04:51:55 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gcc gdc">
|
|
|
|
<primary sortas="b-gdc">gdc</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2022-05-09 03:45:31 +08:00
|
|
|
-->
|
2005-09-12 10:48:14 +08:00
|
|
|
<varlistentry id="gfortran">
|
|
|
|
<term><command>gfortran</command></term>
|
|
|
|
<listitem>
|
2015-05-25 01:43:45 +08:00
|
|
|
<para>
|
|
|
|
is a GCC-based compiler for the <application>Fortran</application>
|
2021-02-19 23:20:16 +08:00
|
|
|
language
|
2015-05-25 01:43:45 +08:00
|
|
|
</para>
|
2005-09-12 10:48:14 +08:00
|
|
|
<indexterm zone="gcc gfortran">
|
|
|
|
<primary sortas="b-gfortran">gfortran</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-05 04:49:36 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-08-16 23:43:44 +08:00
|
|
|
|
|
|
|
</sect1>
|