1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/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://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
|
---|
9 | <!ENTITY gcc-md5sum "cc308a0891e778cfda7a151ab8a6e762">
|
---|
10 | <!ENTITY gcc-size "80 MB">
|
---|
11 | <!ENTITY gcc-buildsize "~3.5 GB (build, test and install all compilers)">
|
---|
12 | <!ENTITY gcc-time "126 SBU (build, test and install all compilers)">
|
---|
13 |
|
---|
14 | <!ENTITY gnat-download-http "https://libre.adacore.com/download/">
|
---|
15 | <!-- We don't know what platform, so this is commented out
|
---|
16 | <!ENTITY gnat-md5sum "6425f2c7cabbdee4595b4b7c0d47237f">
|
---|
17 | <!ENTITY gnat-size "110 MB"> -->
|
---|
18 | ]>
|
---|
19 |
|
---|
20 | <sect1 id="gcc" xreflabel="GCC-&gcc-version;">
|
---|
21 | <?dbhtml filename="gcc.html" ?>
|
---|
22 |
|
---|
23 | <sect1info>
|
---|
24 | <othername>$LastChangedBy$</othername>
|
---|
25 | <date>$Date$</date>
|
---|
26 | </sect1info>
|
---|
27 |
|
---|
28 | <title>GCC-&gcc-version;</title>
|
---|
29 |
|
---|
30 | <indexterm zone="gcc">
|
---|
31 | <primary sortas="a-gcc-4-0">GCC-&gcc-version;</primary>
|
---|
32 | </indexterm>
|
---|
33 |
|
---|
34 | <sect2 role="package">
|
---|
35 | <title>Introduction to GCC</title>
|
---|
36 |
|
---|
37 | <para>The <application>GCC</application> package contains GNU compilers.
|
---|
38 | This package is useful for compiling programs written in C, C++, Fortran,
|
---|
39 | Java, Objective C, and Objective C++. You should ensure you actually
|
---|
40 | need one of these additional compilers (C and C++ are installed in LFS)
|
---|
41 | before you install them. Additionally, there are instructions in the BLFS
|
---|
42 | book to install <xref linkend="openjdk"/>, which can be used instead of
|
---|
43 | the Java provided by the <application>GCC</application> package. Many
|
---|
44 | consider the Iced Tea version to be a more robust Java environment than the
|
---|
45 | one provided by <application>GCC</application>.</para>
|
---|
46 |
|
---|
47 | &lfs72_checked;
|
---|
48 |
|
---|
49 | <caution>
|
---|
50 | <para>If you are upgrading <application>GCC</application> from any other
|
---|
51 | version prior to &gcc-version;, then you must be careful compiling 3rd
|
---|
52 | party kernel modules. You should ensure that the kernel and all its
|
---|
53 | native modules are also compiled using the same version of
|
---|
54 | <application>GCC</application> that you use to build the 3rd party module.
|
---|
55 | This issue does not affect native kernel (and kernel modules) updates,
|
---|
56 | as the instructions below are a complete reinstallation of
|
---|
57 | <application>GCC</application>. If you have existing 3rd party modules
|
---|
58 | installed, ensure they are recompiled using the updated version of
|
---|
59 | <application>GCC</application>. As always, never update the kernel
|
---|
60 | headers from the ones used when <application>Glibc</application> was
|
---|
61 | compiled during LFS.</para>
|
---|
62 | </caution>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
65 | <itemizedlist spacing="compact">
|
---|
66 | <listitem>
|
---|
67 | <para>Download (HTTP): <ulink url="&gcc-download-http;"/></para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>Download (FTP): <ulink url="&gcc-download-ftp;"/></para>
|
---|
71 | </listitem>
|
---|
72 | <listitem>
|
---|
73 | <para>Download MD5 sum: &gcc-md5sum;</para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>Download size: &gcc-size;</para>
|
---|
77 | </listitem>
|
---|
78 | <listitem>
|
---|
79 | <para>Estimated disk space required: &gcc-buildsize;</para>
|
---|
80 | </listitem>
|
---|
81 | <listitem>
|
---|
82 | <para>Estimated build time: &gcc-time;</para>
|
---|
83 | </listitem>
|
---|
84 | </itemizedlist>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
89 | <para role="recommended"><xref linkend="dejagnu"/></para>
|
---|
90 |
|
---|
91 | <note>
|
---|
92 | <para>Building Ada from source is no longer supported by BLFS. The
|
---|
93 | upstream binary package is based on gcc-4.5.4 and is not suitable
|
---|
94 | for building Ada from the current <application>GCC</application>
|
---|
95 | package.</para>
|
---|
96 | </note>
|
---|
97 | <!--
|
---|
98 | <bridgehead renderas="sect3">GNAT GPL 2012 Package Information</bridgehead>
|
---|
99 | <itemizedlist spacing="compact">
|
---|
100 | <listitem>
|
---|
101 | <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
|
---|
102 | </listitem>
|
---|
103 | </itemizedlist>
|
---|
104 | -->
|
---|
105 | <para condition="html" role="usernotes">User Notes:
|
---|
106 | <ulink url="&blfs-wiki;/gcc"/></para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 | <!--
|
---|
110 | <sect2 role="installation">
|
---|
111 | <title>Installation of GNAT</title>
|
---|
112 |
|
---|
113 | <para>Before unpacking and changing into the GCC build directory, first
|
---|
114 | unpack the <application>GNAT</application> tarball and change into the
|
---|
115 | newly created directory and install <application>GNAT</application> by
|
---|
116 | running the following command:</para>
|
---|
117 |
|
---|
118 | <screen><userinput>make ins-all prefix=<replaceable><Your build directory></replaceable>/gnat</userinput></screen>
|
---|
119 |
|
---|
120 | <para>The <application>GNAT</application> compiler can be
|
---|
121 | invoked by executing the <command>gcc</command> binary installed
|
---|
122 | in <filename
|
---|
123 | class='directory'><replaceable><Your build directory></replaceable>/gnat/bin</filename>.</para>
|
---|
124 |
|
---|
125 | <para>You may now remove the <application>GNAT</application>
|
---|
126 | source directory:</para>
|
---|
127 |
|
---|
128 | <screen><userinput>cd .. &&
|
---|
129 | rm -rf gnat-2010-i686-gnu-linux-libc2.3-bin</userinput></screen>
|
---|
130 |
|
---|
131 | <para>Prepare to compile <application>GCC</application> by placing the
|
---|
132 | <application>GNAT</application> version of <command>gcc</command> at the
|
---|
133 | beginning of the <envar>PATH</envar> variable by using the following
|
---|
134 | commands:</para>
|
---|
135 |
|
---|
136 | <screen><userinput>PATH_HOLD=$PATH &&
|
---|
137 | export PATH=<replaceable><Your build directory></replaceable>/gnat/bin:$PATH_HOLD</userinput></screen>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 | -->
|
---|
141 | <sect2 role="installation">
|
---|
142 | <title>Installation of GCC</title>
|
---|
143 |
|
---|
144 | <para>Install <application>GCC</application> by running the
|
---|
145 | following commands:</para>
|
---|
146 |
|
---|
147 | <important>
|
---|
148 |
|
---|
149 | <para>The installation process may overwrite your existing
|
---|
150 | <application>GCC</application> <command>gcc</command> and
|
---|
151 | <command>c++</command> compilers and libraries. Having the the
|
---|
152 | <application>Tcl</application>, <application>Expect</application> and
|
---|
153 | <application>DejaGnu</application> packages installed before beginning
|
---|
154 | the build is highly recommended so you can run the full suite of
|
---|
155 | tests.</para>
|
---|
156 |
|
---|
157 | <para>Do not continue with the <command>make install</command> command
|
---|
158 | until you are confident the build was successful. You can compare your
|
---|
159 | test results with those found at <ulink
|
---|
160 | url="http://gcc.gnu.org/ml/gcc-testresults/"/>. You may also want to
|
---|
161 | refer to the information found in the <application>GCC</application>
|
---|
162 | section of Chapter 6 in the LFS book (<ulink
|
---|
163 | url="&lfs-root;/chapter06/gcc.html"/>).</para>
|
---|
164 |
|
---|
165 | </important>
|
---|
166 |
|
---|
167 | <para>The instructions below perform a <quote><command>make
|
---|
168 | bootstrap</command></quote> instead of just a plain
|
---|
169 | <quote><command>make</command></quote> intentionally. Even though it is
|
---|
170 | assumed that the current version of <application>GCC</application> is
|
---|
171 | installed in LFS, a bootstrap is recommended for robustness. </para>
|
---|
172 |
|
---|
173 | <screen><userinput>sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
|
---|
174 | sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
|
---|
175 |
|
---|
176 | case `uname -m` in
|
---|
177 | i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
|
---|
178 | esac &&
|
---|
179 |
|
---|
180 | mkdir ../gcc-build &&
|
---|
181 | cd ../gcc-build &&
|
---|
182 |
|
---|
183 | ../gcc-&gcc-version;/configure \
|
---|
184 | --prefix=/usr \
|
---|
185 | --libexecdir=/usr/lib \
|
---|
186 | --with-system-zlib \
|
---|
187 | --enable-shared \
|
---|
188 | --enable-threads=posix \
|
---|
189 | --enable-__cxa_atexit \
|
---|
190 | --disable-multilib \
|
---|
191 | --enable-bootstrap \
|
---|
192 | --enable-clocale=gnu \
|
---|
193 | --enable-languages=c,c++,fortran,java,objc,obj-c++ &&
|
---|
194 |
|
---|
195 | make bootstrap &&
|
---|
196 | make -k check &&
|
---|
197 |
|
---|
198 | ../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
|
---|
199 |
|
---|
200 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
201 |
|
---|
202 | <screen role="root"><userinput>make install &&
|
---|
203 |
|
---|
204 | ln -v -sf ../usr/bin/cpp /lib &&
|
---|
205 | ln -v -sf gcc /usr/bin/cc </userinput></screen>
|
---|
206 |
|
---|
207 | <!--
|
---|
208 | chown -v -R root:root \
|
---|
209 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include \
|
---|
210 | /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
|
---|
211 | -->
|
---|
212 | <para>The <filename class='libraryfile'>libffi</filename> interface header
|
---|
213 | is installed in a location where other packages will not be able to find
|
---|
214 | it. If you included Java as one of the installed languages, create a
|
---|
215 | symbolic link in <filename class='directory'>/usr/include</filename> to
|
---|
216 | remedy this:</para>
|
---|
217 |
|
---|
218 | <screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
|
---|
219 |
|
---|
220 | <!--
|
---|
221 | <para>You should now become the unprivileged user and remove the
|
---|
222 | <application>GNAT</application> installation and perform other
|
---|
223 | cleanups:</para>
|
---|
224 |
|
---|
225 | <screen><userinput>rm -rf <replaceable><Your build directory></replaceable>/gnat</userinput></screen>
|
---|
226 |
|
---|
227 | <screen><userinput>export PATH=$PATH_HOLD &&
|
---|
228 | unset PATH_HOLD</userinput></screen>
|
---|
229 | -->
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | <sect2 role="commands">
|
---|
233 | <title>Command Explanations</title>
|
---|
234 |
|
---|
235 | <para>The three <command>sed</command> commands are the same ones used
|
---|
236 | during the build of LFS.</para>
|
---|
237 |
|
---|
238 | <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
|
---|
239 | <application>GCC</application> documentation recommends
|
---|
240 | building the package in a dedicated build directory.</para>
|
---|
241 |
|
---|
242 | <para><parameter>--enable-shared --enable-threads=posix
|
---|
243 | --enable-__cxa_atexit</parameter>: These parameters are required to build
|
---|
244 | the <application>C++</application> libraries to published standards.</para>
|
---|
245 |
|
---|
246 | <para><parameter>--disable-multilib</parameter>: This parameter ensures
|
---|
247 | that files are created for the specific architecture of your computer.</para>
|
---|
248 |
|
---|
249 | <para><parameter>--enable-bootstrap</parameter>: This parameter is used
|
---|
250 | so that a bootstrap installation is performed.</para>
|
---|
251 |
|
---|
252 | <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
|
---|
253 | failsafe for incomplete locale data.</para>
|
---|
254 |
|
---|
255 | <para>
|
---|
256 | <parameter>--enable-languages=c,c++,fortran,java,objc,obj-c++</parameter>:
|
---|
257 | This command identifies which languages to build. You may modify this command
|
---|
258 | to remove undesired languages.</para>
|
---|
259 |
|
---|
260 | <para><command>make -k check</command>: This command runs the test suite
|
---|
261 | without stopping if any errors are encountered.</para>
|
---|
262 |
|
---|
263 | <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
|
---|
264 | command will produce a summary of the test suite results. You can append
|
---|
265 | <command>| grep -A7 Summ</command> to the command to produce an even more
|
---|
266 | condensed version of the summary. You may also wish to redirect the output
|
---|
267 | to a file for review and comparison later on.</para>
|
---|
268 |
|
---|
269 | <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
|
---|
270 | creates a link to the C PreProcessor as some packages expect it to be
|
---|
271 | installed in the <filename class='directory'>/lib</filename>
|
---|
272 | directory.</para>
|
---|
273 |
|
---|
274 | <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
|
---|
275 | some packages refer to the C compiler using an alternate name.</para>
|
---|
276 | <!--
|
---|
277 | <para><command>chown -v -R root:root
|
---|
278 | /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
|
---|
279 | If the package is built by a user other than root, the ownership of the
|
---|
280 | installed <filename class='directory'>include</filename> and
|
---|
281 | <filename class='directory'>adalib</filename> directories (and their
|
---|
282 | contents) will be incorrect. These commands change the ownership to the
|
---|
283 | <systemitem class="username">root</systemitem> user and group . Omit the
|
---|
284 | command changing the Ada directories if you did not include Ada as one of
|
---|
285 | the installed languages.</para>
|
---|
286 | -->
|
---|
287 | </sect2>
|
---|
288 |
|
---|
289 | <sect2 role="content">
|
---|
290 | <title>Contents</title>
|
---|
291 |
|
---|
292 | <segmentedlist>
|
---|
293 | <segtitle>Installed Programs</segtitle>
|
---|
294 | <segtitle>Installed Libraries</segtitle>
|
---|
295 | <segtitle>Installed Directories</segtitle>
|
---|
296 |
|
---|
297 | <seglistitem>
|
---|
298 | <seg>addr2name.awk, fastjar, gcj, gcj-dbtool,gcjh, gfortran, gij,
|
---|
299 | gjnih, gprmake,
|
---|
300 | grepjar, grmic, grmiregistry, gtreelang, jcf-dump, jv-convert, jv-scan
|
---|
301 | and architecture specific names for gcj and gcjh</seg>
|
---|
302 | <seg>libffi.{so,a}, libgcj.{so,a}, libgfortran.{so,a},
|
---|
303 | libgfortranbegin.a, libgij.{so,a}, libobjc.{so,a} and numerous other
|
---|
304 | run-time libraries and executables in /usr/lib/gcc</seg>
|
---|
305 | <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org},
|
---|
306 | /usr/lib/gcj-&gcc-version;,
|
---|
307 | /usr/lib/security,
|
---|
308 | and /usr/share/java</seg>
|
---|
309 | </seglistitem>
|
---|
310 | </segmentedlist>
|
---|
311 |
|
---|
312 | <para>Some program and library names and descriptions are not listed here,
|
---|
313 | but can be found at
|
---|
314 | <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/> as they were
|
---|
315 | initially installed during the building of LFS.</para>
|
---|
316 |
|
---|
317 | <variablelist>
|
---|
318 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
319 | <?dbfo list-presentation="list"?>
|
---|
320 | <?dbhtml list-presentation="table"?>
|
---|
321 |
|
---|
322 | <varlistentry id="addr2name.awk">
|
---|
323 | <term><command>addr2name.awk</command></term>
|
---|
324 | <listitem>
|
---|
325 | <para> emulates some of the functionality of addr2line.</para>
|
---|
326 | <indexterm zone="gcc addr2name.awk">
|
---|
327 | <primary sortas="b-addr2name.awk">addr2name.awk</primary>
|
---|
328 | </indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="fastjar-gcc">
|
---|
333 | <term><command>fastjar</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>is an archive tool for <application>Java</application> archives.</para>
|
---|
336 | <indexterm zone="gcc fastjar-gcc">
|
---|
337 | <primary sortas="b-fastjar">fastjar</primary>
|
---|
338 | </indexterm>
|
---|
339 | </listitem>
|
---|
340 | </varlistentry>
|
---|
341 |
|
---|
342 | <varlistentry id="gcj">
|
---|
343 | <term><command>gcj</command></term>
|
---|
344 | <listitem>
|
---|
345 | <para>is an ahead-of-time compiler for the
|
---|
346 | <application>Java</application> language.</para>
|
---|
347 | <indexterm zone="gcc gcj">
|
---|
348 | <primary sortas="b-gcj">gcj</primary>
|
---|
349 | </indexterm>
|
---|
350 | </listitem>
|
---|
351 | </varlistentry>
|
---|
352 |
|
---|
353 | <varlistentry id="gcj-dbtool">
|
---|
354 | <term><command>gcj-dbtool</command></term>
|
---|
355 | <listitem>
|
---|
356 | <para>is a tool for creating and manipulating class file mapping
|
---|
357 | databases.</para>
|
---|
358 | <indexterm zone="gcc gcj-dbtool">
|
---|
359 | <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
|
---|
360 | </indexterm>
|
---|
361 | </listitem>
|
---|
362 | </varlistentry>
|
---|
363 |
|
---|
364 | <varlistentry id="gcjh">
|
---|
365 | <term><command>gcjh</command></term>
|
---|
366 | <listitem>
|
---|
367 | <para>generates header files from <application>Java</application>
|
---|
368 | class files.</para>
|
---|
369 | <indexterm zone="gcc gcjh">
|
---|
370 | <primary sortas="b-gcjh">gcjh</primary>
|
---|
371 | </indexterm>
|
---|
372 | </listitem>
|
---|
373 | </varlistentry>
|
---|
374 |
|
---|
375 | <varlistentry id="gfortran">
|
---|
376 | <term><command>gfortran</command></term>
|
---|
377 | <listitem>
|
---|
378 | <para>is the <application>Fortran</application> compiler invoked by
|
---|
379 | <command>gcc</command>.</para>
|
---|
380 | <indexterm zone="gcc gfortran">
|
---|
381 | <primary sortas="b-gfortran">gfortran</primary>
|
---|
382 | </indexterm>
|
---|
383 | </listitem>
|
---|
384 | </varlistentry>
|
---|
385 |
|
---|
386 | <varlistentry id="gij">
|
---|
387 | <term><command>gij</command></term>
|
---|
388 | <listitem>
|
---|
389 | <para>is the GNU interpreter for <application>Java</application>
|
---|
390 | bytecode.</para>
|
---|
391 | <indexterm zone="gcc gij">
|
---|
392 | <primary sortas="b-gij">gij</primary>
|
---|
393 | </indexterm>
|
---|
394 | </listitem>
|
---|
395 | </varlistentry>
|
---|
396 |
|
---|
397 | <varlistentry id="gjnih">
|
---|
398 | <term><command>gjnij</command></term>
|
---|
399 | <listitem>
|
---|
400 | <para>is used to generate JNI header files from class files. Running
|
---|
401 | it is equivalent to running <command>gcjh -jni</command>.</para>
|
---|
402 | <indexterm zone="gcc gjnih">
|
---|
403 | <primary sortas="b-gjnih">gjnih</primary>
|
---|
404 | </indexterm>
|
---|
405 | </listitem>
|
---|
406 | </varlistentry>
|
---|
407 | <!--
|
---|
408 | <varlistentry id="gnat">
|
---|
409 | <term><command>gnat</command></term>
|
---|
410 | <listitem>
|
---|
411 | <para>is the <application>Ada</application> compiler invoked by
|
---|
412 | <command>gcc</command>.</para>
|
---|
413 | <indexterm zone="gcc gnat">
|
---|
414 | <primary sortas="b-gnat">gnat</primary>
|
---|
415 | </indexterm>
|
---|
416 | </listitem>
|
---|
417 | </varlistentry>
|
---|
418 |
|
---|
419 | <varlistentry id="gnatbind">
|
---|
420 | <term><command>gnatbind</command></term>
|
---|
421 | <listitem>
|
---|
422 | <para>is used to bind compiled objects.</para>
|
---|
423 | <indexterm zone="gcc gnatbind">
|
---|
424 | <primary sortas="b-gnatbind">gnatbind</primary>
|
---|
425 | </indexterm>
|
---|
426 | </listitem>
|
---|
427 | </varlistentry>
|
---|
428 |
|
---|
429 | <varlistentry id="gnatbl">
|
---|
430 | <term><command>gnatbl</command></term>
|
---|
431 | <listitem>
|
---|
432 | <para>is the <application>Ada</application> linker.</para>
|
---|
433 | <indexterm zone="gcc gnatbl">
|
---|
434 | <primary sortas="b-gnatbl">gnatbl</primary>
|
---|
435 | </indexterm>
|
---|
436 | </listitem>
|
---|
437 | </varlistentry>
|
---|
438 |
|
---|
439 | <varlistentry id="gnatchop">
|
---|
440 | <term><command>gnatchop</command></term>
|
---|
441 | <listitem>
|
---|
442 | <para>is useful for renaming files to meet the standard
|
---|
443 | <application>Ada</application> default file naming conventions.</para>
|
---|
444 | <indexterm zone="gcc gnatchop">
|
---|
445 | <primary sortas="b-gnatchop">gnatchop</primary>
|
---|
446 | </indexterm>
|
---|
447 | </listitem>
|
---|
448 | </varlistentry>
|
---|
449 |
|
---|
450 | <varlistentry id="gnatclean">
|
---|
451 | <term><command>gnatclean</command></term>
|
---|
452 | <listitem>
|
---|
453 | <para>is used to remove files associated with a
|
---|
454 | <application>GNAT</application> project.</para>
|
---|
455 | <indexterm zone="gcc gnatclean">
|
---|
456 | <primary sortas="b-gnatclean">gnatclean</primary>
|
---|
457 | </indexterm>
|
---|
458 | </listitem>
|
---|
459 | </varlistentry>
|
---|
460 |
|
---|
461 | <varlistentry id="gnatfind">
|
---|
462 | <term><command>gnatfind</command></term>
|
---|
463 | <listitem>
|
---|
464 | <para> is the <application>GNAT</application> definition/use finder.</para>
|
---|
465 | <indexterm zone="gcc gnatfind">
|
---|
466 | <primary sortas="b-gnatfind">gnatfind</primary>
|
---|
467 | </indexterm>
|
---|
468 | </listitem>
|
---|
469 | </varlistentry>
|
---|
470 |
|
---|
471 | <varlistentry id="gnatkr">
|
---|
472 | <term><command>gnatkr</command></term>
|
---|
473 | <listitem>
|
---|
474 | <para>is used to determine the crunched name for a given file, when
|
---|
475 | crunched to a specified maximum length.</para>
|
---|
476 | <indexterm zone="gcc gnatkr">
|
---|
477 | <primary sortas="b-gnatkr">gnatkr</primary>
|
---|
478 | </indexterm>
|
---|
479 | </listitem>
|
---|
480 | </varlistentry>
|
---|
481 |
|
---|
482 | <varlistentry id="gnatlink">
|
---|
483 | <term><command>gnatlink</command></term>
|
---|
484 | <listitem>
|
---|
485 | <para>is used to link programs and build an executable file.</para>
|
---|
486 | <indexterm zone="gcc gnatlink">
|
---|
487 | <primary sortas="b-gnatlink">gnatlink</primary>
|
---|
488 | </indexterm>
|
---|
489 | </listitem>
|
---|
490 | </varlistentry>
|
---|
491 |
|
---|
492 | <varlistentry id="gnatls">
|
---|
493 | <term><command>gnatls</command></term>
|
---|
494 | <listitem>
|
---|
495 | <para>is the compiled unit browser.</para>
|
---|
496 | <indexterm zone="gcc gnatls">
|
---|
497 | <primary sortas="b-gnatls">gnatls</primary>
|
---|
498 | </indexterm>
|
---|
499 | </listitem>
|
---|
500 | </varlistentry>
|
---|
501 |
|
---|
502 | <varlistentry id="gnatmake">
|
---|
503 | <term><command>gnatmake</command></term>
|
---|
504 | <listitem>
|
---|
505 | <para>is an automatic <command>make</command> facility.</para>
|
---|
506 | <indexterm zone="gcc gnatmake">
|
---|
507 | <primary sortas="b-gnatmake">gnatmake</primary>
|
---|
508 | </indexterm>
|
---|
509 | </listitem>
|
---|
510 | </varlistentry>
|
---|
511 |
|
---|
512 | <varlistentry id="gnatname">
|
---|
513 | <term><command>gnatname</command></term>
|
---|
514 | <listitem>
|
---|
515 | <para>will list the files associated with a
|
---|
516 | <application>GNAT</application> project.</para>
|
---|
517 | <indexterm zone="gcc gnatname">
|
---|
518 | <primary sortas="b-gnatname">gnatname</primary>
|
---|
519 | </indexterm>
|
---|
520 | </listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="gnatprep">
|
---|
524 | <term><command>gnatprep</command></term>
|
---|
525 | <listitem>
|
---|
526 | <para>is the <application>GNAT</application> external preprocessor.</para>
|
---|
527 | <indexterm zone="gcc gnatprep">
|
---|
528 | <primary sortas="b-gnatprep">gnatprep</primary>
|
---|
529 | </indexterm>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 |
|
---|
533 | <varlistentry id="gnatxref">
|
---|
534 | <term><command>gnatxref</command></term>
|
---|
535 | <listitem>
|
---|
536 | <para>is the <application>GNAT</application> cross-referencer.</para>
|
---|
537 | <indexterm zone="gcc gnatxref">
|
---|
538 | <primary sortas="b-gnatxref">gnatxref</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 | -->
|
---|
543 | <varlistentry id="gprmake">
|
---|
544 | <term><command>gprmake</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para>is a tool used to create <filename>Makefile</filename>s that
|
---|
547 | support compilation by multiple languages.</para>
|
---|
548 | <indexterm zone="gcc gprmake">
|
---|
549 | <primary sortas="b-gprmake">gprmake</primary>
|
---|
550 | </indexterm>
|
---|
551 | </listitem>
|
---|
552 | </varlistentry>
|
---|
553 |
|
---|
554 | <varlistentry id="grepjar">
|
---|
555 | <term><command>grepjar</command></term>
|
---|
556 | <listitem>
|
---|
557 | <para>searches <filename>jar</filename> files for a pattern.</para>
|
---|
558 | <indexterm zone="gcc grepjar">
|
---|
559 | <primary sortas="b-grepjar">grepjar</primary>
|
---|
560 | </indexterm>
|
---|
561 | </listitem>
|
---|
562 | </varlistentry>
|
---|
563 |
|
---|
564 | <varlistentry id="grmic-gcc">
|
---|
565 | <term><command>grmic</command></term>
|
---|
566 | <listitem>
|
---|
567 | <para>generates stubs for Remote Method Invocation.</para>
|
---|
568 | <indexterm zone="gcc grmic-gcc">
|
---|
569 | <primary sortas="b-grmic">grmic</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="grmiregistry-gcc">
|
---|
575 | <term><command>grmiregistry</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para> starts a remote object registry on the current host.</para>
|
---|
578 | <indexterm zone="gcc grmiregistry-gcc">
|
---|
579 | <primary sortas="b-grmiregistry">grmiregistry</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="gtreelang">
|
---|
585 | <term><command>gtreelang</command></term>
|
---|
586 | <listitem>
|
---|
587 | <para>is largely a cut down version of C, designed to showcase the
|
---|
588 | features of the <application>GCC</application> code generation back
|
---|
589 | end. Only those features that are directly supported by the
|
---|
590 | <application>GCC</application> code generation back end are
|
---|
591 | implemented. Features are implemented in a manner which is easiest
|
---|
592 | and clearest to implement. Not all or even most code generation back
|
---|
593 | end features are implemented. The intention is to add features
|
---|
594 | incrementally until most features of the
|
---|
595 | <application>GCC</application> back end are implemented in
|
---|
596 | Treelang.</para>
|
---|
597 | <indexterm zone="gcc gtreelang">
|
---|
598 | <primary sortas="b-gtreelang">gtreelang</primary>
|
---|
599 | </indexterm>
|
---|
600 | </listitem>
|
---|
601 | </varlistentry>
|
---|
602 |
|
---|
603 | <varlistentry id="jcf-dump">
|
---|
604 | <term><command>jcf-dump</command></term>
|
---|
605 | <listitem>
|
---|
606 | <para>prints information about <application>Java</application>
|
---|
607 | class files.</para>
|
---|
608 | <indexterm zone="gcc jcf-dump">
|
---|
609 | <primary sortas="b-jcf-dump">jcf-dump</primary>
|
---|
610 | </indexterm>
|
---|
611 | </listitem>
|
---|
612 | </varlistentry>
|
---|
613 |
|
---|
614 | <varlistentry id="jv-convert">
|
---|
615 | <term><command>jv-convert</command></term>
|
---|
616 | <listitem>
|
---|
617 | <para>converts files from one encoding to another.</para>
|
---|
618 | <indexterm zone="gcc jv-convert">
|
---|
619 | <primary sortas="b-jv-convert">jv-convert</primary>
|
---|
620 | </indexterm>
|
---|
621 | </listitem>
|
---|
622 | </varlistentry>
|
---|
623 |
|
---|
624 | <varlistentry id="jv-scan">
|
---|
625 | <term><command>jv-scan</command></term>
|
---|
626 | <listitem>
|
---|
627 | <para>prints information about <application>Java</application>
|
---|
628 | source files.</para>
|
---|
629 | <indexterm zone="gcc jv-scan">
|
---|
630 | <primary sortas="b-jv-scan">jv-scan</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | </variablelist>
|
---|
636 |
|
---|
637 | </sect2>
|
---|
638 |
|
---|
639 | </sect1>
|
---|