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