source: general/prog/gcc.xml@ f182eed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f182eed was f182eed, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to GCC-3.4.4; modified command to create the ffitarget.h interface header in /usr/include

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4957 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 24.7 KB
Line 
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://mirrors.rcn.net/pub/sourceware/gcc/releases/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 "b594ff4ea4fbef4ba9220887de713dfe">
10 <!ENTITY gcc-size "27.5 MB">
11 <!ENTITY gcc-buildsize "1.6 GB">
12 <!ENTITY gcc-time "46 SBU (build, test and install all compilers)">
13
14 <!ENTITY gnat-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/SVN/F-H/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
15 <!ENTITY gnat-download-ftp "ftp://anduin.linuxfromscratch.org/sources/BLFS/SVN/F-H/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.bz2">
16 <!ENTITY gnat-md5sum "c9aad2da908a40e876c24fc85f248b51">
17 <!ENTITY gnat-size "11.6 MB">
18 <!ENTITY gnat-buildsize "97.7 MB">
19 <!ENTITY gnat-time "less than 0.1 SBU">
20]>
21
22<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
23 <?dbhtml filename="gcc.html" ?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>GCC-&gcc-version;</title>
31
32 <indexterm zone="gcc">
33 <primary sortas="a-gcc-3-4">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 is useful for compiling programs written in <application>C</application>,
41 <application>C++</application>, <application>Fortran</application>,
42 <application>Java</application>, <application>Objective C</application> and
43 <application>Ada</application>.</para>
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>Download (HTTP): <ulink url="&gcc-download-http;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download (FTP): <ulink url="&gcc-download-ftp;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download MD5 sum: &gcc-md5sum;</para>
55 </listitem>
56 <listitem>
57 <para>Download size: &gcc-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &gcc-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &gcc-time;</para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
68 <itemizedlist spacing='compact'>
69 <listitem>
70 <para>Required patch: <ulink
71 url="&patch-root;/gcc-&gcc-version;-no_fixincludes-1.patch"/></para>
72 </listitem>
73 <listitem>
74 <para>Required patch: <ulink
75 url="&patch-root;/gcc-&gcc-version;-linkonce-1.patch"/></para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">GCC Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para><xref linkend="dejagnu"/></para>
83
84 <note>
85 <para>If you plan to compile Ada, you will need to install
86 <application>GNAT</application> temporarily to satisfy the circular
87 dependency when you recompile <application>GCC</application>
88 to include Ada.</para>
89 </note>
90
91 <bridgehead renderas="sect3">Package Information</bridgehead>
92 <itemizedlist spacing="compact">
93 <listitem>
94 <para>Download (HTTP): <ulink url="&gnat-download-http;"/></para>
95 </listitem>
96 <listitem>
97 <para>Download (FTP): <ulink url="&gnat-download-ftp;"/></para>
98 </listitem>
99 <listitem>
100 <para>Download MD5 sum: &gnat-md5sum;</para>
101 </listitem>
102 <listitem>
103 <para>Download size: &gnat-size;</para>
104 </listitem>
105 <listitem>
106 <para>Estimated disk space required: &gnat-buildsize;</para>
107 </listitem>
108 <listitem>
109 <para>Estimated build time: &gnat-time;</para>
110 </listitem>
111 </itemizedlist>
112
113 <bridgehead renderas="sect3">GNAT Dependencies</bridgehead>
114
115 <bridgehead renderas="sect4">Required</bridgehead>
116 <para><xref linkend="tcsh"/></para>
117
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of GNAT</title>
122
123 <para>Install <application>GNAT</application> by running
124 the following commands:</para>
125
126<screen><userinput>./doconfig</userinput></screen>
127
128 <para>The above script will ask you how and where you would like to install
129 <application>GNAT</application>. To avoid conflicts with the system
130 <command>gcc</command>, the package will be installed in a separate
131 directory that can later be removed from the system.</para>
132
133 <para>In response to the questions asked by the <command>doconfig</command>
134 script, enter <userinput>3</userinput> in response to the first question
135 and <userinput>/opt/gnat</userinput> in response to the second question.</para>
136
137 <para>To finish the install, run the following command as the
138 <systemitem class="username">root</systemitem> user:</para>
139
140<screen role="root"><userinput>./doinstall</userinput></screen>
141
142 <para>The <application>GNAT</application> compiler can be
143 invoked by executing the <command>gcc</command> binary installed
144 by the above script.</para>
145
146 <para>You may now remove the <application>GNAT</application>
147 source directory:</para>
148
149<screen><userinput>cd .. &amp;&amp;
150rm -rf gnat-3.15p-i686-pc-linux-gnu-bin</userinput></screen>
151
152 <para>Prepare to compile <application>GCC</application> by placing the
153 <application>GNAT</application> <command>gcc</command> at the beginning of
154 the <envar>PATH</envar> variable by using the following commands:</para>
155
156<screen><userinput>PATH_HOLD=$PATH &amp;&amp;
157export PATH=/opt/gnat/bin:$PATH</userinput></screen>
158
159 </sect2>
160
161 <sect2 role="installation">
162 <title>Installation of GCC</title>
163
164 <para>Install <application>GCC</application> by running the
165 following commands:</para>
166
167 <important>
168 <para>The installation process may overwrite your existing
169 <application>GCC</application> compiler and libraries. It
170 is highly recommended that you have the <application>Tcl</application>,
171 <application>Expect</application> and <application>DejaGnu</application>
172 packages installed before beginning the build so you can run the full
173 suite of tests.</para>
174
175 <para>Do not continue with the <command>make install</command> command
176 until you're confident the build was successful. You can compare your
177 test results with those found at
178 <ulink url="http://gcc.gnu.org/ml/gcc-testresults/"/>. There's also an
179 i686 platform test result produced by an LFS-SVN-20050730 system at
180 <ulink url="http://linuxfromscratch.org/~randy/gcc344_test.txt"/>. You
181 may also want to refer to the information found in the
182 <application>GCC</application>-Pass 2 section of Chapter 5 in the LFS book
183 (<ulink url="&lfs-root;/chapter05/gcc-pass2.html"/>).</para>
184 </important>
185
186<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch &amp;&amp;
187patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch &amp;&amp;
188sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &amp;&amp;
189mkdir ../gcc-build &amp;&amp;
190cd ../gcc-build &amp;&amp;
191../gcc-&gcc-version;/configure --prefix=/usr --libexecdir=/usr/lib \
192 --enable-shared --enable-threads=posix --enable-__cxa_atexit \
193 --enable-clocale=gnu --enable-languages=c,c++,objc,f77,ada,java &amp;&amp;
194make bootstrap &amp;&amp;
195make -C gcc gnatlib-shared &amp;&amp;
196make -C gcc gnattools &amp;&amp;
197make -k check &amp;&amp;
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 &amp;&amp;
203ln -v -sf ../usr/bin/cpp /lib &amp;&amp;
204ln -v -sf gcc /usr/bin/cc &amp;&amp;
205ln -v -sf g77 /usr/bin/f77 &amp;&amp;
206chown -v -R root:root \
207 /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/include &amp;&amp;
208chown -v -R root:root \
209 /usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ada{lib,include}</userinput></screen>
210
211 <para>The <filename class='libraryfile'>libffi</filename> interface header
212 is installed in a location where other packages will not be able to find
213 it. If you included Java as one of the installed languages, create a
214 symbolic link in <filename class='directory'>/usr/include</filename> to
215 remedy this:</para>
216
217<screen role="root"><userinput>ln -v -sf `find /usr/lib/gcc -name ffitarget.h` /usr/include</userinput></screen>
218
219<!--
220 <para>There is a bug in the installation of the
221 <filename class='libraryfile'>libffi</filename> interface headers. The
222 architecture specific <filename>ffitarget.h</filename> file is not installed.
223 If you included Java as one of the installed languages, install the missing
224 file using the command below. Substitute for the
225 <replaceable>[arch]</replaceable> in the command with the appropriate
226 directory path for your system.</para>
227
228<screen role="root"><userinput>install -v -m644 ../gcc-&gcc-version;/libffi/src/<replaceable>[arch]</replaceable>/ffitarget.h \
229 /usr/include</userinput></screen>
230-->
231
232 <para>As the <systemitem class="username">root</systemitem> user, remove the
233 <application>GNAT</application> installation:</para>
234
235<screen role="root"><userinput>rm -rf /opt/gnat</userinput></screen>
236
237 <para>Now, as the unprivileged user, restore your old
238 <envar>PATH</envar>:</para>
239
240<screen><userinput>export PATH=$PATH_HOLD &amp;&amp;
241unset PATH_HOLD</userinput></screen>
242
243 <note>
244 <para>Some of the <application>Java</application> programs installed by
245 the <application>GCC</application> package conflict (have the same names)
246 with programs from the <xref linkend="jdk"/> package. If you installed
247 the <application>Java</application> language from the
248 <application>GCC</application> package but you wish to use the programs
249 from the <application>JDK</application> as the defaults, ensure
250 <filename class='directory'>$JAVA_HOME/bin</filename> is listed before
251 <filename class='directory'>/usr/bin</filename> in your
252 <envar>PATH</envar> variable.</para>
253 </note>
254
255 </sect2>
256
257 <sect2 role="commands">
258 <title>Command Explanations</title>
259
260 <para><command>sed -i 's/install_to_$(INSTALL_DEST) //'
261 libiberty/Makefile.in</command>: This command suppresses the installation of
262 <filename class='libraryfile'>libiberty.a</filename> as the version provided
263 by <application>Binutils</application> is used instead.</para>
264
265 <para><command>mkdir ../gcc-build; cd ../gcc-build</command>: The
266 <application>GCC</application> documentation recommends
267 building the package in a dedicated build directory.</para>
268
269 <para><parameter>--enable-shared --enable-threads=posix
270 --enable-__cxa_atexit</parameter>: These commands are required to build
271 the <application>C++</application> libraries to published standards.</para>
272
273 <para><parameter>--enable-clocale=gnu</parameter>: This command is a
274 failsafe for incomplete locale data.</para>
275
276 <para><parameter>--enable-languages=c,c++,objc,f77,ada,java</parameter>:
277 This command identifies which languages to build. You may modify this command
278 to remove undesired languages.</para>
279
280 <para><command>make -C gcc gnatlib-shared</command>: This command builds the
281 Ada shared and static libraries. Skip this step if you have not enabled
282 Ada as one of the languages.</para>
283
284 <para><command>make -C gcc gnattools</command>: This command builds the
285 Ada development tools and binaries. Skip this step if you have not enabled
286 Ada as one of the languages.</para>
287
288 <para><command>make -k check</command>: This command runs the test suite
289 without stopping should any errors be encountered.</para>
290
291 <para><command>../gcc-&gcc-version;/contrib/test_summary</command>: This
292 command will produce a summary of the test suite results. You can append
293 <command>| grep -A7 Summ</command> to the command to produce an even more
294 condensed version of the summary. You may also wish to redirect the output to
295 a file for review and comparison later on.</para>
296
297 <para><command>ln -sf ../usr/bin/cpp /lib</command>: This command creates a
298 link to the C PreProcessor as some packages expect it to be installed in the
299 <filename class='directory'>/lib</filename> directory.</para>
300
301 <para><command>ln -sf gcc /usr/bin/cc; ln -sf g77 /usr/bin/f77</command>:
302 These links are created as some packages refer to the C and Fortran compilers
303 using an alternate name.</para>
304
305 <para><command>chown -R root:root /usr/lib/gcc/i686-pc-linux-gnu/...</command>:
306 If the package is built by a user other than root, the ownership of the
307 installed <filename class='directory'>include</filename> and
308 <filename class='directory'>adalib</filename> directories (and their
309 contents) will be incorrect. These commands change the ownership to
310 root:root. Omit the command changing the Ada directories if you did not
311 include Ada as one of the installed languages.</para>
312
313 </sect2>
314
315 <sect2 role="content">
316 <title>Contents</title>
317
318 <segmentedlist>
319 <segtitle>Installed Programs</segtitle>
320 <segtitle>Installed Libraries</segtitle>
321 <segtitle>Installed Directories</segtitle>
322
323 <seglistitem>
324 <seg>addr2name.awk, cc, c++, cpp, f77, g++, g77, gcc, gccbug, gcj, gcjh, gcov,
325 gij, gnat, gnatbind, gnatbl, gnatchop, gnatclean, gnatfind, gnatkr, gnatlink,
326 gnatls, gnatmake, gnatname, gnatprep, gnatxref, gpr2make, gprcmd, grepjar,
327 jar, jcf-dump, jv-convert, jv-scan, rmic, rmiregistry and architecture
328 specific names for c++, g++, gcc, gcc-&gcc-version;, gcj, and gcjh</seg>
329 <seg>lib-org-w3c-dom.[so,a], lib-org-xml-sax.[so,a], libffi-2.00-beta.so,
330 libffi.[so,a], libfrtbegin.a, libg2c.[so,a], libgcc_s.so, libgcj.[so,a],
331 libobjc.[so,a], libstdc++.[so.6,a], libsupc++.a, and numerous other run-time
332 libraries and executables in /usr/lib/gcc</seg>
333 <seg>/usr/include/c++, /usr/include/gcj, /usr/include/gnu, /usr/include/java,
334 /usr/include/javax, /usr/lib/gcc, /usr/lib/security, /usr/share/gnat, and
335 /usr/share/java</seg>
336 </seglistitem>
337 </segmentedlist>
338
339 <variablelist>
340 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
341 <?dbfo list-presentation="list"?>
342 <?dbhtml list-presentation="table"?>
343
344 <para>Some program and library descriptions are not listed here, but can be
345 found at <ulink url="&lfs-root;/chapter06/gcc.html#contents-gcc"/>.</para>
346
347 <varlistentry id="addr2name.awk">
348 <term><command>addr2name.awk</command></term>
349 <listitem>
350 <para> emulates some of the functionality of addr2line.</para>
351 <indexterm zone="gcc addr2name.awk">
352 <primary sortas="b-addr2name.awk">addr2name.awk</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="f77">
358 <term><command>f77</command></term>
359 <listitem>
360 <para>is a symlink to <command>g77</command>, created for
361 compatibility purposes.</para>
362 <indexterm zone="gcc f77">
363 <primary sortas="g-f77">f77</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="g77">
369 <term><command>g77</command></term>
370 <listitem>
371 <para>is the <application>Fortran</application> compiler invoked by
372 <command>gcc</command>.</para>
373 <indexterm zone="gcc g77">
374 <primary sortas="b-g77">g77</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="gcjh">
391 <term><command>gcjh</command></term>
392 <listitem>
393 <para>generates header files from <application>Java</application>
394 class files.</para>
395 <indexterm zone="gcc gcjh">
396 <primary sortas="b-gcjh">gcjh</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="gij">
402 <term><command>gij</command></term>
403 <listitem>
404 <para>is the GNU interpreter for <application>Java</application>
405 bytecode.</para>
406 <indexterm zone="gcc gij">
407 <primary sortas="b-gij">gij</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="gnat">
413 <term><command>gnat</command></term>
414 <listitem>
415 <para>is the <application>Ada</application> compiler invoked by
416 <command>gcc</command>.</para>
417 <indexterm zone="gcc gnat">
418 <primary sortas="b-gnat">gnat</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="gnatbind">
424 <term><command>gnatbind</command></term>
425 <listitem>
426 <para>is used to bind compiled objects.</para>
427 <indexterm zone="gcc gnatbind">
428 <primary sortas="b-gnatbind">gnatbind</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="gnatbl">
434 <term><command>gnatbl</command></term>
435 <listitem>
436 <para>is the <application>Ada</application> linker.</para>
437 <indexterm zone="gcc gnatbl">
438 <primary sortas="b-gnatbl">gnatbl</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="gnatchop">
444 <term><command>gnatchop</command></term>
445 <listitem>
446 <para>is useful for renaming files to meet the standard
447 <application>Ada</application> default file naming conventions.</para>
448 <indexterm zone="gcc gnatchop">
449 <primary sortas="b-gnatchop">gnatchop</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="gnatclean">
455 <term><command>gnatclean</command></term>
456 <listitem>
457 <para>is used to remove files associated with a
458 <application>GNAT</application> project.</para>
459 <indexterm zone="gcc gnatclean">
460 <primary sortas="b-gnatclean">gnatclean</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="gnatfind">
466 <term><command>gnatfind</command></term>
467 <listitem>
468 <para> is the <application>GNAT</application> definition/use finder.</para>
469 <indexterm zone="gcc gnatfind">
470 <primary sortas="b-gnatfind">gnatfind</primary>
471 </indexterm>
472 </listitem>
473 </varlistentry>
474
475 <varlistentry id="gnatkr">
476 <term><command>gnatkr</command></term>
477 <listitem>
478 <para>is used to determine the crunched name for a given file, when
479 crunched to a specified maximum length.</para>
480 <indexterm zone="gcc gnatkr">
481 <primary sortas="b-gnatkr">gnatkr</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="gnatlink">
487 <term><command>gnatlink</command></term>
488 <listitem>
489 <para>is used to link programs and build an executable file.</para>
490 <indexterm zone="gcc gnatlink">
491 <primary sortas="b-gnatlink">gnatlink</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="gnatls">
497 <term><command>gnatls</command></term>
498 <listitem>
499 <para>is the compiled unit browser.</para>
500 <indexterm zone="gcc gnatls">
501 <primary sortas="b-gnatls">gnatls</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry id="gnatmake">
507 <term><command>gnatmake</command></term>
508 <listitem>
509 <para>is an automatic <command>make</command> facility.</para>
510 <indexterm zone="gcc gnatmake">
511 <primary sortas="b-gnatmake">gnatmake</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 <varlistentry id="gnatname">
517 <term><command>gnatname</command></term>
518 <listitem>
519 <para>will list the files associated with a
520 <application>GNAT</application> project.</para>
521 <indexterm zone="gcc gnatname">
522 <primary sortas="b-gnatname">gnatname</primary>
523 </indexterm>
524 </listitem>
525 </varlistentry>
526
527 <varlistentry id="gnatprep">
528 <term><command>gnatprep</command></term>
529 <listitem>
530 <para>is the <application>GNAT</application> external preprocessor.</para>
531 <indexterm zone="gcc gnatprep">
532 <primary sortas="b-gnatprep">gnatprep</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
537 <varlistentry id="gnatxref">
538 <term><command>gnatxref</command></term>
539 <listitem>
540 <para>is the <application>GNAT</application> cross-referencer.</para>
541 <indexterm zone="gcc gnatxref">
542 <primary sortas="b-gnatxref">gnatxref</primary>
543 </indexterm>
544 </listitem>
545 </varlistentry>
546
547 <varlistentry id="gpr2make">
548 <term><command>gpr2make</command></term>
549 <listitem>
550 <para>is a tool used to create <filename>Makefile</filename>s that
551 support compilation by multiple languages.</para>
552 <indexterm zone="gcc gpr2make">
553 <primary sortas="b-gpr2make">gpr2make</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="gprcmd">
559 <term><command>gprcmd</command></term>
560 <listitem>
561 <para>is a utility used by <filename>Makefile.generic</filename> to
562 handle multi-language builds. It provides a set of commands so that the
563 <filename>Makefile</filename>s do not need to depend on Unix utilities not
564 available on all targets.</para>
565 <indexterm zone="gcc gprcmd">
566 <primary sortas="b-gprcmd">gprcmd</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="grepjar">
572 <term><command>grepjar</command></term>
573 <listitem>
574 <para>searches <filename>jar</filename> files for a pattern.</para>
575 <indexterm zone="gcc grepjar">
576 <primary sortas="b-grepjar">grepjar</primary>
577 </indexterm>
578 </listitem>
579 </varlistentry>
580
581 <varlistentry id="jar-gcc">
582 <term><command>jar</command></term>
583 <listitem>
584 <para>is an archive tool for <application>Java</application> archives.</para>
585 <indexterm zone="gcc jar-gcc">
586 <primary sortas="b-jar">jar</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="jcf-dump">
592 <term><command>jcf-dump</command></term>
593 <listitem>
594 <para>prints information about <application>Java</application>
595 class files.</para>
596 <indexterm zone="gcc jcf-dump">
597 <primary sortas="b-jcf-dump">jcf-dump</primary>
598 </indexterm>
599 </listitem>
600 </varlistentry>
601
602 <varlistentry id="jv-convert">
603 <term><command>jv-convert</command></term>
604 <listitem>
605 <para>converts files from one encoding to another.</para>
606 <indexterm zone="gcc jv-convert">
607 <primary sortas="b-jv-convert">jv-convert</primary>
608 </indexterm>
609 </listitem>
610 </varlistentry>
611
612 <varlistentry id="jv-scan">
613 <term><command>jv-scan</command></term>
614 <listitem>
615 <para>prints information about <application>Java</application>
616 source files.</para>
617 <indexterm zone="gcc jv-scan">
618 <primary sortas="b-jv-scan">jv-scan</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="rmic-gcc">
624 <term><command>rmic</command></term>
625 <listitem>
626 <para>generates stubs for Remote Method Invocation.</para>
627 <indexterm zone="gcc rmic-gcc">
628 <primary sortas="b-rmic">rmic</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
633 <varlistentry id="rmiregistry-gcc">
634 <term><command>rmiregistry</command></term>
635 <listitem>
636 <para> starts a remote object registry on the current host.</para>
637 <indexterm zone="gcc rmiregistry-gcc">
638 <primary sortas="b-rmiregistry">rmiregistry</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 </variablelist>
644
645 </sect2>
646
647</sect1>
Note: See TracBrowser for help on using the repository browser.