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