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