source: general/prog/gcc.xml@ 0c927ec

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 0c927ec was 0c927ec, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Update to gcc-4.8.2

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

  • Property mode set to 100644
File size: 28.3 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">
[0c927ec]9 <!ENTITY gcc-md5sum "a3d7d63b9cb6b6ea049469a0c4a43c9d">
10 <!ENTITY gcc-size "82 MB">
11 <!ENTITY gcc-buildsize "~2.9 GB (build, test and install all compilers except GNAT)">
12 <!ENTITY gcc-time "80 SBU (build, test and install all compilers except GNAT)">
[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
[d3757f1c]47 &lfs74_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>
[3a3f7b8]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
[d3757f1c]206../gcc-&gcc-version;/configure \
207 --prefix=/usr \
208 --libdir=/usr/lib \
209 --libexecdir=/usr/lib \
210 --enable-shared \
211 --enable-threads=posix \
212 --enable-__cxa_atexit \
213 --disable-multilib \
214 --disable-bootstrap \
215 --disable-install-libiberty \
216 --with-system-zlib \
217 --enable-clocale=gnu \
218 --enable-lto \
[034eda7]219 --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &amp;&amp;
[d3757f1c]220make
221</userinput></screen>
[5512e64]222
[d3757f1c]223 <para>If you have installed additional packages such as valgrind and gdb,
224 the gcc part of the testsuite will run more tests than in LFS.
225 Some of those will report FAIL and others XPASS (pass when expected
226 to FAIL). To run the checks:</para>
227
228<screen><userinput>
[a9aa69f]229ulimit -s 32768 &amp;&amp;
230make -k check &amp;&amp;
[5512e64]231
[70e3220]232../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
[8c9ec303]233
[70e3220]234 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8c9ec303]235
[70e3220]236<screen role="root"><userinput>make install &amp;&amp;
[5512e64]237
[8c9ec303]238ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
[a9aa69f]239ln -v -sf gcc /usr/bin/cc &amp;&amp;
[5512e64]240
[38485e5c]241chown -v -R root:root \
[034eda7]242 /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} \
243 /usr/lib/gcc/*linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
244<!-- Not needed since we do not install libffi
[f182eed]245 <para>The <filename class='libraryfile'>libffi</filename> interface header
246 is installed in a location where other packages will not be able to find
247 it. If you included Java as one of the installed languages, create a
248 symbolic link in <filename class='directory'>/usr/include</filename> to
249 remedy this:</para>
250
[034eda7]251<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>-->
[f182eed]252
[a9aa69f]253 <para>You should now remove the <application>GNAT</application>
254 installation and perform other cleanups:</para>
[70e3220]255
[a9aa69f]256<screen><userinput>rm -rf /opt/gnat &amp;&amp;
[034eda7]257export PATH=$PATH_HOLD &amp;&amp;
[70e3220]258unset PATH_HOLD</userinput></screen>
[034eda7]259
[70e3220]260 </sect2>
261
262 <sect2 role="commands">
263 <title>Command Explanations</title>
264
[034eda7]265 <para>The first two <command>sed</command> commands prevent the
266 installation of the <application>libffi</application> library bundled
267 with <application>GCC</application>, since it is outdated compared to
268 <xref linkend="libffi"/>. The three other <command>sed</command> commands
269 are the same ones used during the build of LFS.</para>
[70e3220]270
[8092658]271 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
272 <application>GCC</application> documentation recommends
[70e3220]273 building the package in a dedicated build directory.</para>
274
275 <para><parameter>--enable-shared --enable-threads=posix
[800c9c3]276 --enable-__cxa_atexit</parameter>: These parameters are required to build
[70e3220]277 the <application>C++</application> libraries to published standards.</para>
278
[5512e64]279 <para><parameter>--disable-multilib</parameter>: This parameter ensures
[d5855dc]280 that files are created for the specific architecture of your computer.</para>
[5512e64]281
[034eda7]282<!-- Double dashes are forbidden in comments, so use "- -". Change it to
283 double dash if you ever remove this comment!
284 <para><parameter>- -enable-bootstrap</parameter>: This parameter is used
[5512e64]285 so that a bootstrap installation is performed.</para>
[034eda7]286-->
[5512e64]287 <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
[70e3220]288 failsafe for incomplete locale data.</para>
289
[034eda7]290 <para><parameter>--enable-lto</parameter>: Setting this parameter allows
291 to build a compiler which is able to perform <quote>link time
292 optimization (lto)</quote>.</para>
293
[800c9c3]294 <para>
[034eda7]295 <parameter>--enable-languages=c,c++,fortran,java,objc,obj-c++,ada,go</parameter>:
296 This command identifies which languages to build. You may modify
297 this command to remove undesired languages.</para>
[70e3220]298
[a9aa69f]299 <para><command>ulimit -s 32768</command>: This command prevents several
300 tests from running out of stack space.</para>
301
[8092658]302 <para><command>make -k check</command>: This command runs the test suite
[800c9c3]303 without stopping if any errors are encountered.</para>
[70e3220]304
[8092658]305 <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
306 command will produce a summary of the test suite results. You can append
[70e3220]307 <command>| grep -A7 Summ</command> to the command to produce an even more
[800c9c3]308 condensed version of the summary. You may also wish to redirect the output
309 to a file for review and comparison later on.</para>
[70e3220]310
[800c9c3]311 <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
312 creates a link to the C PreProcessor as some packages expect it to be
313 installed in the <filename class='directory'>/lib</filename>
314 directory.</para>
[70e3220]315
[800c9c3]316 <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
317 some packages refer to the C compiler using an alternate name.</para>
[034eda7]318
[800c9c3]319 <para><command>chown -v -R root:root
[034eda7]320 /usr/lib/gcc/*linux-gnu/...</command>:
[8092658]321 If the package is built by a user other than root, the ownership of the
322 installed <filename class='directory'>include</filename> and
323 <filename class='directory'>adalib</filename> directories (and their
[800c9c3]324 contents) will be incorrect. These commands change the ownership to the
325 <systemitem class="username">root</systemitem> user and group . Omit the
326 command changing the Ada directories if you did not include Ada as one of
327 the installed languages.</para>
[034eda7]328
[70e3220]329 </sect2>
330
331 <sect2 role="content">
332 <title>Contents</title>
333
334 <segmentedlist>
335 <segtitle>Installed Programs</segtitle>
336 <segtitle>Installed Libraries</segtitle>
337 <segtitle>Installed Directories</segtitle>
338
339 <seglistitem>
[034eda7]340 <seg>aot-compile, gappletviewer, gc-analyze, gccgo, gcj, gcj-dbtool,
341 gcjh, gfortran, gij, gjar, gjarsigner, gjavah, gkeytool,
342 gnat, gnatbind, gnatchop, gnatclean, gnatfind, gnative2ascii, gnatkr,
343 gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gorbd,
344 grmic, grmid, grmiregistry, gserialver, gtnameserv, jcf-dump,
345 jv-convert, rebuild-gcj-db, and architecture specific names</seg>
346 <seg>libgcj_bc.so, libgcj.so, libgcj-tools.so, libgfortran.{so,a},
347 libgij.so, libgo.{so,a}, libgobegin.a, libobjc.{so,a} and numerous other
[800c9c3]348 run-time libraries and executables in /usr/lib/gcc</seg>
[034eda7]349 <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org,sun},
350 /usr/lib/gcc/&lt;arch-model&gt;-linux-gnu/&gcc-version;/ada{include,lib},
351 /usr/lib/gcj-&gcc-version;-13,
352 /usr/lib/go,
[b9e7422]353 /usr/lib/security,
354 and /usr/share/java</seg>
[70e3220]355 </seglistitem>
356 </segmentedlist>
357
[800c9c3]358 <para>Some program and library names and descriptions are not listed here,
359 but can be found at
360 <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/> as they were
361 initially installed during the building of LFS.</para>
362
[70e3220]363 <variablelist>
364 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
365 <?dbfo list-presentation="list"?>
366 <?dbhtml list-presentation="table"?>
367
[034eda7]368 <varlistentry id="aot-compile">
369 <term><command>aot-compile</command></term>
[70e3220]370 <listitem>
[034eda7]371 <para>searches a directory for Java bytecode and uses
372 <command>gcj</command> to compile it to native code.</para>
373 <indexterm zone="gcc aot-compile">
374 <primary sortas="b-aot-compile">aot-compile</primary>
[70e3220]375 </indexterm>
376 </listitem>
377 </varlistentry>
378
[034eda7]379 <varlistentry id="gappletviewer">
380 <term><command>gappletviewer</command></term>
[70e3220]381 <listitem>
[034eda7]382 <para>loads and run a <application>Java</application> applet.</para>
383 <indexterm zone="gcc gappletviewer">
384 <primary sortas="b-gappletviewer">gappletviewer</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="gc-analyze">
390 <term><command>gc-analyze</command></term>
391 <listitem>
392 <para>analyzes garbage collector (GC) memory dumps from
393 <application>Java</application> code.</para>
394 <indexterm zone="gcc gc-analyze">
395 <primary sortas="b-gc-analyze">gc-analyze</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="gccgo">
401 <term><command>gccgo</command></term>
402 <listitem>
403 <para>is a GCC-based compiler for the
404 <application>Go</application> language.</para>
405 <indexterm zone="gcc gccgo">
406 <primary sortas="b-gccgo">gccgo</primary>
[70e3220]407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="gcj">
412 <term><command>gcj</command></term>
413 <listitem>
[8092658]414 <para>is an ahead-of-time compiler for the
[70e3220]415 <application>Java</application> language.</para>
416 <indexterm zone="gcc gcj">
417 <primary sortas="b-gcj">gcj</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
[800c9c3]422 <varlistentry id="gcj-dbtool">
423 <term><command>gcj-dbtool</command></term>
424 <listitem>
425 <para>is a tool for creating and manipulating class file mapping
426 databases.</para>
427 <indexterm zone="gcc gcj-dbtool">
428 <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
[70e3220]433 <varlistentry id="gcjh">
434 <term><command>gcjh</command></term>
435 <listitem>
[0619e6d]436 <para>generates header files from <application>Java</application>
[70e3220]437 class files.</para>
438 <indexterm zone="gcc gcjh">
439 <primary sortas="b-gcjh">gcjh</primary>
440 </indexterm>
441 </listitem>
442 </varlistentry>
443
[800c9c3]444 <varlistentry id="gfortran">
445 <term><command>gfortran</command></term>
446 <listitem>
447 <para>is the <application>Fortran</application> compiler invoked by
448 <command>gcc</command>.</para>
449 <indexterm zone="gcc gfortran">
450 <primary sortas="b-gfortran">gfortran</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
[70e3220]455 <varlistentry id="gij">
456 <term><command>gij</command></term>
457 <listitem>
[0619e6d]458 <para>is the GNU interpreter for <application>Java</application>
[70e3220]459 bytecode.</para>
460 <indexterm zone="gcc gij">
461 <primary sortas="b-gij">gij</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
[034eda7]466 <varlistentry id="gjar">
467 <term><command>gjar</command></term>
468 <listitem>
469 <para>is an (partial) implementation of the <command>jar</command>
470 utility that comes with Sun's JDK.</para>
471 <indexterm zone="gcc gjar">
472 <primary sortas="b-gjar">gjar</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="gjarsigner">
478 <term><command>gjarsigner</command></term>
479 <listitem>
480 <para>is a Java ARchive (JAR) file signing and verification
481 tool.</para>
482 <indexterm zone="gcc gjarsigner">
483 <primary sortas="b-gjarsigner">gjarsigner</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 <varlistentry id="gjavah">
489 <term><command>gjavah</command></term>
[800c9c3]490 <listitem>
[034eda7]491 <para>generates header files from Java class files.</para>
492 <indexterm zone="gcc gjavah">
493 <primary sortas="b-gjavah">gjavah</primary>
[800c9c3]494 </indexterm>
495 </listitem>
496 </varlistentry>
[034eda7]497
498 <varlistentry id="gkeytool">
499 <term><command>gkeytool</command></term>
500 <listitem>
501 <para>manages private keys and public certificates in a
502 <application>Java</application> environment.</para>
503 <indexterm zone="gcc gkeytool">
504 <primary sortas="b-gkeytool">gkeytool</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
[70e3220]509 <varlistentry id="gnat">
510 <term><command>gnat</command></term>
511 <listitem>
[8092658]512 <para>is the <application>Ada</application> compiler invoked by
[70e3220]513 <command>gcc</command>.</para>
514 <indexterm zone="gcc gnat">
515 <primary sortas="b-gnat">gnat</primary>
516 </indexterm>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry id="gnatbind">
521 <term><command>gnatbind</command></term>
522 <listitem>
523 <para>is used to bind compiled objects.</para>
524 <indexterm zone="gcc gnatbind">
525 <primary sortas="b-gnatbind">gnatbind</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="gnatchop">
531 <term><command>gnatchop</command></term>
532 <listitem>
[8092658]533 <para>is useful for renaming files to meet the standard
[70e3220]534 <application>Ada</application> default file naming conventions.</para>
535 <indexterm zone="gcc gnatchop">
536 <primary sortas="b-gnatchop">gnatchop</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="gnatclean">
542 <term><command>gnatclean</command></term>
543 <listitem>
[8092658]544 <para>is used to remove files associated with a
[70e3220]545 <application>GNAT</application> project.</para>
546 <indexterm zone="gcc gnatclean">
547 <primary sortas="b-gnatclean">gnatclean</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="gnatfind">
553 <term><command>gnatfind</command></term>
554 <listitem>
555 <para> is the <application>GNAT</application> definition/use finder.</para>
556 <indexterm zone="gcc gnatfind">
557 <primary sortas="b-gnatfind">gnatfind</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
[034eda7]562 <varlistentry id="gnative2ascii">
563 <term><command>gnative2ascii</command></term>
564 <listitem>
565 <para>is an encoding converter for <application>Java</application>.</para>
566 <indexterm zone="gcc gnative2ascii">
567 <primary sortas="b-gnative2ascii">gnative2ascii</primary>
568 </indexterm>
569 </listitem>
570 </varlistentry>
571
[70e3220]572 <varlistentry id="gnatkr">
573 <term><command>gnatkr</command></term>
574 <listitem>
[8092658]575 <para>is used to determine the crunched name for a given file, when
[70e3220]576 crunched to a specified maximum length.</para>
577 <indexterm zone="gcc gnatkr">
578 <primary sortas="b-gnatkr">gnatkr</primary>
579 </indexterm>
580 </listitem>
581 </varlistentry>
582
583 <varlistentry id="gnatlink">
584 <term><command>gnatlink</command></term>
585 <listitem>
586 <para>is used to link programs and build an executable file.</para>
587 <indexterm zone="gcc gnatlink">
588 <primary sortas="b-gnatlink">gnatlink</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="gnatls">
594 <term><command>gnatls</command></term>
595 <listitem>
596 <para>is the compiled unit browser.</para>
597 <indexterm zone="gcc gnatls">
598 <primary sortas="b-gnatls">gnatls</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="gnatmake">
604 <term><command>gnatmake</command></term>
605 <listitem>
606 <para>is an automatic <command>make</command> facility.</para>
607 <indexterm zone="gcc gnatmake">
608 <primary sortas="b-gnatmake">gnatmake</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="gnatname">
614 <term><command>gnatname</command></term>
615 <listitem>
616 <para>will list the files associated with a
617 <application>GNAT</application> project.</para>
618 <indexterm zone="gcc gnatname">
619 <primary sortas="b-gnatname">gnatname</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="gnatprep">
625 <term><command>gnatprep</command></term>
626 <listitem>
627 <para>is the <application>GNAT</application> external preprocessor.</para>
628 <indexterm zone="gcc gnatprep">
629 <primary sortas="b-gnatprep">gnatprep</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="gnatxref">
635 <term><command>gnatxref</command></term>
636 <listitem>
637 <para>is the <application>GNAT</application> cross-referencer.</para>
638 <indexterm zone="gcc gnatxref">
639 <primary sortas="b-gnatxref">gnatxref</primary>
640 </indexterm>
641 </listitem>
642 </varlistentry>
643
[034eda7]644 <varlistentry id="gorbd">
645 <term><command>gorbd</command></term>
[70e3220]646 <listitem>
[034eda7]647 <para>is an object request broker daemon.</para>
648 <indexterm zone="gcc gorbd">
649 <primary sortas="b-gorbd">gorbd</primary>
[70e3220]650 </indexterm>
651 </listitem>
652 </varlistentry>
653
[800c9c3]654 <varlistentry id="grmic-gcc">
655 <term><command>grmic</command></term>
[70e3220]656 <listitem>
[800c9c3]657 <para>generates stubs for Remote Method Invocation.</para>
658 <indexterm zone="gcc grmic-gcc">
659 <primary sortas="b-grmic">grmic</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
[034eda7]664 <varlistentry id="grmid-gcc">
665 <term><command>grmid</command></term>
666 <listitem>
667 <para>RMI activation system daemon.</para>
668 <indexterm zone="gcc grmid-gcc">
669 <primary sortas="b-grmid">grmid</primary>
670 </indexterm>
671 </listitem>
672 </varlistentry>
673
[800c9c3]674 <varlistentry id="grmiregistry-gcc">
675 <term><command>grmiregistry</command></term>
676 <listitem>
677 <para> starts a remote object registry on the current host.</para>
678 <indexterm zone="gcc grmiregistry-gcc">
679 <primary sortas="b-grmiregistry">grmiregistry</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
[034eda7]684 <varlistentry id="gserialver">
685 <term><command>gserialver</command></term>
686 <listitem>
687 <para> prints the serialVersionUID of the specified class.</para>
688 <indexterm zone="gcc gserialver">
689 <primary sortas="b-gserialver">gserialver</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="gtnameserv">
695 <term><command>gtnameserv</command></term>
[800c9c3]696 <listitem>
[034eda7]697 <para> starts a naming service.</para>
698 <indexterm zone="gcc gtnameserv">
699 <primary sortas="b-gtnameserv">gtnameserv</primary>
[70e3220]700 </indexterm>
701 </listitem>
702 </varlistentry>
703
704 <varlistentry id="jcf-dump">
705 <term><command>jcf-dump</command></term>
706 <listitem>
[0619e6d]707 <para>prints information about <application>Java</application>
[70e3220]708 class files.</para>
709 <indexterm zone="gcc jcf-dump">
710 <primary sortas="b-jcf-dump">jcf-dump</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
715 <varlistentry id="jv-convert">
716 <term><command>jv-convert</command></term>
717 <listitem>
718 <para>converts files from one encoding to another.</para>
719 <indexterm zone="gcc jv-convert">
720 <primary sortas="b-jv-convert">jv-convert</primary>
721 </indexterm>
722 </listitem>
723 </varlistentry>
724
[034eda7]725 <varlistentry id="rebuild-gcj-db">
726 <term><command>rebuild-gcj-db</command></term>
[70e3220]727 <listitem>
[034eda7]728 <para>Merge the per-solib databases made by
729 <application>aot-compile</application> into one system-wide
730 database.</para>
731 <indexterm zone="gcc rebuild-gcj-db">
732 <primary sortas="b-rebuild-gcj-db">rebuild-gcj-db</primary>
[70e3220]733 </indexterm>
734 </listitem>
735 </varlistentry>
736
737 </variablelist>
738
739 </sect2>
[1a686a1]740
741</sect1>
Note: See TracBrowser for help on using the repository browser.