[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gcc-download-http "http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
|
---|
| 8 | <!ENTITY gcc-download-ftp "ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
|
---|
[0b17574] | 9 | <!ENTITY gcc-md5sum "e744b30c834360fccac41eb7269a3011">
|
---|
| 10 | <!ENTITY gcc-size "27.4 MB">
|
---|
| 11 | <!ENTITY gcc-buildsize "1.62 GB">
|
---|
| 12 | <!ENTITY gcc-time "45.50 SBU (build and install all compilers)">
|
---|
[8ca386d] | 13 |
|
---|
[3b15fe6] | 14 | <!ENTITY gnat-download-http " ">
|
---|
[52d29f7] | 15 | <!ENTITY gnat-download-ftp "ftp://cs.nyu.edu/pub/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz">
|
---|
[0e92f49] | 16 | <!ENTITY gnat-md5sum "57c060cd1ccef8b1ae9165b11d98780a">
|
---|
[0b17574] | 17 | <!ENTITY gnat-size "13.4 MB">
|
---|
[3b15fe6] | 18 | <!ENTITY gnat-time "0.01 SBU">
|
---|
[0e92f49] | 19 |
|
---|
| 20 | <!ENTITY gcc-testsuite-url "http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-testsuite-&gcc-version;.tar.bz2">
|
---|
[0b17574] | 21 | <!ENTITY gcc-testsuite-md5sum "b4fff6ce0a038021b9e507917abb9a07">
|
---|
[52d29f7] | 22 | ]>
|
---|
| 23 |
|
---|
[58bd309a] | 24 | <sect1 id="gcc" xreflabel="GCC-&gcc-version;">
|
---|
[a0f03b0] | 25 | <sect1info>
|
---|
[5cd0959d] | 26 | <othername>$LastChangedBy$</othername>
|
---|
| 27 | <date>$Date$</date>
|
---|
[a0f03b0] | 28 | </sect1info>
|
---|
[19aa75a] | 29 | <?dbhtml filename="gcc.html" ?>
|
---|
[58bd309a] | 30 | <title>GCC-&gcc-version;</title>
|
---|
[8c9ec303] | 31 | <indexterm zone="gcc">
|
---|
| 32 | <primary sortas="a-gcc-3-4">GCC-&gcc-version;</primary></indexterm>
|
---|
[1a686a1] | 33 |
|
---|
[52d29f7] | 34 | <sect2>
|
---|
| 35 | <title>Introduction to <application><acronym>GCC</acronym></application></title>
|
---|
[8ca386d] | 36 |
|
---|
[3b15fe6] | 37 | <para>The <application><acronym>GCC</acronym></application> package contains
|
---|
| 38 | <acronym>GNU</acronym> compilers. This is useful for compiling programs
|
---|
| 39 | written in <application>C</application>, <application>C++</application>,
|
---|
| 40 | <application>Fortran</application>, <application>Java</application>,
|
---|
| 41 | <application>Objective C</application> and
|
---|
| 42 | <application>Ada</application>.</para>
|
---|
[8ca386d] | 43 |
|
---|
| 44 | <sect3><title>Package Information</title>
|
---|
[52d29f7] | 45 | <itemizedlist spacing='compact'>
|
---|
| 46 | <listitem><para>Download (HTTP): <ulink
|
---|
| 47 | url="&gcc-download-http;"/></para></listitem>
|
---|
| 48 | <listitem><para>Download (FTP): <ulink
|
---|
| 49 | url="&gcc-download-ftp;"/></para></listitem>
|
---|
[8c9ec303] | 50 | <listitem><para>Download MD5 sum: &gcc-md5sum;</para></listitem>
|
---|
[52d29f7] | 51 | <listitem><para>Download size: &gcc-size;</para></listitem>
|
---|
[518538f] | 52 | <listitem><para>Estimated disk space required:
|
---|
[52d29f7] | 53 | &gcc-buildsize;</para></listitem>
|
---|
| 54 | <listitem><para>Estimated build time:
|
---|
| 55 | &gcc-time;</para></listitem></itemizedlist>
|
---|
| 56 | </sect3>
|
---|
[8ca386d] | 57 |
|
---|
[52d29f7] | 58 | <sect3><title>Additional Downloads</title>
|
---|
| 59 | <itemizedlist spacing='compact'>
|
---|
[0e92f49] | 60 | <listitem><para>Required patch: <ulink
|
---|
[07b157f4] | 61 | url="&patch-root;/gcc-&gcc-version;-no_fixincludes-1.patch"/></para></listitem>
|
---|
[0e92f49] | 62 | <listitem><para>Required patch: <ulink
|
---|
[eb091c9] | 63 | url="&patch-root;/gcc-&gcc-version;-linkonce-1.patch"/></para></listitem>
|
---|
[0e92f49] | 64 | <listitem><para>Test suite: <ulink url="&gcc-testsuite-url;"/></para></listitem>
|
---|
| 65 | <listitem><para>Test suite MD5 sum: &gcc-testsuite-md5sum;</para></listitem>
|
---|
[52d29f7] | 66 | </itemizedlist></sect3>
|
---|
[8ca386d] | 67 |
|
---|
| 68 | <sect3><title><application><acronym>GCC</acronym></application>
|
---|
| 69 | Dependencies</title>
|
---|
| 70 | <sect4><title>Recommended</title>
|
---|
| 71 | <itemizedlist spacing='compact'>
|
---|
[2e88c4f] | 72 | <listitem><para><xref linkend="dejagnu"/></para></listitem>
|
---|
| 73 | </itemizedlist>
|
---|
[0e92f49] | 74 | </sect4>
|
---|
| 75 | </sect3>
|
---|
[8ca386d] | 76 |
|
---|
[52d29f7] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2>
|
---|
| 80 | <title>Installation of <application><acronym>GCC</acronym></application></title>
|
---|
[8ca386d] | 81 |
|
---|
[3b15fe6] | 82 | <para>If you plan to compile Ada, you will need to install
|
---|
[52d29f7] | 83 | <application><acronym>GNAT</acronym></application> temporarily to
|
---|
| 84 | satisfy the circular dependency when you recompile
|
---|
[8ca386d] | 85 | <application><acronym>GCC</acronym></application> to include
|
---|
[52d29f7] | 86 | <application>Ada</application>.</para>
|
---|
| 87 |
|
---|
| 88 | <sect3><title>Package information</title>
|
---|
| 89 | <itemizedlist spacing='compact'>
|
---|
| 90 | <listitem><para>Download (HTTP): <ulink
|
---|
| 91 | url="&gnat-download-http;"/></para></listitem>
|
---|
| 92 | <listitem><para>Download (FTP): <ulink
|
---|
| 93 | url="&gnat-download-ftp;"/></para></listitem>
|
---|
[0e92f49] | 94 | <listitem><para>Download MD5 sum: &gnat-md5sum;</para></listitem>
|
---|
[52d29f7] | 95 | <listitem><para>Download size: &gnat-size;</para></listitem>
|
---|
| 96 | <listitem><para>Estimated build time:
|
---|
| 97 | &gnat-time;</para></listitem></itemizedlist>
|
---|
| 98 | </sect3>
|
---|
| 99 |
|
---|
[8ca386d] | 100 | <sect3><title><application><acronym>GNAT</acronym></application>
|
---|
| 101 | dependencies</title>
|
---|
[52d29f7] | 102 | <sect4><title>Required</title>
|
---|
[8c9ec303] | 103 | <para><xref linkend="tcsh"/></para>
|
---|
| 104 | </sect4>
|
---|
[52d29f7] | 105 | </sect3>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
[8ca386d] | 108 |
|
---|
[52d29f7] | 109 | <sect2>
|
---|
[8ca386d] | 110 | <title>Installation of <application><acronym>GNAT</acronym></application>
|
---|
| 111 | </title>
|
---|
[52d29f7] | 112 |
|
---|
[8c9ec303] | 113 | <para>Install <application><acronym>GNAT</acronym></application> by running
|
---|
| 114 | the following commands:</para>
|
---|
[52d29f7] | 115 |
|
---|
| 116 | <screen><userinput><command>./doconfig</command></userinput></screen>
|
---|
| 117 |
|
---|
| 118 | <para>The above script will ask you how and where you would like to install
|
---|
[8c9ec303] | 119 | <application><acronym>GNAT</acronym></application>. To avoid conflicts with
|
---|
| 120 | the system <command>gcc</command>, the package will be installed in a separate
|
---|
[52d29f7] | 121 | directory, that can later be removed from the system.</para>
|
---|
| 122 |
|
---|
[8ca386d] | 123 | <para>In response to the questions asked by the <command>doconfig</command>
|
---|
| 124 | script, enter <userinput>3</userinput> in response to the first question
|
---|
| 125 | and <userinput>/opt/gnat</userinput> in response to the second question.</para>
|
---|
[52d29f7] | 126 |
|
---|
[8c9ec303] | 127 | <para>To finish the install, run the following command as the root user:</para>
|
---|
| 128 |
|
---|
| 129 | <screen><userinput role='root'><command>./doinstall</command></userinput></screen>
|
---|
[52d29f7] | 130 |
|
---|
| 131 | <para>The <application><acronym>GNAT</acronym></application> compiler can be
|
---|
| 132 | invoked by executing the <command>gcc</command> binary installed by the above
|
---|
| 133 | script.</para>
|
---|
| 134 |
|
---|
[0b17574] | 135 | <para>You may now remove the <application><acronym>GNAT</acronym></application>
|
---|
| 136 | source directory:</para>
|
---|
| 137 |
|
---|
| 138 | <screen><userinput><command>cd .. &&
|
---|
| 139 | rm -rf gnat-3.15p-i686-pc-linux-gnu-bin</command></userinput></screen>
|
---|
| 140 |
|
---|
[3b15fe6] | 141 | <para>Prepare to compile <application>GCC</application> by placing the
|
---|
| 142 | <application>GNAT</application> <command>gcc</command> at the beginning of
|
---|
| 143 | the <envar>PATH</envar> variable by using the following commands:</para>
|
---|
| 144 |
|
---|
| 145 | <screen><userinput><command>PATH_HOLD=$PATH &&
|
---|
| 146 | export PATH=/opt/gnat/bin:$PATH</command></userinput></screen>
|
---|
| 147 |
|
---|
[52d29f7] | 148 | </sect2>
|
---|
| 149 |
|
---|
[8ca386d] | 150 | <sect2><title>Return to Installation of
|
---|
| 151 | <application><acronym>GCC</acronym></application></title>
|
---|
| 152 |
|
---|
[3b15fe6] | 153 | <para>Install <application><acronym>GCC</acronym></application> by running the
|
---|
| 154 | following commands:</para>
|
---|
[8ca386d] | 155 |
|
---|
| 156 | <important><para>The installation process may overwrite your existing
|
---|
| 157 | <application><acronym>GCC</acronym></application> compiler and libraries. It
|
---|
[2e88c4f] | 158 | is highly recommended that you have the <application>Tcl</application>,
|
---|
| 159 | <application>Expect</application> and <application>DejaGnu</application>
|
---|
| 160 | packages installed, as well as unpacking the
|
---|
[8ca386d] | 161 | <application><acronym>GCC</acronym></application> testsuite tarball before
|
---|
| 162 | beginning the build.</para>
|
---|
| 163 |
|
---|
| 164 | <para>Do not continue with the <command>make install</command> command until
|
---|
| 165 | you're confident the build was successful. You can compare your test results
|
---|
| 166 | with those found at <ulink
|
---|
| 167 | url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an i686 platform
|
---|
[0b17574] | 168 | test result produced by an <acronym>LFS</acronym>-SVN-20050316 system at
|
---|
| 169 | <ulink url="http://linuxfromscratch.org/~randy/gcc343_test.txt"/>. You
|
---|
[3b15fe6] | 170 | may also want to refer to the information found in the
|
---|
[8c9ec303] | 171 | <application><acronym>GCC</acronym></application>-Pass 2 section of Chapter 5
|
---|
[0e92f49] | 172 | in the <acronym>LFS</acronym> book
|
---|
| 173 | (<ulink url="&lfs-root;/chapter05/gcc-pass2.html"/>).</para></important>
|
---|
[8ca386d] | 174 |
|
---|
| 175 | <note><para>Some of the <application>Java</application> programs installed by
|
---|
[8c9ec303] | 176 | the <application><acronym>GCC</acronym></application> package conflict (have
|
---|
[8ca386d] | 177 | the same names) with programs from the <xref linkend="j2sdk"/> package. If
|
---|
| 178 | you're installing the <application>Java</application> language from the
|
---|
| 179 | <application><acronym>GCC</acronym></application> package but you wish to
|
---|
[0e92f49] | 180 | use the programs from the <application>J2SDK</application> as the defaults,
|
---|
[8c9ec303] | 181 | ensure <filename class='directory'>$JAVA_HOME/bin</filename> is listed before
|
---|
| 182 | <filename class='directory'>/usr/bin</filename> in your <envar>PATH</envar>
|
---|
[0b17574] | 183 | variable after the <application><acronym>GCC</acronym></application>
|
---|
| 184 | installation is complete.</para></note>
|
---|
[8ca386d] | 185 |
|
---|
| 186 | <screen><userinput><command>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch &&
|
---|
[eb091c9] | 187 | patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch &&
|
---|
[8ca386d] | 188 | sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
|
---|
| 189 | mkdir ../gcc-build &&
|
---|
| 190 | cd ../gcc-build &&
|
---|
| 191 | ../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \
|
---|
[0e92f49] | 192 | --enable-shared --enable-threads=posix --enable-__cxa_atexit \
|
---|
| 193 | --enable-clocale=gnu --enable-languages=c,c++,objc,f77,ada,java &&
|
---|
[8ca386d] | 194 | make bootstrap &&
|
---|
[3b15fe6] | 195 | make -C gcc gnatlib-shared &&
|
---|
| 196 | make -C gcc gnattools &&
|
---|
[8ca386d] | 197 | make -k check &&
|
---|
[0b17574] | 198 | ../gcc-&gcc-version;/contrib/test_summary</command></userinput></screen>
|
---|
[8c9ec303] | 199 |
|
---|
| 200 | <para>Now, as the root user:</para>
|
---|
| 201 |
|
---|
| 202 | <screen><userinput role='root'><command>make install &&
|
---|
| 203 | ln -v -sf ../usr/bin/cpp /lib &&
|
---|
| 204 | ln -v -sf gcc /usr/bin/cc &&
|
---|
| 205 | ln -v -sf g77 /usr/bin/f77 &&
|
---|
[0e92f49] | 206 | chown -v -R root:root /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include &&
|
---|
| 207 | chown -v -R root:root /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</command></userinput></screen>
|
---|
[8ca386d] | 208 |
|
---|
[0b17574] | 209 | <para>As the root user, remove the
|
---|
| 210 | <application><acronym>GNAT</acronym></application> installation:</para>
|
---|
[3b15fe6] | 211 |
|
---|
[0b17574] | 212 | <screen><userinput role='root'><command>rm -rf /opt/gnat</command></userinput></screen>
|
---|
| 213 |
|
---|
| 214 | <para>Now, as the unprivileged user, restore your old
|
---|
| 215 | <envar>PATH</envar>:</para>
|
---|
| 216 |
|
---|
| 217 | <screen><userinput><command>export PATH=$PATH_HOLD &&
|
---|
| 218 | unset PATH_HOLD</command></userinput></screen>
|
---|
[3b15fe6] | 219 |
|
---|
[52d29f7] | 220 | </sect2>
|
---|
| 221 |
|
---|
| 222 | <sect2>
|
---|
| 223 | <title>Command explanations</title>
|
---|
[8ca386d] | 224 |
|
---|
[8c9ec303] | 225 | <para><command>sed -i 's/install_to_$(INSTALL_DEST) //'
|
---|
| 226 | libiberty/Makefile.in</command>: This command suppresses the installation of
|
---|
[8ca386d] | 227 | <filename class='libraryfile'>libiberty.a</filename> as the version provided
|
---|
| 228 | by <application>Binutils</application> is used instead.</para>
|
---|
| 229 |
|
---|
| 230 | <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
|
---|
| 231 | <application><acronym>GCC</acronym></application> documentation recommends
|
---|
| 232 | building the package in a dedicated build directory.</para>
|
---|
| 233 |
|
---|
[52d29f7] | 234 | <para><parameter>--enable-shared --enable-threads=posix
|
---|
| 235 | --enable-__cxa_atexit</parameter>: These commands are required to build
|
---|
| 236 | the <application>C++</application> libraries to published standards.</para>
|
---|
[8ca386d] | 237 |
|
---|
[52d29f7] | 238 | <para><parameter>--enable-clocale=gnu</parameter>: This command is a
|
---|
| 239 | failsafe for incomplete locale data.</para>
|
---|
[8ca386d] | 240 |
|
---|
[0e92f49] | 241 | <para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>:
|
---|
| 242 | This command identifies which languages to build. You may modify this command
|
---|
| 243 | to remove undesired languages.</para>
|
---|
| 244 |
|
---|
[3b15fe6] | 245 | <para><command>make -C gcc gnatlib-shared</command>: This command builds the
|
---|
| 246 | Ada shared and static libraries. Skip this step if you have not enabled
|
---|
| 247 | <application>Ada</application> as one of the languages.</para>
|
---|
| 248 |
|
---|
| 249 | <para><command>make -C gcc gnattools</command>: This command builds the
|
---|
| 250 | Ada development tools and binaries. Skip this step if you have not enabled
|
---|
| 251 | <application>Ada</application> as one of the languages.</para>
|
---|
| 252 |
|
---|
[8ca386d] | 253 | <para><command>make -k check</command>: This command runs the test suite
|
---|
| 254 | without stopping should any errors be encountered.</para>
|
---|
| 255 |
|
---|
[0b17574] | 256 | <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
|
---|
| 257 | command will produce a summary of the test suite results. You can append
|
---|
[8ca386d] | 258 | <command>| grep -A7 Summ</command> to the command to produce an even more
|
---|
| 259 | condensed version of the summary. You may also wish to redirect the output to
|
---|
| 260 | a file for review and comparison later on.</para>
|
---|
| 261 |
|
---|
| 262 | <para><command>ln -sf ../usr/bin/cpp /lib</command>: This command creates a
|
---|
| 263 | link to the C PreProcessor as some packages expect it to be installed in the
|
---|
| 264 | <filename class='directory'>/lib</filename> directory.</para>
|
---|
| 265 |
|
---|
| 266 | <para><command>ln -sf gcc /usr/bin/cc; ln -sf g77 /usr/bin/f77</command>:
|
---|
| 267 | These links are created as some packages refer to the C and Fortran compilers
|
---|
| 268 | using an alternate name.</para>
|
---|
| 269 |
|
---|
[0e92f49] | 270 | <para><command>chown -R root:root /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
|
---|
[754181c] | 271 | If the package is built by a user other than root, the ownership of the
|
---|
[0e92f49] | 272 | installed <filename class='directory'>include</filename> and
|
---|
| 273 | <filename class='directory'>adalib</filename> directories (and their
|
---|
| 274 | contents) will be incorrect. These commands change the ownership to
|
---|
| 275 | root:root. Omit the command changing the Ada directories if you did not
|
---|
| 276 | include Ada as one of the installed languages.</para>
|
---|
[754181c] | 277 |
|
---|
[52d29f7] | 278 | </sect2>
|
---|
| 279 |
|
---|
| 280 | <sect2>
|
---|
| 281 | <title>Contents</title>
|
---|
[8ca386d] | 282 |
|
---|
[8c9ec303] | 283 | <segmentedlist>
|
---|
| 284 | <segtitle>Installed Programs</segtitle>
|
---|
| 285 | <segtitle>Installed Libraries</segtitle>
|
---|
| 286 | <segtitle>Installed Directories</segtitle>
|
---|
| 287 |
|
---|
| 288 | <seglistitem>
|
---|
| 289 | <seg>addr2name.awk, cc, c++, cpp, f77, g++, g77, gcc, gccbug, gcj, gcjh, gcov,
|
---|
| 290 | gij, gnat, gnatbind, gnatbl, gnatchop, gnatclean, gnatfind, gnatkr, gnatlink,
|
---|
| 291 | gnatls, gnatmake, gnatname, gnatprep, gnatxref, gpr2make, gprcmd, grepjar,
|
---|
| 292 | jar, jcf-dump, jv-convert, jv-scan, rmic, rmiregistry and architecture
|
---|
[2f4bd4a] | 293 | specific names for c++, g++, gcc, gcc-&gcc-version;, gcj and gcjh</seg>
|
---|
[8c9ec303] | 294 | <seg>lib-org-w3c-dom.[so,a], lib-org-xml-sax.[so,a], libffi-2.00-beta.so,
|
---|
| 295 | libffi.[so,a], libfrtbegin.a, libg2c.[so,a], libgcc_s.so, libgcj.[so,a],
|
---|
| 296 | libobjc.[so,a], libstdc++.[so.6,a], libsupc++.a and numerous other run-time
|
---|
| 297 | libraries and executables in /usr/lib/gcc</seg>
|
---|
| 298 | <seg>/usr/include/c++, /usr/include/gcj, /usr/include/gnu, /usr/include/java,
|
---|
| 299 | /usr/include/javax, /usr/lib/gcc, /usr/lib/security, /usr/share/gnat and
|
---|
| 300 | /usr/share/java</seg>
|
---|
| 301 | </seglistitem>
|
---|
| 302 | </segmentedlist>
|
---|
| 303 |
|
---|
| 304 | <variablelist>
|
---|
| 305 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 306 | <?dbfo list-presentation="list"?>
|
---|
| 307 |
|
---|
| 308 | <para>Some program and library descriptions are not listed here, but can be
|
---|
[f1e6f61d] | 309 | found at <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/>.</para>
|
---|
[8c9ec303] | 310 |
|
---|
| 311 | <varlistentry id="addr2name.awk">
|
---|
| 312 | <term><command>addr2name.awk</command></term>
|
---|
| 313 | <listitem><para> emulates some of the functionality of addr2line.</para>
|
---|
| 314 | <indexterm zone="gcc addr2name.awk">
|
---|
| 315 | <primary sortas="b-addr2name.awk">addr2name.awk</primary>
|
---|
| 316 | </indexterm></listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
| 319 | <varlistentry id="f77">
|
---|
| 320 | <term><command>f77</command></term>
|
---|
| 321 | <listitem><para>is a symlink to <command>g77</command>, created for
|
---|
| 322 | compatibility purposes.</para>
|
---|
| 323 | <indexterm zone="gcc f77">
|
---|
| 324 | <primary sortas="g-f77">f77</primary>
|
---|
| 325 | </indexterm></listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="g77">
|
---|
| 329 | <term><command>g77</command></term>
|
---|
| 330 | <listitem><para>is the <application>Fortran</application> compiler invoked by
|
---|
| 331 | <command>gcc</command>.</para>
|
---|
| 332 | <indexterm zone="gcc g77">
|
---|
| 333 | <primary sortas="b-g77">g77</primary>
|
---|
| 334 | </indexterm></listitem>
|
---|
| 335 | </varlistentry>
|
---|
| 336 |
|
---|
| 337 | <varlistentry id="gcj">
|
---|
| 338 | <term><command>gcj</command></term>
|
---|
| 339 | <listitem><para>is an ahead-of-time compiler for the
|
---|
| 340 | <application>Java</application> language.</para>
|
---|
| 341 | <indexterm zone="gcc gcj">
|
---|
| 342 | <primary sortas="b-gcj">gcj</primary>
|
---|
| 343 | </indexterm></listitem>
|
---|
| 344 | </varlistentry>
|
---|
| 345 |
|
---|
| 346 | <varlistentry id="gcjh">
|
---|
| 347 | <term><command>gcjh</command></term>
|
---|
| 348 | <listitem><para>generates header files from <application>Java</application>
|
---|
| 349 | class files.</para>
|
---|
| 350 | <indexterm zone="gcc gcjh">
|
---|
| 351 | <primary sortas="b-gcjh">gcjh</primary>
|
---|
| 352 | </indexterm></listitem>
|
---|
| 353 | </varlistentry>
|
---|
| 354 |
|
---|
| 355 | <varlistentry id="gij">
|
---|
| 356 | <term><command>gij</command></term>
|
---|
| 357 | <listitem><para>is the <acronym>GNU</acronym> interpreter for
|
---|
| 358 | <application>Java</application> bytecode.</para>
|
---|
| 359 | <indexterm zone="gcc gij">
|
---|
| 360 | <primary sortas="b-gij">gij</primary>
|
---|
| 361 | </indexterm></listitem>
|
---|
| 362 | </varlistentry>
|
---|
| 363 |
|
---|
| 364 | <varlistentry id="gnat">
|
---|
| 365 | <term><command>gnat</command></term>
|
---|
| 366 | <listitem><para>is the <application>Ada</application> compiler invoked by
|
---|
| 367 | <command>gcc</command>.</para>
|
---|
| 368 | <indexterm zone="gcc gnat">
|
---|
| 369 | <primary sortas="b-gnat">gnat</primary>
|
---|
| 370 | </indexterm></listitem>
|
---|
| 371 | </varlistentry>
|
---|
| 372 |
|
---|
| 373 | <varlistentry id="gnatbind">
|
---|
| 374 | <term><command>gnatbind</command></term>
|
---|
| 375 | <listitem><para>is used to bind compiled objects.</para>
|
---|
| 376 | <indexterm zone="gcc gnatbind">
|
---|
| 377 | <primary sortas="b-gnatbind">gnatbind</primary>
|
---|
| 378 | </indexterm></listitem>
|
---|
| 379 | </varlistentry>
|
---|
| 380 |
|
---|
| 381 | <varlistentry id="gnatbl">
|
---|
| 382 | <term><command>gnatbl</command></term>
|
---|
| 383 | <listitem><para>is the <application>Ada</application> linker.</para>
|
---|
| 384 | <indexterm zone="gcc gnatbl">
|
---|
| 385 | <primary sortas="b-gnatbl">gnatbl</primary>
|
---|
| 386 | </indexterm></listitem>
|
---|
| 387 | </varlistentry>
|
---|
| 388 |
|
---|
| 389 | <varlistentry id="gnatchop">
|
---|
| 390 | <term><command>gnatchop</command></term>
|
---|
| 391 | <listitem><para> is useful for renaming files to meet the standard
|
---|
| 392 | <application>Ada</application> default file naming conventions.</para>
|
---|
| 393 | <indexterm zone="gcc gnatchop">
|
---|
| 394 | <primary sortas="b-gnatchop">gnatchop</primary>
|
---|
| 395 | </indexterm></listitem>
|
---|
| 396 | </varlistentry>
|
---|
| 397 |
|
---|
| 398 | <varlistentry id="gnatclean">
|
---|
| 399 | <term><command>gnatclean</command></term>
|
---|
| 400 | <listitem><para>is used to remove files associated with a
|
---|
| 401 | <application><acronym>GNAT</acronym></application> project.</para>
|
---|
| 402 | <indexterm zone="gcc gnatclean">
|
---|
| 403 | <primary sortas="b-gnatclean">gnatclean</primary>
|
---|
| 404 | </indexterm></listitem>
|
---|
| 405 | </varlistentry>
|
---|
| 406 |
|
---|
| 407 | <varlistentry id="gnatfind">
|
---|
| 408 | <term><command>gnatfind</command></term>
|
---|
| 409 | <listitem><para> is the <application><acronym>GNAT</acronym></application>
|
---|
| 410 | definition/use finder.</para>
|
---|
| 411 | <indexterm zone="gcc gnatfind">
|
---|
| 412 | <primary sortas="b-gnatfind">gnatfind</primary>
|
---|
| 413 | </indexterm></listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
| 416 | <varlistentry id="gnatkr">
|
---|
| 417 | <term><command>gnatkr</command></term>
|
---|
| 418 | <listitem><para>is used to determine the crunched name for a given file, when
|
---|
| 419 | crunched to a specified maximum length.</para>
|
---|
| 420 | <indexterm zone="gcc gnatkr">
|
---|
| 421 | <primary sortas="b-gnatkr">gnatkr</primary>
|
---|
| 422 | </indexterm></listitem>
|
---|
| 423 | </varlistentry>
|
---|
| 424 |
|
---|
| 425 | <varlistentry id="gnatlink">
|
---|
| 426 | <term><command>gnatlink</command></term>
|
---|
| 427 | <listitem><para>is used to link programs and build an executable file.</para>
|
---|
| 428 | <indexterm zone="gcc gnatlink">
|
---|
| 429 | <primary sortas="b-gnatlink">gnatlink</primary>
|
---|
| 430 | </indexterm></listitem>
|
---|
| 431 | </varlistentry>
|
---|
| 432 |
|
---|
| 433 | <varlistentry id="gnatls">
|
---|
| 434 | <term><command>gnatls</command></term>
|
---|
| 435 | <listitem><para>is the compiled unit browser.</para>
|
---|
| 436 | <indexterm zone="gcc gnatls">
|
---|
| 437 | <primary sortas="b-gnatls">gnatls</primary>
|
---|
| 438 | </indexterm></listitem>
|
---|
| 439 | </varlistentry>
|
---|
| 440 |
|
---|
| 441 | <varlistentry id="gnatmake">
|
---|
| 442 | <term><command>gnatmake</command></term>
|
---|
| 443 | <listitem><para>is an automatic <command>make</command> facility.</para>
|
---|
| 444 | <indexterm zone="gcc gnatmake">
|
---|
| 445 | <primary sortas="b-gnatmake">gnatmake</primary>
|
---|
| 446 | </indexterm></listitem>
|
---|
| 447 | </varlistentry>
|
---|
| 448 |
|
---|
| 449 | <varlistentry id="gnatname">
|
---|
| 450 | <term><command>gnatname</command></term>
|
---|
| 451 | <listitem><para>will list the files associated with a
|
---|
| 452 | <application><acronym>GNAT</acronym></application> project.</para>
|
---|
| 453 | <indexterm zone="gcc gnatname">
|
---|
| 454 | <primary sortas="b-gnatname">gnatname</primary>
|
---|
| 455 | </indexterm></listitem>
|
---|
| 456 | </varlistentry>
|
---|
| 457 |
|
---|
| 458 | <varlistentry id="gnatprep">
|
---|
| 459 | <term><command>gnatprep</command></term>
|
---|
| 460 | <listitem><para>is the <application><acronym>GNAT</acronym></application>
|
---|
| 461 | external preprocessor.</para>
|
---|
| 462 | <indexterm zone="gcc gnatprep">
|
---|
| 463 | <primary sortas="b-gnatprep">gnatprep</primary>
|
---|
| 464 | </indexterm></listitem>
|
---|
| 465 | </varlistentry>
|
---|
| 466 |
|
---|
| 467 | <varlistentry id="gnatxref">
|
---|
| 468 | <term><command>gnatxref</command></term>
|
---|
| 469 | <listitem><para>is the <application><acronym>GNAT</acronym></application>
|
---|
| 470 | cross-referencer.</para>
|
---|
| 471 | <indexterm zone="gcc gnatxref">
|
---|
| 472 | <primary sortas="b-gnatxref">gnatxref</primary>
|
---|
| 473 | </indexterm></listitem>
|
---|
| 474 | </varlistentry>
|
---|
| 475 |
|
---|
| 476 | <varlistentry id="gpr2make">
|
---|
| 477 | <term><command>gpr2make</command></term>
|
---|
| 478 | <listitem><para>is a tool used to create <filename>Makefile</filename>s that
|
---|
| 479 | support compilation by multiple languages.</para>
|
---|
| 480 | <indexterm zone="gcc gpr2make">
|
---|
| 481 | <primary sortas="b-gpr2make">gpr2make</primary>
|
---|
| 482 | </indexterm></listitem>
|
---|
| 483 | </varlistentry>
|
---|
| 484 |
|
---|
| 485 | <varlistentry id="gprcmd">
|
---|
| 486 | <term><command>gprcmd</command></term>
|
---|
| 487 | <listitem><para>is a utility used by <filename>Makefile.generic</filename> to
|
---|
| 488 | handle multi-language builds. It provides a set of commands so that the
|
---|
| 489 | <filename>Makefile</filename>s do not need to depend on Unix utilities not
|
---|
| 490 | available on all targets.</para>
|
---|
| 491 | <indexterm zone="gcc gprcmd">
|
---|
| 492 | <primary sortas="b-gprcmd">gprcmd</primary>
|
---|
| 493 | </indexterm></listitem>
|
---|
| 494 | </varlistentry>
|
---|
| 495 |
|
---|
| 496 | <varlistentry id="grepjar">
|
---|
| 497 | <term><command>grepjar</command></term>
|
---|
| 498 | <listitem><para>searches <filename>jar</filename> files for a pattern.</para>
|
---|
| 499 | <indexterm zone="gcc grepjar">
|
---|
| 500 | <primary sortas="b-grepjar">grepjar</primary>
|
---|
| 501 | </indexterm></listitem>
|
---|
| 502 | </varlistentry>
|
---|
| 503 |
|
---|
| 504 | <varlistentry id="jar-gcc">
|
---|
| 505 | <term><command>jar</command></term>
|
---|
| 506 | <listitem><para>is an archive tool for <application>Java</application>
|
---|
| 507 | archives.</para>
|
---|
| 508 | <indexterm zone="gcc jar-gcc">
|
---|
| 509 | <primary sortas="b-jar">jar</primary>
|
---|
| 510 | </indexterm></listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
| 513 | <varlistentry id="jcf-dump">
|
---|
| 514 | <term><command>jcf-dump</command></term>
|
---|
| 515 | <listitem><para>prints information about <application>Java</application>
|
---|
| 516 | class files.</para>
|
---|
| 517 | <indexterm zone="gcc jcf-dump">
|
---|
| 518 | <primary sortas="b-jcf-dump">jcf-dump</primary>
|
---|
| 519 | </indexterm></listitem>
|
---|
| 520 | </varlistentry>
|
---|
| 521 |
|
---|
| 522 | <varlistentry id="jv-convert">
|
---|
| 523 | <term><command>jv-convert</command></term>
|
---|
| 524 | <listitem><para>converts files from one encoding to another.</para>
|
---|
| 525 | <indexterm zone="gcc jv-convert">
|
---|
| 526 | <primary sortas="b-jv-convert">jv-convert</primary>
|
---|
| 527 | </indexterm></listitem>
|
---|
| 528 | </varlistentry>
|
---|
| 529 |
|
---|
| 530 | <varlistentry id="jv-scan">
|
---|
| 531 | <term><command>jv-scan</command></term>
|
---|
| 532 | <listitem><para>prints information about <application>Java</application>
|
---|
| 533 | source files.</para>
|
---|
| 534 | <indexterm zone="gcc jv-scan">
|
---|
| 535 | <primary sortas="b-jv-scan">jv-scan</primary>
|
---|
| 536 | </indexterm></listitem>
|
---|
| 537 | </varlistentry>
|
---|
| 538 |
|
---|
| 539 | <varlistentry id="rmic-gcc">
|
---|
| 540 | <term><command>rmic</command></term>
|
---|
| 541 | <listitem><para>generates stubs for Remote Method Invocation.</para>
|
---|
| 542 | <indexterm zone="gcc rmic-gcc">
|
---|
| 543 | <primary sortas="b-rmic">rmic</primary>
|
---|
| 544 | </indexterm></listitem>
|
---|
| 545 | </varlistentry>
|
---|
| 546 |
|
---|
| 547 | <varlistentry id="rmiregistry-gcc">
|
---|
| 548 | <term><command>rmiregistry</command></term>
|
---|
| 549 | <listitem><para> starts a remote object registry on the current host.</para>
|
---|
| 550 | <indexterm zone="gcc rmiregistry-gcc">
|
---|
| 551 | <primary sortas="b-rmiregistry">rmiregistry</primary>
|
---|
| 552 | </indexterm></listitem>
|
---|
| 553 | </varlistentry>
|
---|
| 554 | </variablelist>
|
---|
[8ca386d] | 555 |
|
---|
[52d29f7] | 556 | </sect2>
|
---|
[1a686a1] | 557 |
|
---|
| 558 | </sect1>
|
---|
| 559 |
|
---|