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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 0eae4c5 was f6ed1cf, checked in by Pierre Labastie <pieere@…>, 10 years ago

Change Adacore compiler from 2013 to 2014

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