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