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