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