source: general/prog/gcc.xml@ 8f29aa2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8f29aa2 was a9aa69f, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to gcc-4.8.1 to bring in sync with LFS.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11471 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 27.9 KB
RevLine 
[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">
[a9aa69f]9 <!ENTITY gcc-md5sum "3b2386c114cd74185aa3754b58a79304">
10 <!ENTITY gcc-size "83 MB">
11 <!ENTITY gcc-buildsize "~6.2 GB (build, test and install all compilers)">
12 <!ENTITY gcc-time "98 SBU (build, test and install all compilers)">
[5512e64]13
[d5855dc]14 <!ENTITY gnat-download-http "https://libre.adacore.com/download/">
[b9e7422]15 <!-- We don't know what platform, so this is commented out
16 <!ENTITY gnat-md5sum "6425f2c7cabbdee4595b4b7c0d47237f">
17 <!ENTITY gnat-size "110 MB"> -->
[52d29f7]18]>
19
[58bd309a]20<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
[70e3220]21 <?dbhtml filename="gcc.html" ?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>GCC-&gcc-version;</title>
29
30 <indexterm zone="gcc">
[800c9c3]31 <primary sortas="a-gcc-4-0">GCC-&gcc-version;</primary>
[70e3220]32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to GCC</title>
36
[8092658]37 <para>The <application>GCC</application> package contains GNU compilers.
[800c9c3]38 This package is useful for compiling programs written in C, C++, Fortran,
[034eda7]39 Java, Objective C, Objective C++, Ada, and Go. You should ensure you
40 actually need one of these additional compilers (C and C++ are installed
41 in LFS) before you install them. Additionally, there are instructions in
42 the BLFS book to install <xref linkend="openjdk"/>, which can be used
43 instead of the Java provided by the <application>GCC</application> package.
44 Many consider the Iced Tea version to be a more robust Java environment
45 than the one provided by <application>GCC</application>.</para>
[5512e64]46
[f53a1da]47 &lfs73_checked;
[625d5fe5]48
[636acbb1]49 <caution>
50 <para>If you are upgrading <application>GCC</application> from any other
51 version prior to &gcc-version;, then you must be careful compiling 3rd
52 party kernel modules. You should ensure that the kernel and all its
53 native modules are also compiled using the same version of
54 <application>GCC</application> that you use to build the 3rd party module.
55 This issue does not affect native kernel (and kernel modules) updates,
56 as the instructions below are a complete reinstallation of
57 <application>GCC</application>. If you have existing 3rd party modules
58 installed, ensure they are recompiled using the updated version of
59 <application>GCC</application>. As always, never update the kernel
60 headers from the ones used when <application>Glibc</application> was
61 compiled during LFS.</para>
62 </caution>
63
[70e3220]64 <bridgehead renderas="sect3">Package Information</bridgehead>
65 <itemizedlist spacing="compact">
66 <listitem>
67 <para>Download (HTTP): <ulink url="&gcc-download-http;"/></para>
68 </listitem>
69 <listitem>
70 <para>Download (FTP): <ulink url="&gcc-download-ftp;"/></para>
71 </listitem>
72 <listitem>
73 <para>Download MD5 sum: &gcc-md5sum;</para>
74 </listitem>
75 <listitem>
76 <para>Download size: &gcc-size;</para>
77 </listitem>
78 <listitem>
79 <para>Estimated disk space required: &gcc-buildsize;</para>
80 </listitem>
81 <listitem>
82 <para>Estimated build time: &gcc-time;</para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
[256ee72c]89 <para role="recommended"><xref linkend="dejagnu"/></para>
[70e3220]90
[034eda7]91 <bridgehead renderas="sect4">Required if building java</bridgehead>
92 <para role="required">
93 <xref linkend="zip"/>,
94 <xref linkend="unzip"/>, and
95 <xref linkend="which"/>
96 </para>
97
[70e3220]98 <note>
[034eda7]99 <para>If you plan to compile Ada, you will need to install
100 <application>GNAT</application> temporarily to satisfy the circular
101 dependency when you recompile <application>GCC</application>
102 to include Ada. At the AdaCore download page, choose your platform and
[a9aa69f]103 2013, then select the file to download. You probably want the x86-linux
[034eda7]104 or x86_64-linux file.</para>
[70e3220]105 </note>
[a9aa69f]106<!-- Using 2011, because 2012 does not compile GCC-4.7.2
107 GCC-4.8.1 and gnat 2013 work OK -->
108 <bridgehead renderas="sect3">GNAT GPL 2013 Package Information</bridgehead>
[70e3220]109 <itemizedlist spacing="compact">
110 <listitem>
111 <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
112 </listitem>
113 </itemizedlist>
[034eda7]114
[1039de3]115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/gcc"/></para>
117
[70e3220]118 </sect2>
[034eda7]119
[70e3220]120 <sect2 role="installation">
121 <title>Installation of GNAT</title>
122
[034eda7]123 <para>Before unpacking and changing into the GCC source directory, first
[a9aa69f]124 unpack the <application>GNAT</application> tarball. You may have to drill
125 down several levels and unpack a second tarball. For example,
126 AdaCore-Download-2013-07-22_0530.tar expands to
127 <filename>x86_64-linux/2013/gnatgpl/gnat-gpl-2013-x86_64-pc-linux-gnu-bin.tar.gz</filename>.
128 Expand this second tarball and change into the newly created directory.
129 Install <application>GNAT</application> by running the following
130 command:</para>
[70e3220]131
[a9aa69f]132<screen><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
[3a3f7b84]133
[a9aa69f]134 <para>The <application>GNAT</application> compiler can be invoked by
135 executing the <command>gcc</command> binary installed in <filename
136 class='directory'>/opt/gnat/bin</filename>.</para>
[70e3220]137
[0619e6d]138 <para>You may now remove the <application>GNAT</application>
[a9aa69f]139 source directory if desired.</para>
[70e3220]140
[8092658]141 <para>Prepare to compile <application>GCC</application> by placing the
[800c9c3]142 <application>GNAT</application> version of <command>gcc</command> at the
143 beginning of the <envar>PATH</envar> variable by using the following
[a9aa69f]144 commands as the <systemitem class="username">root</systemitem> user:</para>
[70e3220]145
146<screen><userinput>PATH_HOLD=$PATH &amp;&amp;
[a9aa69f]147export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen>
[70e3220]148
[034eda7]149 <para>Doing so has the drawback that the <application>GCC</application>
150 and <application>Binutils</application> executables are taken
151 from the just installed <application>GNAT</application> package, but the
152 versions of those executables are outdated compared to those installed in
153 LFS. This is not important for the <application>GCC</application> compilers,
154 since they recompile themselves during the bootstrap process. On the other
155 hand, the outdated <command>ld</command> and <command>as</command> tools
156 are used all along. In order to use the LFS tools, issue:</para>
157
[a9aa69f]158<screen><userinput>find /opt/gnat -name ld -exec mv -v {} {}.old \;
159find /opt/gnat -name as -exec mv -v {} {}.old \;</userinput></screen>
[034eda7]160
[70e3220]161 </sect2>
[034eda7]162
[70e3220]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>
[d14cd9a1]170
[8092658]171 <para>The installation process may overwrite your existing
[800c9c3]172 <application>GCC</application> <command>gcc</command> and
[034eda7]173 <command>c++</command> compilers and libraries. Having the
[d14cd9a1]174 <application>Tcl</application>, <application>Expect</application> and
175 <application>DejaGnu</application> packages installed before beginning
176 the build is highly recommended so you can run the full suite of
177 tests.</para>
[70e3220]178
[8092658]179 <para>Do not continue with the <command>make install</command> command
[fa0e8e65]180 until you are confident the build was successful. You can compare your
[d14cd9a1]181 test results with those found at <ulink
182 url="http://gcc.gnu.org/ml/gcc-testresults/"/>. You may also want to
183 refer to the information found in the <application>GCC</application>
184 section of Chapter 6 in the LFS book (<ulink
185 url="&lfs-root;/chapter06/gcc.html"/>).</para>
[d5855dc]186
[70e3220]187 </important>
188
[034eda7]189 <para>The instructions below let the build machinery perform a
190 <quote>bootstrap</quote> intentionally. This is necessary if you
[a9aa69f]191 install the <application>Ada</application> compiler anyway. Even
[034eda7]192 if you don't, a bootstrap is recommended for robustness.</para>
[d02add0]193
[a9aa69f]194<screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &amp;&amp;
195sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &amp;&amp;
196sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
197sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp;
[d14cd9a1]198
199case `uname -m` in
200 i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
201esac &amp;&amp;
[5512e64]202
[8ca386d]203mkdir ../gcc-build &amp;&amp;
[5512e64]204cd ../gcc-build &amp;&amp;
205
[d5855dc]206../gcc-&gcc-version;/configure \
207 --prefix=/usr \
[034eda7]208 --libdir=/usr/lib \
[d5855dc]209 --libexecdir=/usr/lib \
210 --with-system-zlib \
211 --enable-shared \
212 --enable-threads=posix \
213 --enable-__cxa_atexit \
214 --disable-multilib \
215 --enable-clocale=gnu \
[034eda7]216 --enable-lto \
217 --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &amp;&amp;
[5512e64]218
[a9aa69f]219make &amp;&amp;
220ulimit -s 32768 &amp;&amp;
221make -k check &amp;&amp;
[5512e64]222
[70e3220]223../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
[8c9ec303]224
[70e3220]225 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8c9ec303]226
[70e3220]227<screen role="root"><userinput>make install &amp;&amp;
[5512e64]228
[8c9ec303]229ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
[a9aa69f]230ln -v -sf gcc /usr/bin/cc &amp;&amp;
[5512e64]231
[38485e5c]232chown -v -R root:root \
[034eda7]233 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} \
234 /usr/lib/gcc/*linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
235<!-- Not needed since we do not install libffi
[f182eed]236 <para>The <filename class='libraryfile'>libffi</filename> interface header
237 is installed in a location where other packages will not be able to find
238 it. If you included Java as one of the installed languages, create a
239 symbolic link in <filename class='directory'>/usr/include</filename> to
240 remedy this:</para>
241
[034eda7]242<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>-->
[f182eed]243
[a9aa69f]244 <para>You should now remove the <application>GNAT</application>
245 installation and perform other cleanups:</para>
[70e3220]246
[a9aa69f]247<screen><userinput>rm -rf /opt/gnat &amp;&amp;
[034eda7]248export PATH=$PATH_HOLD &amp;&amp;
[70e3220]249unset PATH_HOLD</userinput></screen>
[034eda7]250
[70e3220]251 </sect2>
252
253 <sect2 role="commands">
254 <title>Command Explanations</title>
255
[034eda7]256 <para>The first two <command>sed</command> commands prevent the
257 installation of the <application>libffi</application> library bundled
258 with <application>GCC</application>, since it is outdated compared to
259 <xref linkend="libffi"/>. The three other <command>sed</command> commands
260 are the same ones used during the build of LFS.</para>
[70e3220]261
[8092658]262 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
263 <application>GCC</application> documentation recommends
[70e3220]264 building the package in a dedicated build directory.</para>
265
266 <para><parameter>--enable-shared --enable-threads=posix
[800c9c3]267 --enable-__cxa_atexit</parameter>: These parameters are required to build
[70e3220]268 the <application>C++</application> libraries to published standards.</para>
269
[5512e64]270 <para><parameter>--disable-multilib</parameter>: This parameter ensures
[d5855dc]271 that files are created for the specific architecture of your computer.</para>
[5512e64]272
[034eda7]273<!-- Double dashes are forbidden in comments, so use "- -". Change it to
274 double dash if you ever remove this comment!
275 <para><parameter>- -enable-bootstrap</parameter>: This parameter is used
[5512e64]276 so that a bootstrap installation is performed.</para>
[034eda7]277-->
[5512e64]278 <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
[70e3220]279 failsafe for incomplete locale data.</para>
280
[034eda7]281 <para><parameter>--enable-lto</parameter>: Setting this parameter allows
282 to build a compiler which is able to perform <quote>link time
283 optimization (lto)</quote>.</para>
284
[800c9c3]285 <para>
[034eda7]286 <parameter>--enable-languages=c,c++,fortran,java,objc,obj-c++,ada,go</parameter>:
287 This command identifies which languages to build. You may modify
288 this command to remove undesired languages.</para>
[70e3220]289
[a9aa69f]290 <para><command>ulimit -s 32768</command>: This command prevents several
291 tests from running out of stack space.</para>
292
[8092658]293 <para><command>make -k check</command>: This command runs the test suite
[800c9c3]294 without stopping if any errors are encountered.</para>
[70e3220]295
[8092658]296 <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
297 command will produce a summary of the test suite results. You can append
[70e3220]298 <command>| grep -A7 Summ</command> to the command to produce an even more
[800c9c3]299 condensed version of the summary. You may also wish to redirect the output
300 to a file for review and comparison later on.</para>
[70e3220]301
[800c9c3]302 <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
303 creates a link to the C PreProcessor as some packages expect it to be
304 installed in the <filename class='directory'>/lib</filename>
305 directory.</para>
[70e3220]306
[800c9c3]307 <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
308 some packages refer to the C compiler using an alternate name.</para>
[034eda7]309
[800c9c3]310 <para><command>chown -v -R root:root
[034eda7]311 /usr/lib/gcc/*linux-gnu/...</command>:
[8092658]312 If the package is built by a user other than root, the ownership of the
313 installed <filename class='directory'>include</filename> and
314 <filename class='directory'>adalib</filename> directories (and their
[800c9c3]315 contents) will be incorrect. These commands change the ownership to the
316 <systemitem class="username">root</systemitem> user and group . Omit the
317 command changing the Ada directories if you did not include Ada as one of
318 the installed languages.</para>
[034eda7]319
[70e3220]320 </sect2>
321
322 <sect2 role="content">
323 <title>Contents</title>
324
325 <segmentedlist>
326 <segtitle>Installed Programs</segtitle>
327 <segtitle>Installed Libraries</segtitle>
328 <segtitle>Installed Directories</segtitle>
329
330 <seglistitem>
[034eda7]331 <seg>aot-compile, gappletviewer, gc-analyze, gccgo, gcj, gcj-dbtool,
332 gcjh, gfortran, gij, gjar, gjarsigner, gjavah, gkeytool,
333 gnat, gnatbind, gnatchop, gnatclean, gnatfind, gnative2ascii, gnatkr,
334 gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gorbd,
335 grmic, grmid, grmiregistry, gserialver, gtnameserv, jcf-dump,
336 jv-convert, rebuild-gcj-db, and architecture specific names</seg>
337 <seg>libgcj_bc.so, libgcj.so, libgcj-tools.so, libgfortran.{so,a},
338 libgij.so, libgo.{so,a}, libgobegin.a, libobjc.{so,a} and numerous other
[800c9c3]339 run-time libraries and executables in /usr/lib/gcc</seg>
[034eda7]340 <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org,sun},
341 /usr/lib/gcc/&lt;arch-model&gt;-linux-gnu/&gcc-version;/ada{include,lib},
342 /usr/lib/gcj-&gcc-version;-13,
343 /usr/lib/go,
[b9e7422]344 /usr/lib/security,
345 and /usr/share/java</seg>
[70e3220]346 </seglistitem>
347 </segmentedlist>
348
[800c9c3]349 <para>Some program and library names and descriptions are not listed here,
350 but can be found at
351 <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/> as they were
352 initially installed during the building of LFS.</para>
353
[70e3220]354 <variablelist>
355 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
356 <?dbfo list-presentation="list"?>
357 <?dbhtml list-presentation="table"?>
358
[034eda7]359 <varlistentry id="aot-compile">
360 <term><command>aot-compile</command></term>
[70e3220]361 <listitem>
[034eda7]362 <para>searches a directory for Java bytecode and uses
363 <command>gcj</command> to compile it to native code.</para>
364 <indexterm zone="gcc aot-compile">
365 <primary sortas="b-aot-compile">aot-compile</primary>
[70e3220]366 </indexterm>
367 </listitem>
368 </varlistentry>
369
[034eda7]370 <varlistentry id="gappletviewer">
371 <term><command>gappletviewer</command></term>
[70e3220]372 <listitem>
[034eda7]373 <para>loads and run a <application>Java</application> applet.</para>
374 <indexterm zone="gcc gappletviewer">
375 <primary sortas="b-gappletviewer">gappletviewer</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="gc-analyze">
381 <term><command>gc-analyze</command></term>
382 <listitem>
383 <para>analyzes garbage collector (GC) memory dumps from
384 <application>Java</application> code.</para>
385 <indexterm zone="gcc gc-analyze">
386 <primary sortas="b-gc-analyze">gc-analyze</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="gccgo">
392 <term><command>gccgo</command></term>
393 <listitem>
394 <para>is a GCC-based compiler for the
395 <application>Go</application> language.</para>
396 <indexterm zone="gcc gccgo">
397 <primary sortas="b-gccgo">gccgo</primary>
[70e3220]398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="gcj">
403 <term><command>gcj</command></term>
404 <listitem>
[8092658]405 <para>is an ahead-of-time compiler for the
[70e3220]406 <application>Java</application> language.</para>
407 <indexterm zone="gcc gcj">
408 <primary sortas="b-gcj">gcj</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
[800c9c3]413 <varlistentry id="gcj-dbtool">
414 <term><command>gcj-dbtool</command></term>
415 <listitem>
416 <para>is a tool for creating and manipulating class file mapping
417 databases.</para>
418 <indexterm zone="gcc gcj-dbtool">
419 <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
[70e3220]424 <varlistentry id="gcjh">
425 <term><command>gcjh</command></term>
426 <listitem>
[0619e6d]427 <para>generates header files from <application>Java</application>
[70e3220]428 class files.</para>
429 <indexterm zone="gcc gcjh">
430 <primary sortas="b-gcjh">gcjh</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
[800c9c3]435 <varlistentry id="gfortran">
436 <term><command>gfortran</command></term>
437 <listitem>
438 <para>is the <application>Fortran</application> compiler invoked by
439 <command>gcc</command>.</para>
440 <indexterm zone="gcc gfortran">
441 <primary sortas="b-gfortran">gfortran</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
[70e3220]446 <varlistentry id="gij">
447 <term><command>gij</command></term>
448 <listitem>
[0619e6d]449 <para>is the GNU interpreter for <application>Java</application>
[70e3220]450 bytecode.</para>
451 <indexterm zone="gcc gij">
452 <primary sortas="b-gij">gij</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
[034eda7]457 <varlistentry id="gjar">
458 <term><command>gjar</command></term>
459 <listitem>
460 <para>is an (partial) implementation of the <command>jar</command>
461 utility that comes with Sun's JDK.</para>
462 <indexterm zone="gcc gjar">
463 <primary sortas="b-gjar">gjar</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="gjarsigner">
469 <term><command>gjarsigner</command></term>
470 <listitem>
471 <para>is a Java ARchive (JAR) file signing and verification
472 tool.</para>
473 <indexterm zone="gcc gjarsigner">
474 <primary sortas="b-gjarsigner">gjarsigner</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="gjavah">
480 <term><command>gjavah</command></term>
[800c9c3]481 <listitem>
[034eda7]482 <para>generates header files from Java class files.</para>
483 <indexterm zone="gcc gjavah">
484 <primary sortas="b-gjavah">gjavah</primary>
[800c9c3]485 </indexterm>
486 </listitem>
487 </varlistentry>
[034eda7]488
489 <varlistentry id="gkeytool">
490 <term><command>gkeytool</command></term>
491 <listitem>
492 <para>manages private keys and public certificates in a
493 <application>Java</application> environment.</para>
494 <indexterm zone="gcc gkeytool">
495 <primary sortas="b-gkeytool">gkeytool</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
[70e3220]500 <varlistentry id="gnat">
501 <term><command>gnat</command></term>
502 <listitem>
[8092658]503 <para>is the <application>Ada</application> compiler invoked by
[70e3220]504 <command>gcc</command>.</para>
505 <indexterm zone="gcc gnat">
506 <primary sortas="b-gnat">gnat</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="gnatbind">
512 <term><command>gnatbind</command></term>
513 <listitem>
514 <para>is used to bind compiled objects.</para>
515 <indexterm zone="gcc gnatbind">
516 <primary sortas="b-gnatbind">gnatbind</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="gnatchop">
522 <term><command>gnatchop</command></term>
523 <listitem>
[8092658]524 <para>is useful for renaming files to meet the standard
[70e3220]525 <application>Ada</application> default file naming conventions.</para>
526 <indexterm zone="gcc gnatchop">
527 <primary sortas="b-gnatchop">gnatchop</primary>
528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="gnatclean">
533 <term><command>gnatclean</command></term>
534 <listitem>
[8092658]535 <para>is used to remove files associated with a
[70e3220]536 <application>GNAT</application> project.</para>
537 <indexterm zone="gcc gnatclean">
538 <primary sortas="b-gnatclean">gnatclean</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="gnatfind">
544 <term><command>gnatfind</command></term>
545 <listitem>
546 <para> is the <application>GNAT</application> definition/use finder.</para>
547 <indexterm zone="gcc gnatfind">
548 <primary sortas="b-gnatfind">gnatfind</primary>
549 </indexterm>
550 </listitem>
551 </varlistentry>
552
[034eda7]553 <varlistentry id="gnative2ascii">
554 <term><command>gnative2ascii</command></term>
555 <listitem>
556 <para>is an encoding converter for <application>Java</application>.</para>
557 <indexterm zone="gcc gnative2ascii">
558 <primary sortas="b-gnative2ascii">gnative2ascii</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
[70e3220]563 <varlistentry id="gnatkr">
564 <term><command>gnatkr</command></term>
565 <listitem>
[8092658]566 <para>is used to determine the crunched name for a given file, when
[70e3220]567 crunched to a specified maximum length.</para>
568 <indexterm zone="gcc gnatkr">
569 <primary sortas="b-gnatkr">gnatkr</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574 <varlistentry id="gnatlink">
575 <term><command>gnatlink</command></term>
576 <listitem>
577 <para>is used to link programs and build an executable file.</para>
578 <indexterm zone="gcc gnatlink">
579 <primary sortas="b-gnatlink">gnatlink</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="gnatls">
585 <term><command>gnatls</command></term>
586 <listitem>
587 <para>is the compiled unit browser.</para>
588 <indexterm zone="gcc gnatls">
589 <primary sortas="b-gnatls">gnatls</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="gnatmake">
595 <term><command>gnatmake</command></term>
596 <listitem>
597 <para>is an automatic <command>make</command> facility.</para>
598 <indexterm zone="gcc gnatmake">
599 <primary sortas="b-gnatmake">gnatmake</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
604 <varlistentry id="gnatname">
605 <term><command>gnatname</command></term>
606 <listitem>
607 <para>will list the files associated with a
608 <application>GNAT</application> project.</para>
609 <indexterm zone="gcc gnatname">
610 <primary sortas="b-gnatname">gnatname</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="gnatprep">
616 <term><command>gnatprep</command></term>
617 <listitem>
618 <para>is the <application>GNAT</application> external preprocessor.</para>
619 <indexterm zone="gcc gnatprep">
620 <primary sortas="b-gnatprep">gnatprep</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="gnatxref">
626 <term><command>gnatxref</command></term>
627 <listitem>
628 <para>is the <application>GNAT</application> cross-referencer.</para>
629 <indexterm zone="gcc gnatxref">
630 <primary sortas="b-gnatxref">gnatxref</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
[034eda7]635 <varlistentry id="gorbd">
636 <term><command>gorbd</command></term>
[70e3220]637 <listitem>
[034eda7]638 <para>is an object request broker daemon.</para>
639 <indexterm zone="gcc gorbd">
640 <primary sortas="b-gorbd">gorbd</primary>
[70e3220]641 </indexterm>
642 </listitem>
643 </varlistentry>
644
[800c9c3]645 <varlistentry id="grmic-gcc">
646 <term><command>grmic</command></term>
[70e3220]647 <listitem>
[800c9c3]648 <para>generates stubs for Remote Method Invocation.</para>
649 <indexterm zone="gcc grmic-gcc">
650 <primary sortas="b-grmic">grmic</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
[034eda7]655 <varlistentry id="grmid-gcc">
656 <term><command>grmid</command></term>
657 <listitem>
658 <para>RMI activation system daemon.</para>
659 <indexterm zone="gcc grmid-gcc">
660 <primary sortas="b-grmid">grmid</primary>
661 </indexterm>
662 </listitem>
663 </varlistentry>
664
[800c9c3]665 <varlistentry id="grmiregistry-gcc">
666 <term><command>grmiregistry</command></term>
667 <listitem>
668 <para> starts a remote object registry on the current host.</para>
669 <indexterm zone="gcc grmiregistry-gcc">
670 <primary sortas="b-grmiregistry">grmiregistry</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
[034eda7]675 <varlistentry id="gserialver">
676 <term><command>gserialver</command></term>
677 <listitem>
678 <para> prints the serialVersionUID of the specified class.</para>
679 <indexterm zone="gcc gserialver">
680 <primary sortas="b-gserialver">gserialver</primary>
681 </indexterm>
682 </listitem>
683 </varlistentry>
684
685 <varlistentry id="gtnameserv">
686 <term><command>gtnameserv</command></term>
[800c9c3]687 <listitem>
[034eda7]688 <para> starts a naming service.</para>
689 <indexterm zone="gcc gtnameserv">
690 <primary sortas="b-gtnameserv">gtnameserv</primary>
[70e3220]691 </indexterm>
692 </listitem>
693 </varlistentry>
694
695 <varlistentry id="jcf-dump">
696 <term><command>jcf-dump</command></term>
697 <listitem>
[0619e6d]698 <para>prints information about <application>Java</application>
[70e3220]699 class files.</para>
700 <indexterm zone="gcc jcf-dump">
701 <primary sortas="b-jcf-dump">jcf-dump</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="jv-convert">
707 <term><command>jv-convert</command></term>
708 <listitem>
709 <para>converts files from one encoding to another.</para>
710 <indexterm zone="gcc jv-convert">
711 <primary sortas="b-jv-convert">jv-convert</primary>
712 </indexterm>
713 </listitem>
714 </varlistentry>
715
[034eda7]716 <varlistentry id="rebuild-gcj-db">
717 <term><command>rebuild-gcj-db</command></term>
[70e3220]718 <listitem>
[034eda7]719 <para>Merge the per-solib databases made by
720 <application>aot-compile</application> into one system-wide
721 database.</para>
722 <indexterm zone="gcc rebuild-gcj-db">
723 <primary sortas="b-rebuild-gcj-db">rebuild-gcj-db</primary>
[70e3220]724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 </variablelist>
729
730 </sect2>
[1a686a1]731
732</sect1>
Note: See TracBrowser for help on using the repository browser.