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 "3b2386c114cd74185aa3754b58a79304">
|
---|
10 | <!ENTITY gcc-size "83 MB">
|
---|
11 | <!ENTITY gcc-buildsize "~6.2 GB (build, test and install all compilers)">
|
---|
12 | <!ENTITY gcc-time "98 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, Objective C++, Ada, and Go. You should ensure you
|
---|
40 | actually need one of these additional compilers (C and C++ are installed
|
---|
41 | in LFS) before you install them. Additionally, there are instructions in
|
---|
42 | the BLFS book to install <xref linkend="openjdk"/>, which can be used
|
---|
43 | instead of the Java provided by the <application>GCC</application> package.
|
---|
44 | Many consider the Iced Tea version to be a more robust Java environment
|
---|
45 | than the one provided by <application>GCC</application>.</para>
|
---|
46 |
|
---|
47 | &lfs73_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 | <bridgehead renderas="sect4">Required if building java</bridgehead>
|
---|
92 | <para role="required">
|
---|
93 | <xref linkend="zip"/>,
|
---|
94 | <xref linkend="unzip"/>, and
|
---|
95 | <xref linkend="which"/>
|
---|
96 | </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. At the AdaCore download page, choose your platform and
|
---|
103 | 2013, then select the file to download. You probably want the x86-linux
|
---|
104 | or x86_64-linux file.</para>
|
---|
105 | </note>
|
---|
106 | <!-- Using 2011, because 2012 does not compile GCC-4.7.2
|
---|
107 | GCC-4.8.1 and gnat 2013 work OK -->
|
---|
108 | <bridgehead renderas="sect3">GNAT GPL 2013 Package Information</bridgehead>
|
---|
109 | <itemizedlist spacing="compact">
|
---|
110 | <listitem>
|
---|
111 | <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
|
---|
112 | </listitem>
|
---|
113 | </itemizedlist>
|
---|
114 |
|
---|
115 | <para condition="html" role="usernotes">User Notes:
|
---|
116 | <ulink url="&blfs-wiki;/gcc"/></para>
|
---|
117 |
|
---|
118 | </sect2>
|
---|
119 |
|
---|
120 | <sect2 role="installation">
|
---|
121 | <title>Installation of GNAT</title>
|
---|
122 |
|
---|
123 | <para>Before unpacking and changing into the GCC source directory, first
|
---|
124 | unpack the <application>GNAT</application> tarball. You may have to drill
|
---|
125 | down several levels and unpack a second tarball. For example,
|
---|
126 | AdaCore-Download-2013-07-22_0530.tar expands to
|
---|
127 | <filename>x86_64-linux/2013/gnatgpl/gnat-gpl-2013-x86_64-pc-linux-gnu-bin.tar.gz</filename>.
|
---|
128 | Expand this second tarball and change into the newly created directory.
|
---|
129 | Install <application>GNAT</application> by running the following
|
---|
130 | command:</para>
|
---|
131 |
|
---|
132 | <screen><userinput>make ins-all prefix=/opt/gnat</userinput></screen>
|
---|
133 |
|
---|
134 | <para>The <application>GNAT</application> compiler can be invoked by
|
---|
135 | executing the <command>gcc</command> binary installed in <filename
|
---|
136 | class='directory'>/opt/gnat/bin</filename>.</para>
|
---|
137 |
|
---|
138 | <para>You may now remove the <application>GNAT</application>
|
---|
139 | source directory if desired.</para>
|
---|
140 |
|
---|
141 | <para>Prepare to compile <application>GCC</application> by placing the
|
---|
142 | <application>GNAT</application> version of <command>gcc</command> at the
|
---|
143 | beginning of the <envar>PATH</envar> variable by using the following
|
---|
144 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
145 |
|
---|
146 | <screen><userinput>PATH_HOLD=$PATH &&
|
---|
147 | export PATH=/opt/gnat/bin:$PATH_HOLD</userinput></screen>
|
---|
148 |
|
---|
149 | <para>Doing so has the drawback that the <application>GCC</application>
|
---|
150 | and <application>Binutils</application> executables are taken
|
---|
151 | from the just installed <application>GNAT</application> package, but the
|
---|
152 | versions of those executables are outdated compared to those installed in
|
---|
153 | LFS. This is not important for the <application>GCC</application> compilers,
|
---|
154 | since they recompile themselves during the bootstrap process. On the other
|
---|
155 | hand, the outdated <command>ld</command> and <command>as</command> tools
|
---|
156 | are used all along. In order to use the LFS tools, issue:</para>
|
---|
157 |
|
---|
158 | <screen><userinput>find /opt/gnat -name ld -exec mv -v {} {}.old \;
|
---|
159 | find /opt/gnat -name as -exec mv -v {} {}.old \;</userinput></screen>
|
---|
160 |
|
---|
161 | </sect2>
|
---|
162 |
|
---|
163 | <sect2 role="installation">
|
---|
164 | <title>Installation of GCC</title>
|
---|
165 |
|
---|
166 | <para>Install <application>GCC</application> by running the
|
---|
167 | following commands:</para>
|
---|
168 |
|
---|
169 | <important>
|
---|
170 |
|
---|
171 | <para>The installation process may overwrite your existing
|
---|
172 | <application>GCC</application> <command>gcc</command> and
|
---|
173 | <command>c++</command> compilers and libraries. Having the
|
---|
174 | <application>Tcl</application>, <application>Expect</application> and
|
---|
175 | <application>DejaGnu</application> packages installed before beginning
|
---|
176 | the build is highly recommended so you can run the full suite of
|
---|
177 | tests.</para>
|
---|
178 |
|
---|
179 | <para>Do not continue with the <command>make install</command> command
|
---|
180 | until you are confident the build was successful. You can compare your
|
---|
181 | test results with those found at <ulink
|
---|
182 | url="http://gcc.gnu.org/ml/gcc-testresults/"/>. You may also want to
|
---|
183 | refer to the information found in the <application>GCC</application>
|
---|
184 | section of Chapter 6 in the LFS book (<ulink
|
---|
185 | url="&lfs-root;/chapter06/gcc.html"/>).</para>
|
---|
186 |
|
---|
187 | </important>
|
---|
188 |
|
---|
189 | <para>The instructions below let the build machinery perform a
|
---|
190 | <quote>bootstrap</quote> intentionally. This is necessary if you
|
---|
191 | install the <application>Ada</application> compiler anyway. Even
|
---|
192 | if you don't, a bootstrap is recommended for robustness.</para>
|
---|
193 |
|
---|
194 | <screen><userinput>sed -i 's/\(install.*:\) install-.*recursive/\1/' libffi/Makefile.in &&
|
---|
195 | sed -i 's/\(install-data-am:\).*/\1/' libffi/include/Makefile.in &&
|
---|
196 | sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
|
---|
197 | sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
|
---|
198 |
|
---|
199 | case `uname -m` in
|
---|
200 | i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
|
---|
201 | esac &&
|
---|
202 |
|
---|
203 | mkdir ../gcc-build &&
|
---|
204 | cd ../gcc-build &&
|
---|
205 |
|
---|
206 | ../gcc-&gcc-version;/configure \
|
---|
207 | --prefix=/usr \
|
---|
208 | --libdir=/usr/lib \
|
---|
209 | --libexecdir=/usr/lib \
|
---|
210 | --with-system-zlib \
|
---|
211 | --enable-shared \
|
---|
212 | --enable-threads=posix \
|
---|
213 | --enable-__cxa_atexit \
|
---|
214 | --disable-multilib \
|
---|
215 | --enable-clocale=gnu \
|
---|
216 | --enable-lto \
|
---|
217 | --enable-languages=c,c++,fortran,ada,go,java,objc,obj-c++ &&
|
---|
218 |
|
---|
219 | make &&
|
---|
220 | ulimit -s 32768 &&
|
---|
221 | make -k check &&
|
---|
222 |
|
---|
223 | ../gcc-&gcc-version;/contrib/test_summary</userinput></screen>
|
---|
224 |
|
---|
225 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
226 |
|
---|
227 | <screen role="root"><userinput>make install &&
|
---|
228 |
|
---|
229 | ln -v -sf ../usr/bin/cpp /lib &&
|
---|
230 | ln -v -sf gcc /usr/bin/cc &&
|
---|
231 |
|
---|
232 | chown -v -R root:root \
|
---|
233 | /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} \
|
---|
234 | /usr/lib/gcc/*linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
|
---|
235 | <!-- Not needed since we do not install libffi
|
---|
236 | <para>The <filename class='libraryfile'>libffi</filename> interface header
|
---|
237 | is installed in a location where other packages will not be able to find
|
---|
238 | it. If you included Java as one of the installed languages, create a
|
---|
239 | symbolic link in <filename class='directory'>/usr/include</filename> to
|
---|
240 | remedy this:</para>
|
---|
241 |
|
---|
242 | <screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>-->
|
---|
243 |
|
---|
244 | <para>You should now remove the <application>GNAT</application>
|
---|
245 | installation and perform other cleanups:</para>
|
---|
246 |
|
---|
247 | <screen><userinput>rm -rf /opt/gnat &&
|
---|
248 | export PATH=$PATH_HOLD &&
|
---|
249 | unset PATH_HOLD</userinput></screen>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | <sect2 role="commands">
|
---|
254 | <title>Command Explanations</title>
|
---|
255 |
|
---|
256 | <para>The first two <command>sed</command> commands prevent the
|
---|
257 | installation of the <application>libffi</application> library bundled
|
---|
258 | with <application>GCC</application>, since it is outdated compared to
|
---|
259 | <xref linkend="libffi"/>. The three other <command>sed</command> commands
|
---|
260 | are the same ones used during the build of LFS.</para>
|
---|
261 |
|
---|
262 | <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
|
---|
263 | <application>GCC</application> documentation recommends
|
---|
264 | building the package in a dedicated build directory.</para>
|
---|
265 |
|
---|
266 | <para><parameter>--enable-shared --enable-threads=posix
|
---|
267 | --enable-__cxa_atexit</parameter>: These parameters are required to build
|
---|
268 | the <application>C++</application> libraries to published standards.</para>
|
---|
269 |
|
---|
270 | <para><parameter>--disable-multilib</parameter>: This parameter ensures
|
---|
271 | that files are created for the specific architecture of your computer.</para>
|
---|
272 |
|
---|
273 | <!-- Double dashes are forbidden in comments, so use "- -". Change it to
|
---|
274 | double dash if you ever remove this comment!
|
---|
275 | <para><parameter>- -enable-bootstrap</parameter>: This parameter is used
|
---|
276 | so that a bootstrap installation is performed.</para>
|
---|
277 | -->
|
---|
278 | <para><parameter>--enable-clocale=gnu</parameter>: This parameter is a
|
---|
279 | failsafe for incomplete locale data.</para>
|
---|
280 |
|
---|
281 | <para><parameter>--enable-lto</parameter>: Setting this parameter allows
|
---|
282 | to build a compiler which is able to perform <quote>link time
|
---|
283 | optimization (lto)</quote>.</para>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | <parameter>--enable-languages=c,c++,fortran,java,objc,obj-c++,ada,go</parameter>:
|
---|
287 | This command identifies which languages to build. You may modify
|
---|
288 | this command to remove undesired languages.</para>
|
---|
289 |
|
---|
290 | <para><command>ulimit -s 32768</command>: This command prevents several
|
---|
291 | tests from running out of stack space.</para>
|
---|
292 |
|
---|
293 | <para><command>make -k check</command>: This command runs the test suite
|
---|
294 | without stopping if any errors are encountered.</para>
|
---|
295 |
|
---|
296 | <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
|
---|
297 | command will produce a summary of the test suite results. You can append
|
---|
298 | <command>| grep -A7 Summ</command> to the command to produce an even more
|
---|
299 | condensed version of the summary. You may also wish to redirect the output
|
---|
300 | to a file for review and comparison later on.</para>
|
---|
301 |
|
---|
302 | <para><command>ln -v -sf ../usr/bin/cpp /lib</command>: This command
|
---|
303 | creates a link to the C PreProcessor as some packages expect it to be
|
---|
304 | installed in the <filename class='directory'>/lib</filename>
|
---|
305 | directory.</para>
|
---|
306 |
|
---|
307 | <para><command>ln -v -sf gcc /usr/bin/cc</command>: This link is created as
|
---|
308 | some packages refer to the C compiler using an alternate name.</para>
|
---|
309 |
|
---|
310 | <para><command>chown -v -R root:root
|
---|
311 | /usr/lib/gcc/*linux-gnu/...</command>:
|
---|
312 | If the package is built by a user other than root, the ownership of the
|
---|
313 | installed <filename class='directory'>include</filename> and
|
---|
314 | <filename class='directory'>adalib</filename> directories (and their
|
---|
315 | contents) will be incorrect. These commands change the ownership to the
|
---|
316 | <systemitem class="username">root</systemitem> user and group . Omit the
|
---|
317 | command changing the Ada directories if you did not include Ada as one of
|
---|
318 | the installed languages.</para>
|
---|
319 |
|
---|
320 | </sect2>
|
---|
321 |
|
---|
322 | <sect2 role="content">
|
---|
323 | <title>Contents</title>
|
---|
324 |
|
---|
325 | <segmentedlist>
|
---|
326 | <segtitle>Installed Programs</segtitle>
|
---|
327 | <segtitle>Installed Libraries</segtitle>
|
---|
328 | <segtitle>Installed Directories</segtitle>
|
---|
329 |
|
---|
330 | <seglistitem>
|
---|
331 | <seg>aot-compile, gappletviewer, gc-analyze, gccgo, gcj, gcj-dbtool,
|
---|
332 | gcjh, gfortran, gij, gjar, gjarsigner, gjavah, gkeytool,
|
---|
333 | gnat, gnatbind, gnatchop, gnatclean, gnatfind, gnative2ascii, gnatkr,
|
---|
334 | gnatlink, gnatls, gnatmake, gnatname, gnatprep, gnatxref, gorbd,
|
---|
335 | grmic, grmid, grmiregistry, gserialver, gtnameserv, jcf-dump,
|
---|
336 | jv-convert, rebuild-gcj-db, and architecture specific names</seg>
|
---|
337 | <seg>libgcj_bc.so, libgcj.so, libgcj-tools.so, libgfortran.{so,a},
|
---|
338 | libgij.so, libgo.{so,a}, libgobegin.a, libobjc.{so,a} and numerous other
|
---|
339 | run-time libraries and executables in /usr/lib/gcc</seg>
|
---|
340 | <seg>/usr/include/c++/&gcc-version;/{gcj,gnu,java,javax,org,sun},
|
---|
341 | /usr/lib/gcc/<arch-model>-linux-gnu/&gcc-version;/ada{include,lib},
|
---|
342 | /usr/lib/gcj-&gcc-version;-13,
|
---|
343 | /usr/lib/go,
|
---|
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="aot-compile">
|
---|
360 | <term><command>aot-compile</command></term>
|
---|
361 | <listitem>
|
---|
362 | <para>searches a directory for Java bytecode and uses
|
---|
363 | <command>gcj</command> to compile it to native code.</para>
|
---|
364 | <indexterm zone="gcc aot-compile">
|
---|
365 | <primary sortas="b-aot-compile">aot-compile</primary>
|
---|
366 | </indexterm>
|
---|
367 | </listitem>
|
---|
368 | </varlistentry>
|
---|
369 |
|
---|
370 | <varlistentry id="gappletviewer">
|
---|
371 | <term><command>gappletviewer</command></term>
|
---|
372 | <listitem>
|
---|
373 | <para>loads and run a <application>Java</application> applet.</para>
|
---|
374 | <indexterm zone="gcc gappletviewer">
|
---|
375 | <primary sortas="b-gappletviewer">gappletviewer</primary>
|
---|
376 | </indexterm>
|
---|
377 | </listitem>
|
---|
378 | </varlistentry>
|
---|
379 |
|
---|
380 | <varlistentry id="gc-analyze">
|
---|
381 | <term><command>gc-analyze</command></term>
|
---|
382 | <listitem>
|
---|
383 | <para>analyzes garbage collector (GC) memory dumps from
|
---|
384 | <application>Java</application> code.</para>
|
---|
385 | <indexterm zone="gcc gc-analyze">
|
---|
386 | <primary sortas="b-gc-analyze">gc-analyze</primary>
|
---|
387 | </indexterm>
|
---|
388 | </listitem>
|
---|
389 | </varlistentry>
|
---|
390 |
|
---|
391 | <varlistentry id="gccgo">
|
---|
392 | <term><command>gccgo</command></term>
|
---|
393 | <listitem>
|
---|
394 | <para>is a GCC-based compiler for the
|
---|
395 | <application>Go</application> language.</para>
|
---|
396 | <indexterm zone="gcc gccgo">
|
---|
397 | <primary sortas="b-gccgo">gccgo</primary>
|
---|
398 | </indexterm>
|
---|
399 | </listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="gcj">
|
---|
403 | <term><command>gcj</command></term>
|
---|
404 | <listitem>
|
---|
405 | <para>is an ahead-of-time compiler for the
|
---|
406 | <application>Java</application> language.</para>
|
---|
407 | <indexterm zone="gcc gcj">
|
---|
408 | <primary sortas="b-gcj">gcj</primary>
|
---|
409 | </indexterm>
|
---|
410 | </listitem>
|
---|
411 | </varlistentry>
|
---|
412 |
|
---|
413 | <varlistentry id="gcj-dbtool">
|
---|
414 | <term><command>gcj-dbtool</command></term>
|
---|
415 | <listitem>
|
---|
416 | <para>is a tool for creating and manipulating class file mapping
|
---|
417 | databases.</para>
|
---|
418 | <indexterm zone="gcc gcj-dbtool">
|
---|
419 | <primary sortas="b-gcj-dbtool">gcj-dbtool</primary>
|
---|
420 | </indexterm>
|
---|
421 | </listitem>
|
---|
422 | </varlistentry>
|
---|
423 |
|
---|
424 | <varlistentry id="gcjh">
|
---|
425 | <term><command>gcjh</command></term>
|
---|
426 | <listitem>
|
---|
427 | <para>generates header files from <application>Java</application>
|
---|
428 | class files.</para>
|
---|
429 | <indexterm zone="gcc gcjh">
|
---|
430 | <primary sortas="b-gcjh">gcjh</primary>
|
---|
431 | </indexterm>
|
---|
432 | </listitem>
|
---|
433 | </varlistentry>
|
---|
434 |
|
---|
435 | <varlistentry id="gfortran">
|
---|
436 | <term><command>gfortran</command></term>
|
---|
437 | <listitem>
|
---|
438 | <para>is the <application>Fortran</application> compiler invoked by
|
---|
439 | <command>gcc</command>.</para>
|
---|
440 | <indexterm zone="gcc gfortran">
|
---|
441 | <primary sortas="b-gfortran">gfortran</primary>
|
---|
442 | </indexterm>
|
---|
443 | </listitem>
|
---|
444 | </varlistentry>
|
---|
445 |
|
---|
446 | <varlistentry id="gij">
|
---|
447 | <term><command>gij</command></term>
|
---|
448 | <listitem>
|
---|
449 | <para>is the GNU interpreter for <application>Java</application>
|
---|
450 | bytecode.</para>
|
---|
451 | <indexterm zone="gcc gij">
|
---|
452 | <primary sortas="b-gij">gij</primary>
|
---|
453 | </indexterm>
|
---|
454 | </listitem>
|
---|
455 | </varlistentry>
|
---|
456 |
|
---|
457 | <varlistentry id="gjar">
|
---|
458 | <term><command>gjar</command></term>
|
---|
459 | <listitem>
|
---|
460 | <para>is an (partial) implementation of the <command>jar</command>
|
---|
461 | utility that comes with Sun's JDK.</para>
|
---|
462 | <indexterm zone="gcc gjar">
|
---|
463 | <primary sortas="b-gjar">gjar</primary>
|
---|
464 | </indexterm>
|
---|
465 | </listitem>
|
---|
466 | </varlistentry>
|
---|
467 |
|
---|
468 | <varlistentry id="gjarsigner">
|
---|
469 | <term><command>gjarsigner</command></term>
|
---|
470 | <listitem>
|
---|
471 | <para>is a Java ARchive (JAR) file signing and verification
|
---|
472 | tool.</para>
|
---|
473 | <indexterm zone="gcc gjarsigner">
|
---|
474 | <primary sortas="b-gjarsigner">gjarsigner</primary>
|
---|
475 | </indexterm>
|
---|
476 | </listitem>
|
---|
477 | </varlistentry>
|
---|
478 |
|
---|
479 | <varlistentry id="gjavah">
|
---|
480 | <term><command>gjavah</command></term>
|
---|
481 | <listitem>
|
---|
482 | <para>generates header files from Java class files.</para>
|
---|
483 | <indexterm zone="gcc gjavah">
|
---|
484 | <primary sortas="b-gjavah">gjavah</primary>
|
---|
485 | </indexterm>
|
---|
486 | </listitem>
|
---|
487 | </varlistentry>
|
---|
488 |
|
---|
489 | <varlistentry id="gkeytool">
|
---|
490 | <term><command>gkeytool</command></term>
|
---|
491 | <listitem>
|
---|
492 | <para>manages private keys and public certificates in a
|
---|
493 | <application>Java</application> environment.</para>
|
---|
494 | <indexterm zone="gcc gkeytool">
|
---|
495 | <primary sortas="b-gkeytool">gkeytool</primary>
|
---|
496 | </indexterm>
|
---|
497 | </listitem>
|
---|
498 | </varlistentry>
|
---|
499 |
|
---|
500 | <varlistentry id="gnat">
|
---|
501 | <term><command>gnat</command></term>
|
---|
502 | <listitem>
|
---|
503 | <para>is the <application>Ada</application> compiler invoked by
|
---|
504 | <command>gcc</command>.</para>
|
---|
505 | <indexterm zone="gcc gnat">
|
---|
506 | <primary sortas="b-gnat">gnat</primary>
|
---|
507 | </indexterm>
|
---|
508 | </listitem>
|
---|
509 | </varlistentry>
|
---|
510 |
|
---|
511 | <varlistentry id="gnatbind">
|
---|
512 | <term><command>gnatbind</command></term>
|
---|
513 | <listitem>
|
---|
514 | <para>is used to bind compiled objects.</para>
|
---|
515 | <indexterm zone="gcc gnatbind">
|
---|
516 | <primary sortas="b-gnatbind">gnatbind</primary>
|
---|
517 | </indexterm>
|
---|
518 | </listitem>
|
---|
519 | </varlistentry>
|
---|
520 |
|
---|
521 | <varlistentry id="gnatchop">
|
---|
522 | <term><command>gnatchop</command></term>
|
---|
523 | <listitem>
|
---|
524 | <para>is useful for renaming files to meet the standard
|
---|
525 | <application>Ada</application> default file naming conventions.</para>
|
---|
526 | <indexterm zone="gcc gnatchop">
|
---|
527 | <primary sortas="b-gnatchop">gnatchop</primary>
|
---|
528 | </indexterm>
|
---|
529 | </listitem>
|
---|
530 | </varlistentry>
|
---|
531 |
|
---|
532 | <varlistentry id="gnatclean">
|
---|
533 | <term><command>gnatclean</command></term>
|
---|
534 | <listitem>
|
---|
535 | <para>is used to remove files associated with a
|
---|
536 | <application>GNAT</application> project.</para>
|
---|
537 | <indexterm zone="gcc gnatclean">
|
---|
538 | <primary sortas="b-gnatclean">gnatclean</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="gnatfind">
|
---|
544 | <term><command>gnatfind</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para> is the <application>GNAT</application> definition/use finder.</para>
|
---|
547 | <indexterm zone="gcc gnatfind">
|
---|
548 | <primary sortas="b-gnatfind">gnatfind</primary>
|
---|
549 | </indexterm>
|
---|
550 | </listitem>
|
---|
551 | </varlistentry>
|
---|
552 |
|
---|
553 | <varlistentry id="gnative2ascii">
|
---|
554 | <term><command>gnative2ascii</command></term>
|
---|
555 | <listitem>
|
---|
556 | <para>is an encoding converter for <application>Java</application>.</para>
|
---|
557 | <indexterm zone="gcc gnative2ascii">
|
---|
558 | <primary sortas="b-gnative2ascii">gnative2ascii</primary>
|
---|
559 | </indexterm>
|
---|
560 | </listitem>
|
---|
561 | </varlistentry>
|
---|
562 |
|
---|
563 | <varlistentry id="gnatkr">
|
---|
564 | <term><command>gnatkr</command></term>
|
---|
565 | <listitem>
|
---|
566 | <para>is used to determine the crunched name for a given file, when
|
---|
567 | crunched to a specified maximum length.</para>
|
---|
568 | <indexterm zone="gcc gnatkr">
|
---|
569 | <primary sortas="b-gnatkr">gnatkr</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="gnatlink">
|
---|
575 | <term><command>gnatlink</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para>is used to link programs and build an executable file.</para>
|
---|
578 | <indexterm zone="gcc gnatlink">
|
---|
579 | <primary sortas="b-gnatlink">gnatlink</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="gnatls">
|
---|
585 | <term><command>gnatls</command></term>
|
---|
586 | <listitem>
|
---|
587 | <para>is the compiled unit browser.</para>
|
---|
588 | <indexterm zone="gcc gnatls">
|
---|
589 | <primary sortas="b-gnatls">gnatls</primary>
|
---|
590 | </indexterm>
|
---|
591 | </listitem>
|
---|
592 | </varlistentry>
|
---|
593 |
|
---|
594 | <varlistentry id="gnatmake">
|
---|
595 | <term><command>gnatmake</command></term>
|
---|
596 | <listitem>
|
---|
597 | <para>is an automatic <command>make</command> facility.</para>
|
---|
598 | <indexterm zone="gcc gnatmake">
|
---|
599 | <primary sortas="b-gnatmake">gnatmake</primary>
|
---|
600 | </indexterm>
|
---|
601 | </listitem>
|
---|
602 | </varlistentry>
|
---|
603 |
|
---|
604 | <varlistentry id="gnatname">
|
---|
605 | <term><command>gnatname</command></term>
|
---|
606 | <listitem>
|
---|
607 | <para>will list the files associated with a
|
---|
608 | <application>GNAT</application> project.</para>
|
---|
609 | <indexterm zone="gcc gnatname">
|
---|
610 | <primary sortas="b-gnatname">gnatname</primary>
|
---|
611 | </indexterm>
|
---|
612 | </listitem>
|
---|
613 | </varlistentry>
|
---|
614 |
|
---|
615 | <varlistentry id="gnatprep">
|
---|
616 | <term><command>gnatprep</command></term>
|
---|
617 | <listitem>
|
---|
618 | <para>is the <application>GNAT</application> external preprocessor.</para>
|
---|
619 | <indexterm zone="gcc gnatprep">
|
---|
620 | <primary sortas="b-gnatprep">gnatprep</primary>
|
---|
621 | </indexterm>
|
---|
622 | </listitem>
|
---|
623 | </varlistentry>
|
---|
624 |
|
---|
625 | <varlistentry id="gnatxref">
|
---|
626 | <term><command>gnatxref</command></term>
|
---|
627 | <listitem>
|
---|
628 | <para>is the <application>GNAT</application> cross-referencer.</para>
|
---|
629 | <indexterm zone="gcc gnatxref">
|
---|
630 | <primary sortas="b-gnatxref">gnatxref</primary>
|
---|
631 | </indexterm>
|
---|
632 | </listitem>
|
---|
633 | </varlistentry>
|
---|
634 |
|
---|
635 | <varlistentry id="gorbd">
|
---|
636 | <term><command>gorbd</command></term>
|
---|
637 | <listitem>
|
---|
638 | <para>is an object request broker daemon.</para>
|
---|
639 | <indexterm zone="gcc gorbd">
|
---|
640 | <primary sortas="b-gorbd">gorbd</primary>
|
---|
641 | </indexterm>
|
---|
642 | </listitem>
|
---|
643 | </varlistentry>
|
---|
644 |
|
---|
645 | <varlistentry id="grmic-gcc">
|
---|
646 | <term><command>grmic</command></term>
|
---|
647 | <listitem>
|
---|
648 | <para>generates stubs for Remote Method Invocation.</para>
|
---|
649 | <indexterm zone="gcc grmic-gcc">
|
---|
650 | <primary sortas="b-grmic">grmic</primary>
|
---|
651 | </indexterm>
|
---|
652 | </listitem>
|
---|
653 | </varlistentry>
|
---|
654 |
|
---|
655 | <varlistentry id="grmid-gcc">
|
---|
656 | <term><command>grmid</command></term>
|
---|
657 | <listitem>
|
---|
658 | <para>RMI activation system daemon.</para>
|
---|
659 | <indexterm zone="gcc grmid-gcc">
|
---|
660 | <primary sortas="b-grmid">grmid</primary>
|
---|
661 | </indexterm>
|
---|
662 | </listitem>
|
---|
663 | </varlistentry>
|
---|
664 |
|
---|
665 | <varlistentry id="grmiregistry-gcc">
|
---|
666 | <term><command>grmiregistry</command></term>
|
---|
667 | <listitem>
|
---|
668 | <para> starts a remote object registry on the current host.</para>
|
---|
669 | <indexterm zone="gcc grmiregistry-gcc">
|
---|
670 | <primary sortas="b-grmiregistry">grmiregistry</primary>
|
---|
671 | </indexterm>
|
---|
672 | </listitem>
|
---|
673 | </varlistentry>
|
---|
674 |
|
---|
675 | <varlistentry id="gserialver">
|
---|
676 | <term><command>gserialver</command></term>
|
---|
677 | <listitem>
|
---|
678 | <para> prints the serialVersionUID of the specified class.</para>
|
---|
679 | <indexterm zone="gcc gserialver">
|
---|
680 | <primary sortas="b-gserialver">gserialver</primary>
|
---|
681 | </indexterm>
|
---|
682 | </listitem>
|
---|
683 | </varlistentry>
|
---|
684 |
|
---|
685 | <varlistentry id="gtnameserv">
|
---|
686 | <term><command>gtnameserv</command></term>
|
---|
687 | <listitem>
|
---|
688 | <para> starts a naming service.</para>
|
---|
689 | <indexterm zone="gcc gtnameserv">
|
---|
690 | <primary sortas="b-gtnameserv">gtnameserv</primary>
|
---|
691 | </indexterm>
|
---|
692 | </listitem>
|
---|
693 | </varlistentry>
|
---|
694 |
|
---|
695 | <varlistentry id="jcf-dump">
|
---|
696 | <term><command>jcf-dump</command></term>
|
---|
697 | <listitem>
|
---|
698 | <para>prints information about <application>Java</application>
|
---|
699 | class files.</para>
|
---|
700 | <indexterm zone="gcc jcf-dump">
|
---|
701 | <primary sortas="b-jcf-dump">jcf-dump</primary>
|
---|
702 | </indexterm>
|
---|
703 | </listitem>
|
---|
704 | </varlistentry>
|
---|
705 |
|
---|
706 | <varlistentry id="jv-convert">
|
---|
707 | <term><command>jv-convert</command></term>
|
---|
708 | <listitem>
|
---|
709 | <para>converts files from one encoding to another.</para>
|
---|
710 | <indexterm zone="gcc jv-convert">
|
---|
711 | <primary sortas="b-jv-convert">jv-convert</primary>
|
---|
712 | </indexterm>
|
---|
713 | </listitem>
|
---|
714 | </varlistentry>
|
---|
715 |
|
---|
716 | <varlistentry id="rebuild-gcj-db">
|
---|
717 | <term><command>rebuild-gcj-db</command></term>
|
---|
718 | <listitem>
|
---|
719 | <para>Merge the per-solib databases made by
|
---|
720 | <application>aot-compile</application> into one system-wide
|
---|
721 | database.</para>
|
---|
722 | <indexterm zone="gcc rebuild-gcj-db">
|
---|
723 | <primary sortas="b-rebuild-gcj-db">rebuild-gcj-db</primary>
|
---|
724 | </indexterm>
|
---|
725 | </listitem>
|
---|
726 | </varlistentry>
|
---|
727 |
|
---|
728 | </variablelist>
|
---|
729 |
|
---|
730 | </sect2>
|
---|
731 |
|
---|
732 | </sect1>
|
---|