source: general/prog/gcc.xml@ 034eda7

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 034eda7 was 034eda7, checked in by Krejzi <krejzi@…>, 11 years ago

Added GNAT and Go build instructions to GCC page thanks to Pierre Labastie.

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

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