[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[800c9c3] | 7 | <!ENTITY gcc-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
|
---|
[9268fb5] | 8 | <!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
|
---|
[5512e64] | 9 | <!ENTITY gcc-md5sum "927eaac3d44b22f31f9c83df82f26436">
|
---|
| 10 | <!ENTITY gcc-size "62.8 MB">
|
---|
| 11 | <!ENTITY gcc-buildsize "~3.7 GB (build, test and install all compilers)">
|
---|
| 12 | <!ENTITY gcc-time "119 SBU (build, test and install all compilers)">
|
---|
| 13 |
|
---|
| 14 | <!ENTITY gnat-download-http "https://libre.adacore.com/libre/download/">
|
---|
| 15 | <!ENTITY gnat-md5sum "88d82a34ab0b67d2c03cef93527ca863">
|
---|
| 16 | <!ENTITY gnat-size "104 MB">
|
---|
[52d29f7] | 17 | ]>
|
---|
| 18 |
|
---|
[58bd309a] | 19 | <sect1 id="gcc" xreflabel="GCC-&gcc-version;">
|
---|
[70e3220] | 20 | <?dbhtml filename="gcc.html" ?>
|
---|
| 21 |
|
---|
| 22 | <sect1info>
|
---|
| 23 | <othername>$LastChangedBy$</othername>
|
---|
| 24 | <date>$Date$</date>
|
---|
| 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>GCC-&gcc-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="gcc">
|
---|
[800c9c3] | 30 | <primary sortas="a-gcc-4-0">GCC-&gcc-version;</primary>
|
---|
[70e3220] | 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to GCC</title>
|
---|
| 35 |
|
---|
[8092658] | 36 | <para>The <application>GCC</application> package contains GNU compilers.
|
---|
[800c9c3] | 37 | This package is useful for compiling programs written in C, C++, Fortran,
|
---|
[5512e64] | 38 | Java, Objective C, Objective C++, and Ada. You should ensure you actually
|
---|
| 39 | need one of these additional compilers (C and C++ are installed in LFS)
|
---|
| 40 | before you install them. Additionally, there are instructions in the BLFS
|
---|
| 41 | book to install the Sun Java Development Kit (<xref linkend="jdk"/>),
|
---|
| 42 | which can be used instead of the Java provided by the
|
---|
| 43 | <application>GCC</application> package. Many consider the Sun JDK to be a
|
---|
| 44 | more robust Java environment than the one provided by
|
---|
| 45 | <application>GCC</application>.</para>
|
---|
| 46 |
|
---|
[636acbb1] | 47 | <caution>
|
---|
| 48 | <para>If you are upgrading <application>GCC</application> from any other
|
---|
| 49 | version prior to &gcc-version;, then you must be careful compiling 3rd
|
---|
| 50 | party kernel modules. You should ensure that the kernel and all its
|
---|
| 51 | native modules are also compiled using the same version of
|
---|
| 52 | <application>GCC</application> that you use to build the 3rd party module.
|
---|
| 53 | This issue does not affect native kernel (and kernel modules) updates,
|
---|
| 54 | as the instructions below are a complete reinstallation of
|
---|
| 55 | <application>GCC</application>. If you have existing 3rd party modules
|
---|
| 56 | installed, ensure they are recompiled using the updated version of
|
---|
| 57 | <application>GCC</application>. As always, never update the kernel
|
---|
| 58 | headers from the ones used when <application>Glibc</application> was
|
---|
| 59 | compiled during LFS.</para>
|
---|
| 60 | </caution>
|
---|
| 61 |
|
---|
[5512e64] | 62 | &lfs65_checked;
|
---|
| 63 |
|
---|
| 64 | <!-- <note>
|
---|
[800c9c3] | 65 | <para>The Fortran compiler included with the
|
---|
| 66 | <application>GCC</application>-4.x package now aims to be conformant
|
---|
| 67 | with the Fortran 95 standard, not the Fortran 77 standard as all previous
|
---|
| 68 | versions of <application>GCC</application> have been. Please note the
|
---|
| 69 | following paragraph copied directly from the
|
---|
| 70 | <application>GCC</application>-&gcc-version; <command>gfortran</command>
|
---|
| 71 | man page.</para>
|
---|
| 72 |
|
---|
| 73 | <para><quote>Gfortran is not yet a fully conformant Fortran 95 compiler.
|
---|
| 74 | It can generate code for most constructs and expressions, but work
|
---|
| 75 | remains to be done. In particular, there are known deficiencies with
|
---|
| 76 | ENTRY, NAMELIST, and sophisticated use of MODULES, POINTERS and DERIVED
|
---|
| 77 | TYPES. For those whose Fortran codes conform to either the Fortran 77
|
---|
| 78 | standard or the GNU Fortran 77 language, we recommend to use
|
---|
| 79 | <command>g77</command> from <application>GCC</application>
|
---|
[8cfa6af] | 80 | 3.4.x</quote></para>
|
---|
| 81 |
|
---|
| 82 | <para>Instructions to install the 3.4.6 version of the Fortran compiler
|
---|
[43b1987f] | 83 | can be found in <xref linkend="gcc3"/> and on the
|
---|
[4e88613] | 84 | <ulink url="&blfs-wiki;/gcc3">BLFS
|
---|
[8cfa6af] | 85 | Wiki</ulink>.</para>
|
---|
[5512e64] | 86 | </note> -->
|
---|
[70e3220] | 87 |
|
---|
| 88 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 89 | <itemizedlist spacing="compact">
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>Download (HTTP): <ulink url="&gcc-download-http;"/></para>
|
---|
| 92 | </listitem>
|
---|
| 93 | <listitem>
|
---|
| 94 | <para>Download (FTP): <ulink url="&gcc-download-ftp;"/></para>
|
---|
| 95 | </listitem>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>Download MD5 sum: &gcc-md5sum;</para>
|
---|
| 98 | </listitem>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>Download size: &gcc-size;</para>
|
---|
| 101 | </listitem>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>Estimated disk space required: &gcc-buildsize;</para>
|
---|
| 104 | </listitem>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Estimated build time: &gcc-time;</para>
|
---|
| 107 | </listitem>
|
---|
| 108 | </itemizedlist>
|
---|
| 109 |
|
---|
| 110 | <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
|
---|
| 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[256ee72c] | 113 | <para role="recommended"><xref linkend="dejagnu"/></para>
|
---|
[70e3220] | 114 |
|
---|
| 115 | <note>
|
---|
[8092658] | 116 | <para>If you plan to compile Ada, you will need to install
|
---|
| 117 | <application>GNAT</application> temporarily to satisfy the circular
|
---|
[0619e6d] | 118 | dependency when you recompile <application>GCC</application>
|
---|
[3e74bafe] | 119 | to include Ada. The download location shown below requires that you
|
---|
| 120 | create an account on the AdaCore site before you can download the
|
---|
| 121 | package. Nothing is required other than a valid email address.</para>
|
---|
| 122 |
|
---|
[5512e64] | 123 | <para>At the AdaCore download page, choose your platform and 2009. Then
|
---|
| 124 | scroll down and click on <quote>Files</quote>. Download the file named
|
---|
| 125 | <filename>gnat-gpl-2009-1-i686-gnu-linux-libc2.3-bin.tar.gz</filename>.
|
---|
[3e74bafe] | 126 | </para>
|
---|
[70e3220] | 127 | </note>
|
---|
| 128 |
|
---|
[5512e64] | 129 | <bridgehead renderas="sect3">GNAT GPL 2009 Package Information</bridgehead>
|
---|
[70e3220] | 130 | <itemizedlist spacing="compact">
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
|
---|
| 133 | </listitem>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>Download MD5 sum: &gnat-md5sum;</para>
|
---|
| 136 | </listitem>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>Download size: &gnat-size;</para>
|
---|
| 139 | </listitem>
|
---|
| 140 | </itemizedlist>
|
---|
| 141 |
|
---|
[1039de3] | 142 | <para condition="html" role="usernotes">User Notes:
|
---|
| 143 | <ulink url="&blfs-wiki;/gcc"/></para>
|
---|
| 144 |
|
---|
[70e3220] | 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="installation">
|
---|
| 148 | <title>Installation of GNAT</title>
|
---|
| 149 |
|
---|
[5512e64] | 150 | <para>Before unpacking and changing into the GCC build directory, first
|
---|
| 151 | unpack the <application>GNAT</application> tarball and change into the
|
---|
| 152 | newly created directory and install <application>GNAT</application> by
|
---|
| 153 | running the following command:</para>
|
---|
[70e3220] | 154 |
|
---|
[5512e64] | 155 | <screen><userinput>make ins-all prefix=<replaceable><Your build directory></replaceable>/gnat</userinput></screen>
|
---|
[3a3f7b84] | 156 |
|
---|
[8092658] | 157 | <para>The <application>GNAT</application> compiler can be
|
---|
| 158 | invoked by executing the <command>gcc</command> binary installed
|
---|
[5512e64] | 159 | in <filename
|
---|
| 160 | class='directory'><replaceable><Your build directory></replaceable>/gnat/bin</filename>.</para>
|
---|
[70e3220] | 161 |
|
---|
[0619e6d] | 162 | <para>You may now remove the <application>GNAT</application>
|
---|
[70e3220] | 163 | source directory:</para>
|
---|
| 164 |
|
---|
| 165 | <screen><userinput>cd .. &&
|
---|
[5512e64] | 166 | rm -rf gnat-2009-i686-gnu-linux-libc2.3-bin</userinput></screen>
|
---|
[70e3220] | 167 |
|
---|
[8092658] | 168 | <para>Prepare to compile <application>GCC</application> by placing the
|
---|
[800c9c3] | 169 | <application>GNAT</application> version of <command>gcc</command> at the
|
---|
| 170 | beginning of the <envar>PATH</envar> variable by using the following
|
---|
| 171 | commands:</para>
|
---|
[70e3220] | 172 |
|
---|
| 173 | <screen><userinput>PATH_HOLD=$PATH &&
|
---|
[5512e64] | 174 | export PATH=<replaceable><Your build directory></replaceable>/gnat/bin:$PATH_HOLD</userinput></screen>
|
---|
[70e3220] | 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="installation">
|
---|
| 179 | <title>Installation of GCC</title>
|
---|
| 180 |
|
---|
[8092658] | 181 | <para>Install <application>GCC</application> by running the
|
---|
[70e3220] | 182 | following commands:</para>
|
---|
| 183 |
|
---|
| 184 | <important>
|
---|
[8092658] | 185 | <para>The installation process may overwrite your existing
|
---|
[800c9c3] | 186 | <application>GCC</application> <command>gcc</command> and
|
---|
| 187 | <command>c++</command> compilers and libraries. It is highly recommended
|
---|
| 188 | that you have the <application>Tcl</application>,
|
---|
[0619e6d] | 189 | <application>Expect</application> and <application>DejaGnu</application>
|
---|
[4ea5113] | 190 | packages installed before beginning the build so you can run the full
|
---|
| 191 | suite of tests.</para>
|
---|
[70e3220] | 192 |
|
---|
[8092658] | 193 | <para>Do not continue with the <command>make install</command> command
|
---|
[fa0e8e65] | 194 | until you are confident the build was successful. You can compare your
|
---|
[4ea5113] | 195 | test results with those found at
|
---|
| 196 | <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
|
---|
[5512e64] | 197 | i686 32-bit platform test result produced by an LFS-6.5 system at
|
---|
| 198 | <ulink url="&files-anduin;/gcc441_test.txt"/>. You
|
---|
[4ea5113] | 199 | may also want to refer to the information found in the
|
---|
[3e74bafe] | 200 | <application>GCC</application> section of Chapter 6 in the LFS
|
---|
| 201 | book (<ulink url="&lfs-root;/chapter06/gcc.html"/>).</para>
|
---|
[70e3220] | 202 | </important>
|
---|
| 203 |
|
---|
[3e74bafe] | 204 | <para>The instructions below perform a <quote><command>make
|
---|
| 205 | bootstrap</command></quote> instead of just a plain
|
---|
| 206 | <quote><command>make</command></quote> intentionally. Even though it is
|
---|
| 207 | assumed that the current version of <application>GCC</application> is
|
---|
| 208 | installed in LFS, because this installation includes the Ada compiler as an
|
---|
| 209 | installed language, a bootstrap is required. The GNAT compiler must be used
|
---|
| 210 | for stage1 of the bootstrap in order to build Ada. If the process didn't
|
---|
| 211 | use a <quote>bootstrap</quote> you could end up having a
|
---|
| 212 | <command>gcc</command> installed on the system that was produced by a
|
---|
[2f85c65] | 213 | foreign compiler.</para>
|
---|
[d02add0] | 214 |
|
---|
[800c9c3] | 215 | <screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
|
---|
[01d7eb0] | 216 | sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
|
---|
[5512e64] | 217 |
|
---|
[8ca386d] | 218 | mkdir ../gcc-build &&
|
---|
[5512e64] | 219 | cd ../gcc-build &&
|
---|
| 220 |
|
---|
[800c9c3] | 221 | ../gcc-&gcc-version;/configure \
|
---|
| 222 | --prefix=/usr \
|
---|
| 223 | --libexecdir=/usr/lib \
|
---|
| 224 | --enable-shared \
|
---|
| 225 | --enable-threads=posix \
|
---|
| 226 | --enable-__cxa_atexit \
|
---|
[5512e64] | 227 | --disable-multilib \
|
---|
| 228 | --enable-bootstrap \
|
---|
[800c9c3] | 229 | --enable-clocale=gnu \
|
---|
[5512e64] | 230 | --enable-languages=c,c++,ada,fortran,java,objc,obj-c++ &&
|
---|
| 231 |
|
---|
[572c673] | 232 | make bootstrap &&
|
---|
[5512e64] | 233 | make -k check &&
|
---|
| 234 |
|
---|
[70e3220] | 235 | ../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
|
---|
[8c9ec303] | 236 |
|
---|
[70e3220] | 237 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8c9ec303] | 238 |
|
---|
[70e3220] | 239 | <screen role="root"><userinput>make install &&
|
---|
[5512e64] | 240 |
|
---|
[8c9ec303] | 241 | ln -v -sf ../usr/bin/cpp /lib &&
|
---|
| 242 | ln -v -sf gcc /usr/bin/cc &&
|
---|
[5512e64] | 243 |
|
---|
[38485e5c] | 244 | chown -v -R root:root \
|
---|
[5512e64] | 245 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include \
|
---|
[70e3220] | 246 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
|
---|
| 247 |
|
---|
[f182eed] | 248 | <para>The <filename class='libraryfile'>libffi</filename> interface header
|
---|
| 249 | is installed in a location where other packages will not be able to find
|
---|
| 250 | it. If you included Java as one of the installed languages, create a
|
---|
| 251 | symbolic link in <filename class='directory'>/usr/include</filename> to
|
---|
| 252 | remedy this:</para>
|
---|
| 253 |
|
---|
| 254 | <screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
|
---|
| 255 |
|
---|
[5512e64] | 256 | <para>You should now become the unprivileged user and remove the
|
---|
| 257 | <application>GNAT</application> installation and perform other
|
---|
| 258 | cleanups:</para>
|
---|
[70e3220] | 259 |
|
---|
[5512e64] | 260 | <screen><userinput>rm -rf <replaceable><Your build directory></replaceable>/gnat</userinput></screen>
|
---|
[70e3220] | 261 |
|
---|
| 262 | <screen><userinput>export PATH=$PATH_HOLD &&
|
---|
| 263 | unset PATH_HOLD</userinput></screen>
|
---|
| 264 |
|
---|
| 265 | </sect2>
|
---|
| 266 |
|
---|
| 267 | <sect2 role="commands">
|
---|
| 268 | <title>Command Explanations</title>
|
---|
| 269 |
|
---|
[5512e64] | 270 | <para>The two <command>sed</command> commands are the same ones used
|
---|
| 271 | during the build of LFS.</para>
|
---|
[70e3220] | 272 |
|
---|
[8092658] | 273 | <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
|
---|
| 274 | <application>GCC</application> documentation recommends
|
---|
[70e3220] | 275 | building the package in a dedicated build directory.</para>
|
---|
| 276 |
|
---|
| 277 | <para><parameter>--enable-shared --enable-threads=posix
|
---|
[800c9c3] | 278 | --enable-__cxa_atexit</parameter>: These parameters are required to build
|
---|
[70e3220] | 279 | the <application>C++</application> libraries to published standards.</para>
|
---|
| 280 |
|
---|
[5512e64] | 281 | <para><parameter>--disable-multilib</parameter>: This parameter ensures
|
---|
| 282 | that files are created for the specific arch of your computer.</para>
|
---|
| 283 |
|
---|
| 284 | <para><parameter>--enable-bootstrap</parameter>: This parameter is used
|
---|
| 285 | so that a bootstrap installation is performed.</para>
|
---|
| 286 |
|
---|
| 287 | <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
|
---|
[70e3220] | 288 | failsafe for incomplete locale data.</para>
|
---|
| 289 |
|
---|
[800c9c3] | 290 | <para>
|
---|
[5512e64] | 291 | <parameter>--enable-languages=c,c++,ada,fortran,java,objc,obj-c++</parameter>:
|
---|
[8092658] | 292 | This command identifies which languages to build. You may modify this command
|
---|
[70e3220] | 293 | to remove undesired languages.</para>
|
---|
| 294 |
|
---|
[8092658] | 295 | <para><command>make -k check</command>: This command runs the test suite
|
---|
[800c9c3] | 296 | without stopping if any errors are encountered.</para>
|
---|
[70e3220] | 297 |
|
---|
[8092658] | 298 | <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
|
---|
| 299 | command will produce a summary of the test suite results. You can append
|
---|
[70e3220] | 300 | <command>| grep -A7 Summ</command> to the command to produce an even more
|
---|
[800c9c3] | 301 | condensed version of the summary. You may also wish to redirect the output
|
---|
| 302 | to a file for review and comparison later on.</para>
|
---|
[70e3220] | 303 |
|
---|
[800c9c3] | 304 | <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
|
---|
| 305 | creates a link to the C PreProcessor as some packages expect it to be
|
---|
| 306 | installed in the <filename class='directory'>/lib</filename>
|
---|
| 307 | directory.</para>
|
---|
[70e3220] | 308 |
|
---|
[800c9c3] | 309 | <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
|
---|
| 310 | some packages refer to the C compiler using an alternate name.</para>
|
---|
[70e3220] | 311 |
|
---|
[800c9c3] | 312 | <para><command>chown -v -R root:root
|
---|
| 313 | /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
|
---|
[8092658] | 314 | If the package is built by a user other than root, the ownership of the
|
---|
| 315 | installed <filename class='directory'>include</filename> and
|
---|
| 316 | <filename class='directory'>adalib</filename> directories (and their
|
---|
[800c9c3] | 317 | contents) will be incorrect. These commands change the ownership to the
|
---|
| 318 | <systemitem class="username">root</systemitem> user and group . Omit the
|
---|
| 319 | command changing the Ada directories if you did not include Ada as one of
|
---|
| 320 | the installed languages.</para>
|
---|
[70e3220] | 321 |
|
---|
| 322 | </sect2>
|
---|
| 323 |
|
---|
| 324 | <sect2 role="content">
|
---|
| 325 | <title>Contents</title>
|
---|
| 326 |
|
---|
| 327 | <segmentedlist>
|
---|
| 328 | <segtitle>Installed Programs</segtitle>
|
---|
| 329 | <segtitle>Installed Libraries</segtitle>
|
---|
| 330 | <segtitle>Installed Directories</segtitle>
|
---|
| 331 |
|
---|
| 332 | <seglistitem>
|
---|
[800c9c3] | 333 | <seg>addr2name.awk, fastjar, gcj, gcj-dbtool,gcjh, gfortran, gij,
|
---|
| 334 | gjnih, gnat, gnatbind, gnatbl, gnatchop, gnatclean, gnatfind, gnatkr,
|
---|
| 335 | gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gprmake,
|
---|
| 336 | grepjar, grmic, grmiregistry, gtreelang, jcf-dump, jv-convert, jv-scan
|
---|
| 337 | and architecture specific names for gcj and gcjh</seg>
|
---|
[1039de3] | 338 | <seg>libffi.{so,a}, libgcj.{so,a}, libgfortran.{so,a},
|
---|
| 339 | libgfortranbegin.a, libgij.{so,a}, libobjc.{so,a} and numerous other
|
---|
[800c9c3] | 340 | run-time libraries and executables in /usr/lib/gcc</seg>
|
---|
[3a3f7b84] | 341 | <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org},
|
---|
| 342 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{include,lib},
|
---|
| 343 | /usr/lib/gcj-&gcc-version;,
|
---|
[800c9c3] | 344 | /usr/lib/security
|
---|
| 345 | and /usr/share/java</seg>
|
---|
[70e3220] | 346 | </seglistitem>
|
---|
| 347 | </segmentedlist>
|
---|
| 348 |
|
---|
[800c9c3] | 349 | <para>Some program and library names and descriptions are not listed here,
|
---|
| 350 | but can be found at
|
---|
| 351 | <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/> as they were
|
---|
| 352 | initially installed during the building of LFS.</para>
|
---|
| 353 |
|
---|
[70e3220] | 354 | <variablelist>
|
---|
| 355 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 356 | <?dbfo list-presentation="list"?>
|
---|
| 357 | <?dbhtml list-presentation="table"?>
|
---|
| 358 |
|
---|
| 359 | <varlistentry id="addr2name.awk">
|
---|
| 360 | <term><command>addr2name.awk</command></term>
|
---|
| 361 | <listitem>
|
---|
| 362 | <para> emulates some of the functionality of addr2line.</para>
|
---|
| 363 | <indexterm zone="gcc addr2name.awk">
|
---|
| 364 | <primary sortas="b-addr2name.awk">addr2name.awk</primary>
|
---|
| 365 | </indexterm>
|
---|
| 366 | </listitem>
|
---|
| 367 | </varlistentry>
|
---|
| 368 |
|
---|
[800c9c3] | 369 | <varlistentry id="fastjar-gcc">
|
---|
| 370 | <term><command>fastjar</command></term>
|
---|
[70e3220] | 371 | <listitem>
|
---|
[800c9c3] | 372 | <para>is an archive tool for <application>Java</application> archives.</para>
|
---|
| 373 | <indexterm zone="gcc fastjar-gcc">
|
---|
| 374 | <primary sortas="b-fastjar">fastjar</primary>
|
---|
[70e3220] | 375 | </indexterm>
|
---|
| 376 | </listitem>
|
---|
| 377 | </varlistentry>
|
---|
| 378 |
|
---|
| 379 | <varlistentry id="gcj">
|
---|
| 380 | <term><command>gcj</command></term>
|
---|
| 381 | <listitem>
|
---|
[8092658] | 382 | <para>is an ahead-of-time compiler for the
|
---|
[70e3220] | 383 | <application>Java</application> language.</para>
|
---|
| 384 | <indexterm zone="gcc gcj">
|
---|
| 385 | <primary sortas="b-gcj">gcj</primary>
|
---|
| 386 | </indexterm>
|
---|
| 387 | </listitem>
|
---|
| 388 | </varlistentry>
|
---|
| 389 |
|
---|
[800c9c3] | 390 | <varlistentry id="gcj-dbtool">
|
---|
| 391 | <term><command>gcj-dbtool</command></term>
|
---|
| 392 | <listitem>
|
---|
| 393 | <para>is a tool for creating and manipulating class file mapping
|
---|
| 394 | databases.</para>
|
---|
| 395 | <indexterm zone="gcc gcj-dbtool">
|
---|
| 396 | <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
|
---|
| 397 | </indexterm>
|
---|
| 398 | </listitem>
|
---|
| 399 | </varlistentry>
|
---|
| 400 |
|
---|
[70e3220] | 401 | <varlistentry id="gcjh">
|
---|
| 402 | <term><command>gcjh</command></term>
|
---|
| 403 | <listitem>
|
---|
[0619e6d] | 404 | <para>generates header files from <application>Java</application>
|
---|
[70e3220] | 405 | class files.</para>
|
---|
| 406 | <indexterm zone="gcc gcjh">
|
---|
| 407 | <primary sortas="b-gcjh">gcjh</primary>
|
---|
| 408 | </indexterm>
|
---|
| 409 | </listitem>
|
---|
| 410 | </varlistentry>
|
---|
| 411 |
|
---|
[800c9c3] | 412 | <varlistentry id="gfortran">
|
---|
| 413 | <term><command>gfortran</command></term>
|
---|
| 414 | <listitem>
|
---|
| 415 | <para>is the <application>Fortran</application> compiler invoked by
|
---|
| 416 | <command>gcc</command>.</para>
|
---|
| 417 | <indexterm zone="gcc gfortran">
|
---|
| 418 | <primary sortas="b-gfortran">gfortran</primary>
|
---|
| 419 | </indexterm>
|
---|
| 420 | </listitem>
|
---|
| 421 | </varlistentry>
|
---|
| 422 |
|
---|
[70e3220] | 423 | <varlistentry id="gij">
|
---|
| 424 | <term><command>gij</command></term>
|
---|
| 425 | <listitem>
|
---|
[0619e6d] | 426 | <para>is the GNU interpreter for <application>Java</application>
|
---|
[70e3220] | 427 | bytecode.</para>
|
---|
| 428 | <indexterm zone="gcc gij">
|
---|
| 429 | <primary sortas="b-gij">gij</primary>
|
---|
| 430 | </indexterm>
|
---|
| 431 | </listitem>
|
---|
| 432 | </varlistentry>
|
---|
| 433 |
|
---|
[800c9c3] | 434 | <varlistentry id="gjnih">
|
---|
| 435 | <term><command>gjnij</command></term>
|
---|
| 436 | <listitem>
|
---|
| 437 | <para>is used to generate JNI header files from class files. Running
|
---|
| 438 | it is equivalent to running <command>gcjh -jni</command>.</para>
|
---|
| 439 | <indexterm zone="gcc gjnih">
|
---|
| 440 | <primary sortas="b-gjnih">gjnih</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
[70e3220] | 445 | <varlistentry id="gnat">
|
---|
| 446 | <term><command>gnat</command></term>
|
---|
| 447 | <listitem>
|
---|
[8092658] | 448 | <para>is the <application>Ada</application> compiler invoked by
|
---|
[70e3220] | 449 | <command>gcc</command>.</para>
|
---|
| 450 | <indexterm zone="gcc gnat">
|
---|
| 451 | <primary sortas="b-gnat">gnat</primary>
|
---|
| 452 | </indexterm>
|
---|
| 453 | </listitem>
|
---|
| 454 | </varlistentry>
|
---|
| 455 |
|
---|
| 456 | <varlistentry id="gnatbind">
|
---|
| 457 | <term><command>gnatbind</command></term>
|
---|
| 458 | <listitem>
|
---|
| 459 | <para>is used to bind compiled objects.</para>
|
---|
| 460 | <indexterm zone="gcc gnatbind">
|
---|
| 461 | <primary sortas="b-gnatbind">gnatbind</primary>
|
---|
| 462 | </indexterm>
|
---|
| 463 | </listitem>
|
---|
| 464 | </varlistentry>
|
---|
| 465 |
|
---|
| 466 | <varlistentry id="gnatbl">
|
---|
| 467 | <term><command>gnatbl</command></term>
|
---|
| 468 | <listitem>
|
---|
| 469 | <para>is the <application>Ada</application> linker.</para>
|
---|
| 470 | <indexterm zone="gcc gnatbl">
|
---|
| 471 | <primary sortas="b-gnatbl">gnatbl</primary>
|
---|
| 472 | </indexterm>
|
---|
| 473 | </listitem>
|
---|
| 474 | </varlistentry>
|
---|
| 475 |
|
---|
| 476 | <varlistentry id="gnatchop">
|
---|
| 477 | <term><command>gnatchop</command></term>
|
---|
| 478 | <listitem>
|
---|
[8092658] | 479 | <para>is useful for renaming files to meet the standard
|
---|
[70e3220] | 480 | <application>Ada</application> default file naming conventions.</para>
|
---|
| 481 | <indexterm zone="gcc gnatchop">
|
---|
| 482 | <primary sortas="b-gnatchop">gnatchop</primary>
|
---|
| 483 | </indexterm>
|
---|
| 484 | </listitem>
|
---|
| 485 | </varlistentry>
|
---|
| 486 |
|
---|
| 487 | <varlistentry id="gnatclean">
|
---|
| 488 | <term><command>gnatclean</command></term>
|
---|
| 489 | <listitem>
|
---|
[8092658] | 490 | <para>is used to remove files associated with a
|
---|
[70e3220] | 491 | <application>GNAT</application> project.</para>
|
---|
| 492 | <indexterm zone="gcc gnatclean">
|
---|
| 493 | <primary sortas="b-gnatclean">gnatclean</primary>
|
---|
| 494 | </indexterm>
|
---|
| 495 | </listitem>
|
---|
| 496 | </varlistentry>
|
---|
| 497 |
|
---|
| 498 | <varlistentry id="gnatfind">
|
---|
| 499 | <term><command>gnatfind</command></term>
|
---|
| 500 | <listitem>
|
---|
| 501 | <para> is the <application>GNAT</application> definition/use finder.</para>
|
---|
| 502 | <indexterm zone="gcc gnatfind">
|
---|
| 503 | <primary sortas="b-gnatfind">gnatfind</primary>
|
---|
| 504 | </indexterm>
|
---|
| 505 | </listitem>
|
---|
| 506 | </varlistentry>
|
---|
| 507 |
|
---|
| 508 | <varlistentry id="gnatkr">
|
---|
| 509 | <term><command>gnatkr</command></term>
|
---|
| 510 | <listitem>
|
---|
[8092658] | 511 | <para>is used to determine the crunched name for a given file, when
|
---|
[70e3220] | 512 | crunched to a specified maximum length.</para>
|
---|
| 513 | <indexterm zone="gcc gnatkr">
|
---|
| 514 | <primary sortas="b-gnatkr">gnatkr</primary>
|
---|
| 515 | </indexterm>
|
---|
| 516 | </listitem>
|
---|
| 517 | </varlistentry>
|
---|
| 518 |
|
---|
| 519 | <varlistentry id="gnatlink">
|
---|
| 520 | <term><command>gnatlink</command></term>
|
---|
| 521 | <listitem>
|
---|
| 522 | <para>is used to link programs and build an executable file.</para>
|
---|
| 523 | <indexterm zone="gcc gnatlink">
|
---|
| 524 | <primary sortas="b-gnatlink">gnatlink</primary>
|
---|
| 525 | </indexterm>
|
---|
| 526 | </listitem>
|
---|
| 527 | </varlistentry>
|
---|
| 528 |
|
---|
| 529 | <varlistentry id="gnatls">
|
---|
| 530 | <term><command>gnatls</command></term>
|
---|
| 531 | <listitem>
|
---|
| 532 | <para>is the compiled unit browser.</para>
|
---|
| 533 | <indexterm zone="gcc gnatls">
|
---|
| 534 | <primary sortas="b-gnatls">gnatls</primary>
|
---|
| 535 | </indexterm>
|
---|
| 536 | </listitem>
|
---|
| 537 | </varlistentry>
|
---|
| 538 |
|
---|
| 539 | <varlistentry id="gnatmake">
|
---|
| 540 | <term><command>gnatmake</command></term>
|
---|
| 541 | <listitem>
|
---|
| 542 | <para>is an automatic <command>make</command> facility.</para>
|
---|
| 543 | <indexterm zone="gcc gnatmake">
|
---|
| 544 | <primary sortas="b-gnatmake">gnatmake</primary>
|
---|
| 545 | </indexterm>
|
---|
| 546 | </listitem>
|
---|
| 547 | </varlistentry>
|
---|
| 548 |
|
---|
| 549 | <varlistentry id="gnatname">
|
---|
| 550 | <term><command>gnatname</command></term>
|
---|
| 551 | <listitem>
|
---|
| 552 | <para>will list the files associated with a
|
---|
| 553 | <application>GNAT</application> project.</para>
|
---|
| 554 | <indexterm zone="gcc gnatname">
|
---|
| 555 | <primary sortas="b-gnatname">gnatname</primary>
|
---|
| 556 | </indexterm>
|
---|
| 557 | </listitem>
|
---|
| 558 | </varlistentry>
|
---|
| 559 |
|
---|
| 560 | <varlistentry id="gnatprep">
|
---|
| 561 | <term><command>gnatprep</command></term>
|
---|
| 562 | <listitem>
|
---|
| 563 | <para>is the <application>GNAT</application> external preprocessor.</para>
|
---|
| 564 | <indexterm zone="gcc gnatprep">
|
---|
| 565 | <primary sortas="b-gnatprep">gnatprep</primary>
|
---|
| 566 | </indexterm>
|
---|
| 567 | </listitem>
|
---|
| 568 | </varlistentry>
|
---|
| 569 |
|
---|
| 570 | <varlistentry id="gnatxref">
|
---|
| 571 | <term><command>gnatxref</command></term>
|
---|
| 572 | <listitem>
|
---|
| 573 | <para>is the <application>GNAT</application> cross-referencer.</para>
|
---|
| 574 | <indexterm zone="gcc gnatxref">
|
---|
| 575 | <primary sortas="b-gnatxref">gnatxref</primary>
|
---|
| 576 | </indexterm>
|
---|
| 577 | </listitem>
|
---|
| 578 | </varlistentry>
|
---|
| 579 |
|
---|
[800c9c3] | 580 | <varlistentry id="gprmake">
|
---|
| 581 | <term><command>gprmake</command></term>
|
---|
[70e3220] | 582 | <listitem>
|
---|
[8092658] | 583 | <para>is a tool used to create <filename>Makefile</filename>s that
|
---|
[70e3220] | 584 | support compilation by multiple languages.</para>
|
---|
[800c9c3] | 585 | <indexterm zone="gcc gprmake">
|
---|
| 586 | <primary sortas="b-gprmake">gprmake</primary>
|
---|
[70e3220] | 587 | </indexterm>
|
---|
| 588 | </listitem>
|
---|
| 589 | </varlistentry>
|
---|
| 590 |
|
---|
| 591 | <varlistentry id="grepjar">
|
---|
| 592 | <term><command>grepjar</command></term>
|
---|
| 593 | <listitem>
|
---|
| 594 | <para>searches <filename>jar</filename> files for a pattern.</para>
|
---|
| 595 | <indexterm zone="gcc grepjar">
|
---|
| 596 | <primary sortas="b-grepjar">grepjar</primary>
|
---|
| 597 | </indexterm>
|
---|
| 598 | </listitem>
|
---|
| 599 | </varlistentry>
|
---|
| 600 |
|
---|
[800c9c3] | 601 | <varlistentry id="grmic-gcc">
|
---|
| 602 | <term><command>grmic</command></term>
|
---|
[70e3220] | 603 | <listitem>
|
---|
[800c9c3] | 604 | <para>generates stubs for Remote Method Invocation.</para>
|
---|
| 605 | <indexterm zone="gcc grmic-gcc">
|
---|
| 606 | <primary sortas="b-grmic">grmic</primary>
|
---|
| 607 | </indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
| 610 |
|
---|
| 611 | <varlistentry id="grmiregistry-gcc">
|
---|
| 612 | <term><command>grmiregistry</command></term>
|
---|
| 613 | <listitem>
|
---|
| 614 | <para> starts a remote object registry on the current host.</para>
|
---|
| 615 | <indexterm zone="gcc grmiregistry-gcc">
|
---|
| 616 | <primary sortas="b-grmiregistry">grmiregistry</primary>
|
---|
| 617 | </indexterm>
|
---|
| 618 | </listitem>
|
---|
| 619 | </varlistentry>
|
---|
| 620 |
|
---|
| 621 | <varlistentry id="gtreelang">
|
---|
| 622 | <term><command>gtreelang</command></term>
|
---|
| 623 | <listitem>
|
---|
| 624 | <para>is largely a cut down version of C, designed to showcase the
|
---|
| 625 | features of the <application>GCC</application> code generation back
|
---|
| 626 | end. Only those features that are directly supported by the
|
---|
| 627 | <application>GCC</application> code generation back end are
|
---|
| 628 | implemented. Features are implemented in a manner which is easiest
|
---|
| 629 | and clearest to implement. Not all or even most code generation back
|
---|
| 630 | end features are implemented. The intention is to add features
|
---|
| 631 | incrementally until most features of the
|
---|
| 632 | <application>GCC</application> back end are implemented in
|
---|
| 633 | Treelang.</para>
|
---|
| 634 | <indexterm zone="gcc gtreelang">
|
---|
| 635 | <primary sortas="b-gtreelang">gtreelang</primary>
|
---|
[70e3220] | 636 | </indexterm>
|
---|
| 637 | </listitem>
|
---|
| 638 | </varlistentry>
|
---|
| 639 |
|
---|
| 640 | <varlistentry id="jcf-dump">
|
---|
| 641 | <term><command>jcf-dump</command></term>
|
---|
| 642 | <listitem>
|
---|
[0619e6d] | 643 | <para>prints information about <application>Java</application>
|
---|
[70e3220] | 644 | class files.</para>
|
---|
| 645 | <indexterm zone="gcc jcf-dump">
|
---|
| 646 | <primary sortas="b-jcf-dump">jcf-dump</primary>
|
---|
| 647 | </indexterm>
|
---|
| 648 | </listitem>
|
---|
| 649 | </varlistentry>
|
---|
| 650 |
|
---|
| 651 | <varlistentry id="jv-convert">
|
---|
| 652 | <term><command>jv-convert</command></term>
|
---|
| 653 | <listitem>
|
---|
| 654 | <para>converts files from one encoding to another.</para>
|
---|
| 655 | <indexterm zone="gcc jv-convert">
|
---|
| 656 | <primary sortas="b-jv-convert">jv-convert</primary>
|
---|
| 657 | </indexterm>
|
---|
| 658 | </listitem>
|
---|
| 659 | </varlistentry>
|
---|
| 660 |
|
---|
| 661 | <varlistentry id="jv-scan">
|
---|
| 662 | <term><command>jv-scan</command></term>
|
---|
| 663 | <listitem>
|
---|
[0619e6d] | 664 | <para>prints information about <application>Java</application>
|
---|
[70e3220] | 665 | source files.</para>
|
---|
| 666 | <indexterm zone="gcc jv-scan">
|
---|
| 667 | <primary sortas="b-jv-scan">jv-scan</primary>
|
---|
| 668 | </indexterm>
|
---|
| 669 | </listitem>
|
---|
| 670 | </varlistentry>
|
---|
| 671 |
|
---|
| 672 | </variablelist>
|
---|
| 673 |
|
---|
| 674 | </sect2>
|
---|
[1a686a1] | 675 |
|
---|
| 676 | </sect1>
|
---|