source: general/prog/gcc.xml@ 4e88613

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 4e88613 was 4e88613, checked in by Randy McMurchy <randy@…>, 17 years ago

Fixed an empty URL in the mpg123 instructions which prevented the PDF version from rendering; replaced all instances of linuxfromscratch.org with an entity; replaced some miscellaneous hardcoded entries with existing entities; truncated some long lines in various files so that all the text fits on a PDF rendered page

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

  • Property mode set to 100644
File size: 25.8 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[800c9c3]7 <!ENTITY gcc-download-http "http://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
[52d29f7]8 <!ENTITY gcc-download-ftp "ftp://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
[fa0e8e65]9 <!ENTITY gcc-md5sum "6ff1af12c53cbb3f79b27f2d6a9a3d50">
10 <!ENTITY gcc-size "32.9 MB">
[e88817b5]11 <!ENTITY gcc-buildsize "1.7 GB">
[fa0e8e65]12 <!ENTITY gcc-time "60 SBU (build, test and install all compilers)">
[f182eed]13
[60a31248]14 <!ENTITY gnat-download-http "&sources-anduin-http;/g/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
15 <!ENTITY gnat-download-ftp "&sources-anduin-ftp;/g/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
[f182eed]16 <!ENTITY gnat-md5sum "c9aad2da908a40e876c24fc85f248b51">
17 <!ENTITY gnat-size "11.6 MB">
18 <!ENTITY gnat-buildsize "97.7 MB">
[4ea5113]19 <!ENTITY gnat-time "less than 0.1 SBU">
[52d29f7]20]>
21
[58bd309a]22<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
[70e3220]23 <?dbhtml filename="gcc.html" ?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>GCC-&gcc-version;</title>
31
32 <indexterm zone="gcc">
[800c9c3]33 <primary sortas="a-gcc-4-0">GCC-&gcc-version;</primary>
[70e3220]34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to GCC</title>
38
[8092658]39 <para>The <application>GCC</application> package contains GNU compilers.
[800c9c3]40 This package is useful for compiling programs written in C, C++, Fortran,
41 Java, Objective C and Ada. Also included is GNU Treelang. Treelang is a
42 sample language, useful only to help people understand how to implement a
43 new language front end to GCC. It is not a useful language in itself other
44 than as an example or basis for building a new language. Therefore only
45 language developers are likely to have an interest in it.</para>
46
47 <note>
48 <para>The Fortran compiler included with the
49 <application>GCC</application>-4.x package now aims to be conformant
50 with the Fortran 95 standard, not the Fortran 77 standard as all previous
51 versions of <application>GCC</application> have been. Please note the
52 following paragraph copied directly from the
53 <application>GCC</application>-&gcc-version; <command>gfortran</command>
54 man page.</para>
55
56 <para><quote>Gfortran is not yet a fully conformant Fortran 95 compiler.
57 It can generate code for most constructs and expressions, but work
58 remains to be done. In particular, there are known deficiencies with
59 ENTRY, NAMELIST, and sophisticated use of MODULES, POINTERS and DERIVED
60 TYPES. For those whose Fortran codes conform to either the Fortran 77
61 standard or the GNU Fortran 77 language, we recommend to use
62 <command>g77</command> from <application>GCC</application>
[8cfa6af]63 3.4.x</quote></para>
64
65 <para>Instructions to install the 3.4.6 version of the Fortran compiler
[fea3ac80]66 can be found in <xref linkend='gcc3'/> and on the
[4e88613]67 <ulink url="&blfs-wiki;/gcc3">BLFS
[8cfa6af]68 Wiki</ulink>.</para>
[800c9c3]69 </note>
[70e3220]70
71 <bridgehead renderas="sect3">Package Information</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>Download (HTTP): <ulink url="&gcc-download-http;"/></para>
75 </listitem>
76 <listitem>
77 <para>Download (FTP): <ulink url="&gcc-download-ftp;"/></para>
78 </listitem>
79 <listitem>
80 <para>Download MD5 sum: &gcc-md5sum;</para>
81 </listitem>
82 <listitem>
83 <para>Download size: &gcc-size;</para>
84 </listitem>
85 <listitem>
86 <para>Estimated disk space required: &gcc-buildsize;</para>
87 </listitem>
88 <listitem>
89 <para>Estimated build time: &gcc-time;</para>
90 </listitem>
91 </itemizedlist>
92
93 <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
[256ee72c]96 <para role="recommended"><xref linkend="dejagnu"/></para>
[70e3220]97
[800c9c3]98 <bridgehead renderas="sect4">Optional (Required to Build the Fortran
99 Compiler)</bridgehead>
[256ee72c]100 <para role="optional"><xref linkend="gmp"/> and
[800c9c3]101 <ulink url="http://www.mpfr.org/">MPFR</ulink></para>
102
[70e3220]103 <note>
[8092658]104 <para>If you plan to compile Ada, you will need to install
105 <application>GNAT</application> temporarily to satisfy the circular
[0619e6d]106 dependency when you recompile <application>GCC</application>
[70e3220]107 to include Ada.</para>
108 </note>
109
[800c9c3]110 <bridgehead renderas="sect3">GNAT-3.15 Package Information</bridgehead>
[70e3220]111 <itemizedlist spacing="compact">
112 <listitem>
113 <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
114 </listitem>
115 <listitem>
116 <para>Download (FTP): <ulink url="&gnat-download-ftp;"/></para>
117 </listitem>
118 <listitem>
119 <para>Download MD5 sum: &gnat-md5sum;</para>
120 </listitem>
121 <listitem>
122 <para>Download size: &gnat-size;</para>
123 </listitem>
[f182eed]124 <listitem>
125 <para>Estimated disk space required: &gnat-buildsize;</para>
126 </listitem>
[70e3220]127 <listitem>
128 <para>Estimated build time: &gnat-time;</para>
129 </listitem>
130 </itemizedlist>
131
[3a3f7b8]132 <!--
[70e3220]133 <bridgehead renderas="sect3">GNAT Dependencies</bridgehead>
134
135 <bridgehead renderas="sect4">Required</bridgehead>
[256ee72c]136 <para role="required"><xref linkend="tcsh"/></para>
[3a3f7b8]137 -->
[70e3220]138
[1039de3]139 <para condition="html" role="usernotes">User Notes:
140 <ulink url="&blfs-wiki;/gcc"/></para>
141
[70e3220]142 </sect2>
143
144 <sect2 role="installation">
145 <title>Installation of GNAT</title>
146
[3a3f7b8]147 <para>Install <application>GNAT</application> by running the following
148 command as the <systemitem class="username">root</systemitem> user:</para>
[70e3220]149
[3a3f7b8]150<screen role="root"><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
151
152<!--
[70e3220]153<screen><userinput>./doconfig</userinput></screen>
154
155 <para>The above script will ask you how and where you would like to install
[f182eed]156 <application>GNAT</application>. To avoid conflicts with the system
157 <command>gcc</command>, the package will be installed in a separate
158 directory that can later be removed from the system.</para>
[70e3220]159
[0619e6d]160 <para>In response to the questions asked by the <command>doconfig</command>
[70e3220]161 script, enter <userinput>3</userinput> in response to the first question
[800c9c3]162 and <userinput>/opt/gnat</userinput> in response to the second
163 question.</para>
[70e3220]164
[800c9c3]165 <para>To finish the installation, run the following command as the
[70e3220]166 <systemitem class="username">root</systemitem> user:</para>
167
168<screen role="root"><userinput>./doinstall</userinput></screen>
[3a3f7b8]169-->
[8092658]170 <para>The <application>GNAT</application> compiler can be
171 invoked by executing the <command>gcc</command> binary installed
[3a3f7b8]172 in <filename class='directory'>/opt/gnat/bin</filename>.</para>
[70e3220]173
[0619e6d]174 <para>You may now remove the <application>GNAT</application>
[70e3220]175 source directory:</para>
176
177<screen><userinput>cd .. &amp;&amp;
178rm -rf gnat-3.15p-i686-pc-linux-gnu-bin</userinput></screen>
179
[8092658]180 <para>Prepare to compile <application>GCC</application> by placing the
[800c9c3]181 <application>GNAT</application> version of <command>gcc</command> at the
182 beginning of the <envar>PATH</envar> variable by using the following
183 commands:</para>
[70e3220]184
185<screen><userinput>PATH_HOLD=$PATH &amp;&amp;
[fa0e8e65]186export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen>
[70e3220]187
188 </sect2>
189
190 <sect2 role="installation">
191 <title>Installation of GCC</title>
192
[8092658]193 <para>Install <application>GCC</application> by running the
[70e3220]194 following commands:</para>
195
196 <important>
[8092658]197 <para>The installation process may overwrite your existing
[800c9c3]198 <application>GCC</application> <command>gcc</command> and
199 <command>c++</command> compilers and libraries. It is highly recommended
200 that you have the <application>Tcl</application>,
[0619e6d]201 <application>Expect</application> and <application>DejaGnu</application>
[4ea5113]202 packages installed before beginning the build so you can run the full
203 suite of tests.</para>
[70e3220]204
[8092658]205 <para>Do not continue with the <command>make install</command> command
[fa0e8e65]206 until you are confident the build was successful. You can compare your
[4ea5113]207 test results with those found at
208 <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
[e88817b5]209 i686 platform test result produced by an LFS-SVN-20051127 system at
[fa0e8e65]210 <ulink url="&files-anduin;/gcc403_test.txt"/>. You
[4ea5113]211 may also want to refer to the information found in the
[800c9c3]212 <application>GCC</application>-Pass 2 section of Chapter 5 in the LFS
[e88817b5]213 book (<ulink url="&lfs-root;/chapter05/gcc-pass2.html"/>).</para>
[70e3220]214 </important>
215
[fa0e8e65]216 <!-- The instructions below perform a 'make bootstrap' instead of just
217 a plain 'make' intentionally. Even though we assume that the current
218 version of GCC is installed in LFS, because this installation includes
219 the Ada compiler as an installed language, a bootstrap is required.
220 The GNAT compiler must be used for stage1 of the bootstrap in order to
221 build Ada, therefore we must bootstrap, else we would have a GCC
222 installed on the system that was produced by a foriegn compiler. -->
[d02add0]223
[800c9c3]224<screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
[01d7eb0]225sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &amp;&amp;
[8ca386d]226mkdir ../gcc-build &amp;&amp;
227cd ../gcc-build &amp;&amp;
[800c9c3]228../gcc-&gcc-version;/configure \
229 --prefix=/usr \
230 --libexecdir=/usr/lib \
231 --enable-shared \
232 --enable-threads=posix \
233 --enable-__cxa_atexit \
234 --enable-clocale=gnu \
235 --enable-languages=c,c++,objc,f95,ada,java,treelang &amp;&amp;
[572c673]236make bootstrap &amp;&amp;
[8ca386d]237make -k check &amp;&amp;
[70e3220]238../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
[8c9ec303]239
[70e3220]240 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[8c9ec303]241
[70e3220]242<screen role="root"><userinput>make install &amp;&amp;
[8c9ec303]243ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
244ln -v -sf gcc /usr/bin/cc &amp;&amp;
[38485e5c]245chown -v -R root:root \
246 /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include &amp;&amp;
247chown -v -R root:root \
[70e3220]248 /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
249
[f182eed]250 <para>The <filename class='libraryfile'>libffi</filename> interface header
251 is installed in a location where other packages will not be able to find
252 it. If you included Java as one of the installed languages, create a
253 symbolic link in <filename class='directory'>/usr/include</filename> to
254 remedy this:</para>
255
256<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
257
[8092658]258 <para>As the <systemitem class="username">root</systemitem> user, remove the
[70e3220]259 <application>GNAT</application> installation:</para>
260
261<screen role="root"><userinput>rm -rf /opt/gnat</userinput></screen>
262
[8092658]263 <para>Now, as the unprivileged user, restore your old
[70e3220]264 <envar>PATH</envar>:</para>
265
266<screen><userinput>export PATH=$PATH_HOLD &amp;&amp;
267unset PATH_HOLD</userinput></screen>
268
269 </sect2>
270
271 <sect2 role="commands">
272 <title>Command Explanations</title>
273
[8092658]274 <para><command>sed -i 's/install_to_$(INSTALL_DEST) //'
[800c9c3]275 libiberty/Makefile.in</command>: This command suppresses the installation
276 of <filename class='libraryfile'>libiberty.a</filename> as the version
277 provided by <application>Binutils</application> is used instead.</para>
[70e3220]278
[8092658]279 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
280 <application>GCC</application> documentation recommends
[70e3220]281 building the package in a dedicated build directory.</para>
282
283 <para><parameter>--enable-shared --enable-threads=posix
[800c9c3]284 --enable-__cxa_atexit</parameter>: These parameters are required to build
[70e3220]285 the <application>C++</application> libraries to published standards.</para>
286
287 <para><parameter>--enable-clocale=gnu</parameter>: This command is a
288 failsafe for incomplete locale data.</para>
289
[800c9c3]290 <para>
291 <parameter>--enable-languages=c,c++,objc,f95,ada,java,treelang</parameter>:
[8092658]292 This command identifies which languages to build. You may modify this command
[70e3220]293 to remove undesired languages.</para>
294
[8092658]295 <para><command>make -k check</command>: This command runs the test suite
[800c9c3]296 without stopping if any errors are encountered.</para>
[70e3220]297
[8092658]298 <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
299 command will produce a summary of the test suite results. You can append
[70e3220]300 <command>| grep -A7 Summ</command> to the command to produce an even more
[800c9c3]301 condensed version of the summary. You may also wish to redirect the output
302 to a file for review and comparison later on.</para>
[70e3220]303
[800c9c3]304 <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
305 creates a link to the C PreProcessor as some packages expect it to be
306 installed in the <filename class='directory'>/lib</filename>
307 directory.</para>
[70e3220]308
[800c9c3]309 <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
310 some packages refer to the C compiler using an alternate name.</para>
[70e3220]311
[800c9c3]312 <para><command>chown -v -R root:root
313 /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
[8092658]314 If the package is built by a user other than root, the ownership of the
315 installed <filename class='directory'>include</filename> and
316 <filename class='directory'>adalib</filename> directories (and their
[800c9c3]317 contents) will be incorrect. These commands change the ownership to the
318 <systemitem class="username">root</systemitem> user and group . Omit the
319 command changing the Ada directories if you did not include Ada as one of
320 the installed languages.</para>
[70e3220]321
322 </sect2>
323
324 <sect2 role="content">
325 <title>Contents</title>
326
327 <segmentedlist>
328 <segtitle>Installed Programs</segtitle>
329 <segtitle>Installed Libraries</segtitle>
330 <segtitle>Installed Directories</segtitle>
331
332 <seglistitem>
[800c9c3]333 <seg>addr2name.awk, fastjar, gcj, gcj-dbtool,gcjh, gfortran, gij,
334 gjnih, gnat, gnatbind, gnatbl, gnatchop, gnatclean, gnatfind, gnatkr,
335 gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gprmake,
336 grepjar, grmic, grmiregistry, gtreelang, jcf-dump, jv-convert, jv-scan
337 and architecture specific names for gcj and gcjh</seg>
[1039de3]338 <seg>libffi.{so,a}, libgcj.{so,a}, libgfortran.{so,a},
339 libgfortranbegin.a, libgij.{so,a}, libobjc.{so,a} and numerous other
[800c9c3]340 run-time libraries and executables in /usr/lib/gcc</seg>
[3a3f7b8]341 <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org},
342 /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{include,lib},
343 /usr/lib/gcj-&gcc-version;,
[800c9c3]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
359 <varlistentry id="addr2name.awk">
360 <term><command>addr2name.awk</command></term>
361 <listitem>
362 <para> emulates some of the functionality of addr2line.</para>
363 <indexterm zone="gcc addr2name.awk">
364 <primary sortas="b-addr2name.awk">addr2name.awk</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
[800c9c3]369 <varlistentry id="fastjar-gcc">
370 <term><command>fastjar</command></term>
[70e3220]371 <listitem>
[800c9c3]372 <para>is an archive tool for <application>Java</application> archives.</para>
373 <indexterm zone="gcc fastjar-gcc">
374 <primary sortas="b-fastjar">fastjar</primary>
[70e3220]375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="gcj">
380 <term><command>gcj</command></term>
381 <listitem>
[8092658]382 <para>is an ahead-of-time compiler for the
[70e3220]383 <application>Java</application> language.</para>
384 <indexterm zone="gcc gcj">
385 <primary sortas="b-gcj">gcj</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
[800c9c3]390 <varlistentry id="gcj-dbtool">
391 <term><command>gcj-dbtool</command></term>
392 <listitem>
393 <para>is a tool for creating and manipulating class file mapping
394 databases.</para>
395 <indexterm zone="gcc gcj-dbtool">
396 <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
[70e3220]401 <varlistentry id="gcjh">
402 <term><command>gcjh</command></term>
403 <listitem>
[0619e6d]404 <para>generates header files from <application>Java</application>
[70e3220]405 class files.</para>
406 <indexterm zone="gcc gcjh">
407 <primary sortas="b-gcjh">gcjh</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
[800c9c3]412 <varlistentry id="gfortran">
413 <term><command>gfortran</command></term>
414 <listitem>
415 <para>is the <application>Fortran</application> compiler invoked by
416 <command>gcc</command>.</para>
417 <indexterm zone="gcc gfortran">
418 <primary sortas="b-gfortran">gfortran</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
[70e3220]423 <varlistentry id="gij">
424 <term><command>gij</command></term>
425 <listitem>
[0619e6d]426 <para>is the GNU interpreter for <application>Java</application>
[70e3220]427 bytecode.</para>
428 <indexterm zone="gcc gij">
429 <primary sortas="b-gij">gij</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
[800c9c3]434 <varlistentry id="gjnih">
435 <term><command>gjnij</command></term>
436 <listitem>
437 <para>is used to generate JNI header files from class files. Running
438 it is equivalent to running <command>gcjh -jni</command>.</para>
439 <indexterm zone="gcc gjnih">
440 <primary sortas="b-gjnih">gjnih</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
[70e3220]445 <varlistentry id="gnat">
446 <term><command>gnat</command></term>
447 <listitem>
[8092658]448 <para>is the <application>Ada</application> compiler invoked by
[70e3220]449 <command>gcc</command>.</para>
450 <indexterm zone="gcc gnat">
451 <primary sortas="b-gnat">gnat</primary>
452 </indexterm>
453 </listitem>
454 </varlistentry>
455
456 <varlistentry id="gnatbind">
457 <term><command>gnatbind</command></term>
458 <listitem>
459 <para>is used to bind compiled objects.</para>
460 <indexterm zone="gcc gnatbind">
461 <primary sortas="b-gnatbind">gnatbind</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 <varlistentry id="gnatbl">
467 <term><command>gnatbl</command></term>
468 <listitem>
469 <para>is the <application>Ada</application> linker.</para>
470 <indexterm zone="gcc gnatbl">
471 <primary sortas="b-gnatbl">gnatbl</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="gnatchop">
477 <term><command>gnatchop</command></term>
478 <listitem>
[8092658]479 <para>is useful for renaming files to meet the standard
[70e3220]480 <application>Ada</application> default file naming conventions.</para>
481 <indexterm zone="gcc gnatchop">
482 <primary sortas="b-gnatchop">gnatchop</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="gnatclean">
488 <term><command>gnatclean</command></term>
489 <listitem>
[8092658]490 <para>is used to remove files associated with a
[70e3220]491 <application>GNAT</application> project.</para>
492 <indexterm zone="gcc gnatclean">
493 <primary sortas="b-gnatclean">gnatclean</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="gnatfind">
499 <term><command>gnatfind</command></term>
500 <listitem>
501 <para> is the <application>GNAT</application> definition/use finder.</para>
502 <indexterm zone="gcc gnatfind">
503 <primary sortas="b-gnatfind">gnatfind</primary>
504 </indexterm>
505 </listitem>
506 </varlistentry>
507
508 <varlistentry id="gnatkr">
509 <term><command>gnatkr</command></term>
510 <listitem>
[8092658]511 <para>is used to determine the crunched name for a given file, when
[70e3220]512 crunched to a specified maximum length.</para>
513 <indexterm zone="gcc gnatkr">
514 <primary sortas="b-gnatkr">gnatkr</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="gnatlink">
520 <term><command>gnatlink</command></term>
521 <listitem>
522 <para>is used to link programs and build an executable file.</para>
523 <indexterm zone="gcc gnatlink">
524 <primary sortas="b-gnatlink">gnatlink</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="gnatls">
530 <term><command>gnatls</command></term>
531 <listitem>
532 <para>is the compiled unit browser.</para>
533 <indexterm zone="gcc gnatls">
534 <primary sortas="b-gnatls">gnatls</primary>
535 </indexterm>
536 </listitem>
537 </varlistentry>
538
539 <varlistentry id="gnatmake">
540 <term><command>gnatmake</command></term>
541 <listitem>
542 <para>is an automatic <command>make</command> facility.</para>
543 <indexterm zone="gcc gnatmake">
544 <primary sortas="b-gnatmake">gnatmake</primary>
545 </indexterm>
546 </listitem>
547 </varlistentry>
548
549 <varlistentry id="gnatname">
550 <term><command>gnatname</command></term>
551 <listitem>
552 <para>will list the files associated with a
553 <application>GNAT</application> project.</para>
554 <indexterm zone="gcc gnatname">
555 <primary sortas="b-gnatname">gnatname</primary>
556 </indexterm>
557 </listitem>
558 </varlistentry>
559
560 <varlistentry id="gnatprep">
561 <term><command>gnatprep</command></term>
562 <listitem>
563 <para>is the <application>GNAT</application> external preprocessor.</para>
564 <indexterm zone="gcc gnatprep">
565 <primary sortas="b-gnatprep">gnatprep</primary>
566 </indexterm>
567 </listitem>
568 </varlistentry>
569
570 <varlistentry id="gnatxref">
571 <term><command>gnatxref</command></term>
572 <listitem>
573 <para>is the <application>GNAT</application> cross-referencer.</para>
574 <indexterm zone="gcc gnatxref">
575 <primary sortas="b-gnatxref">gnatxref</primary>
576 </indexterm>
577 </listitem>
578 </varlistentry>
579
[800c9c3]580 <varlistentry id="gprmake">
581 <term><command>gprmake</command></term>
[70e3220]582 <listitem>
[8092658]583 <para>is a tool used to create <filename>Makefile</filename>s that
[70e3220]584 support compilation by multiple languages.</para>
[800c9c3]585 <indexterm zone="gcc gprmake">
586 <primary sortas="b-gprmake">gprmake</primary>
[70e3220]587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="grepjar">
592 <term><command>grepjar</command></term>
593 <listitem>
594 <para>searches <filename>jar</filename> files for a pattern.</para>
595 <indexterm zone="gcc grepjar">
596 <primary sortas="b-grepjar">grepjar</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
[800c9c3]601 <varlistentry id="grmic-gcc">
602 <term><command>grmic</command></term>
[70e3220]603 <listitem>
[800c9c3]604 <para>generates stubs for Remote Method Invocation.</para>
605 <indexterm zone="gcc grmic-gcc">
606 <primary sortas="b-grmic">grmic</primary>
607 </indexterm>
608 </listitem>
609 </varlistentry>
610
611 <varlistentry id="grmiregistry-gcc">
612 <term><command>grmiregistry</command></term>
613 <listitem>
614 <para> starts a remote object registry on the current host.</para>
615 <indexterm zone="gcc grmiregistry-gcc">
616 <primary sortas="b-grmiregistry">grmiregistry</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620
621 <varlistentry id="gtreelang">
622 <term><command>gtreelang</command></term>
623 <listitem>
624 <para>is largely a cut down version of C, designed to showcase the
625 features of the <application>GCC</application> code generation back
626 end. Only those features that are directly supported by the
627 <application>GCC</application> code generation back end are
628 implemented. Features are implemented in a manner which is easiest
629 and clearest to implement. Not all or even most code generation back
630 end features are implemented. The intention is to add features
631 incrementally until most features of the
632 <application>GCC</application> back end are implemented in
633 Treelang.</para>
634 <indexterm zone="gcc gtreelang">
635 <primary sortas="b-gtreelang">gtreelang</primary>
[70e3220]636 </indexterm>
637 </listitem>
638 </varlistentry>
639
640 <varlistentry id="jcf-dump">
641 <term><command>jcf-dump</command></term>
642 <listitem>
[0619e6d]643 <para>prints information about <application>Java</application>
[70e3220]644 class files.</para>
645 <indexterm zone="gcc jcf-dump">
646 <primary sortas="b-jcf-dump">jcf-dump</primary>
647 </indexterm>
648 </listitem>
649 </varlistentry>
650
651 <varlistentry id="jv-convert">
652 <term><command>jv-convert</command></term>
653 <listitem>
654 <para>converts files from one encoding to another.</para>
655 <indexterm zone="gcc jv-convert">
656 <primary sortas="b-jv-convert">jv-convert</primary>
657 </indexterm>
658 </listitem>
659 </varlistentry>
660
661 <varlistentry id="jv-scan">
662 <term><command>jv-scan</command></term>
663 <listitem>
[0619e6d]664 <para>prints information about <application>Java</application>
[70e3220]665 source files.</para>
666 <indexterm zone="gcc jv-scan">
667 <primary sortas="b-jv-scan">jv-scan</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 </variablelist>
673
674 </sect2>
[1a686a1]675
676</sect1>
Note: See TracBrowser for help on using the repository browser.