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