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