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