summaryrefslogtreecommitdiff
path: root/INSTALL/configure.html
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL/configure.html')
-rw-r--r--INSTALL/configure.html2595
1 files changed, 1030 insertions, 1565 deletions
diff --git a/INSTALL/configure.html b/INSTALL/configure.html
index e1c8d9d38c..8122cb8118 100644
--- a/INSTALL/configure.html
+++ b/INSTALL/configure.html
@@ -1,618 +1,491 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<!-- Copyright (C) 1988-2016 Free Software Foundation, Inc.
+<html lang="en">
+<head>
+<title>Installing GCC: Configuration</title>
+<meta http-equiv="Content-Type" content="text/html">
+<meta name="description" content="Installing GCC: Configuration">
+<meta name="generator" content="makeinfo 4.12">
+<link title="Top" rel="top" href="#Top">
+<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
+<!--
+Copyright (C) 1988-2016 Free Software Foundation, Inc.
-Permission is granted to copy, distribute and/or modify this document
+ Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, the Front-Cover texts being (a) (see below), and
with the Back-Cover Texts being (b) (see below). A copy of the
-license is included in the section entitled "GNU
-Free Documentation License".
+license is included in the section entitled "GNU Free Documentation License".
(a) The FSF's Front-Cover Text is:
-A GNU Manual
+ A GNU Manual
(b) The FSF's Back-Cover Text is:
-You have freedom to copy and modify this GNU Manual, like GNU
+ You have freedom to copy and modify this GNU Manual, like GNU
software. Copies published by the Free Software Foundation raise
- funds for GNU development. -->
-<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
-<head>
-<title>Installing GCC</title>
-
-<meta name="description" content="Installing GCC">
-<meta name="keywords" content="Installing GCC">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="Generator" content="makeinfo">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<style type="text/css">
-<!--
-a.summary-letter {text-decoration: none}
-blockquote.smallquotation {font-size: smaller}
-div.display {margin-left: 3.2em}
-div.example {margin-left: 3.2em}
-div.indentedblock {margin-left: 3.2em}
-div.lisp {margin-left: 3.2em}
-div.smalldisplay {margin-left: 3.2em}
-div.smallexample {margin-left: 3.2em}
-div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
-div.smalllisp {margin-left: 3.2em}
-kbd {font-style:oblique}
-pre.display {font-family: inherit}
-pre.format {font-family: inherit}
-pre.menu-comment {font-family: serif}
-pre.menu-preformatted {font-family: serif}
-pre.smalldisplay {font-family: inherit; font-size: smaller}
-pre.smallexample {font-size: smaller}
-pre.smallformat {font-family: inherit; font-size: smaller}
-pre.smalllisp {font-size: smaller}
-span.nocodebreak {white-space:nowrap}
-span.nolinebreak {white-space:nowrap}
-span.roman {font-family:serif; font-weight:normal}
-span.sansserif {font-family:sans-serif; font-weight:normal}
-ul.no-bullet {list-style: none}
--->
-</style>
-
-
+ funds for GNU development.-->
+<meta http-equiv="Content-Style-Type" content="text/css">
+<style type="text/css"><!--
+ pre.display { font-family:inherit }
+ pre.format { font-family:inherit }
+ pre.smalldisplay { font-family:inherit; font-size:smaller }
+ pre.smallformat { font-family:inherit; font-size:smaller }
+ pre.smallexample { font-size:smaller }
+ pre.smalllisp { font-size:smaller }
+ span.sc { font-variant:small-caps }
+ span.roman { font-family:serif; font-weight:normal; }
+ span.sansserif { font-family:sans-serif; font-weight:normal; }
+--></style>
</head>
-
-<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
-<h1 class="settitle" align="center">Installing GCC</h1>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<a name="index-Configuration"></a>
-<a name="index-Installing-GCC_003a-Configuration"></a>
-
-<p>Like most GNU software, GCC must be configured before it can be built.
+<body>
+<h1 class="settitle">Installing GCC: Configuration</h1>
+<a name="index-Configuration-1"></a><a name="index-Installing-GCC_003a-Configuration-2"></a>
+Like most GNU software, GCC must be configured before it can be built.
This document describes the recommended configuration procedure
for both native and cross targets.
-</p>
-<p>We use <var>srcdir</var> to refer to the toplevel source directory for
+
+ <p>We use <var>srcdir</var> to refer to the toplevel source directory for
GCC; we use <var>objdir</var> to refer to the toplevel build/object directory.
-</p>
-<p>If you obtained the sources via SVN, <var>srcdir</var> must refer to the top
-<samp>gcc</samp> directory, the one where the <samp>MAINTAINERS</samp> file can be
-found, and not its <samp>gcc</samp> subdirectory, otherwise the build will fail.
-</p>
-<p>If either <var>srcdir</var> or <var>objdir</var> is located on an automounted NFS
-file system, the shell&rsquo;s built-in <code>pwd</code> command will return
+
+ <p>If you obtained the sources via SVN, <var>srcdir</var> must refer to the top
+<samp><span class="file">gcc</span></samp> directory, the one where the <samp><span class="file">MAINTAINERS</span></samp> file can be
+found, and not its <samp><span class="file">gcc</span></samp> subdirectory, otherwise the build will fail.
+
+ <p>If either <var>srcdir</var> or <var>objdir</var> is located on an automounted NFS
+file system, the shell's built-in <samp><span class="command">pwd</span></samp> command will return
temporary pathnames. Using these can lead to various sorts of build
-problems. To avoid this issue, set the <code>PWDCMD</code> environment
-variable to an automounter-aware <code>pwd</code> command, e.g.,
-<code>pawd</code> or &lsquo;<samp>amq -w</samp>&rsquo;, during the configuration and build
+problems. To avoid this issue, set the <samp><span class="env">PWDCMD</span></samp> environment
+variable to an automounter-aware <samp><span class="command">pwd</span></samp> command, e.g.,
+<samp><span class="command">pawd</span></samp> or &lsquo;<samp><span class="samp">amq -w</span></samp>&rsquo;, during the configuration and build
phases.
-</p>
-<p>First, we <strong>highly</strong> recommend that GCC be built into a
+
+ <p>First, we <strong>highly</strong> recommend that GCC be built into a
separate directory from the sources which does <strong>not</strong> reside
within the source tree. This is how we generally build GCC; building
-where <var>srcdir</var> == <var>objdir</var> should still work, but doesn&rsquo;t
+where <var>srcdir</var> == <var>objdir</var> should still work, but doesn't
get extensive testing; building where <var>objdir</var> is a subdirectory
of <var>srcdir</var> is unsupported.
-</p>
-<p>If you have previously built GCC in the same directory for a
-different target machine, do &lsquo;<samp>make distclean</samp>&rsquo; to delete all files
-that might be invalid. One of the files this deletes is <samp>Makefile</samp>;
-if &lsquo;<samp>make distclean</samp>&rsquo; complains that <samp>Makefile</samp> does not exist
-or issues a message like &ldquo;don&rsquo;t know how to make distclean&rdquo; it probably
+
+ <p>If you have previously built GCC in the same directory for a
+different target machine, do &lsquo;<samp><span class="samp">make distclean</span></samp>&rsquo; to delete all files
+that might be invalid. One of the files this deletes is <samp><span class="file">Makefile</span></samp>;
+if &lsquo;<samp><span class="samp">make distclean</span></samp>&rsquo; complains that <samp><span class="file">Makefile</span></samp> does not exist
+or issues a message like &ldquo;don't know how to make distclean&rdquo; it probably
means that the directory is already suitably clean. However, with the
recommended method of building in a separate <var>objdir</var>, you should
simply use a different <var>objdir</var> for each target.
-</p>
-<p>Second, when configuring a native system, either <code>cc</code> or
-<code>gcc</code> must be in your path or you must set <code>CC</code> in
+
+ <p>Second, when configuring a native system, either <samp><span class="command">cc</span></samp> or
+<samp><span class="command">gcc</span></samp> must be in your path or you must set <samp><span class="env">CC</span></samp> in
your environment before running configure. Otherwise the configuration
scripts may fail.
-</p>
-<p>To configure GCC:
-</p>
-<div class="smallexample">
-<pre class="smallexample">% mkdir <var>objdir</var>
-% cd <var>objdir</var>
-% <var>srcdir</var>/configure [<var>options</var>] [<var>target</var>]
-</pre></div>
+ <p>To configure GCC:
-<a name="Distributor-options"></a>
-<h3 class="heading">Distributor options</h3>
+<pre class="smallexample"> % mkdir <var>objdir</var>
+ % cd <var>objdir</var>
+ % <var>srcdir</var>/configure [<var>options</var>] [<var>target</var>]
+</pre>
+ <h3 class="heading"><a name="TOC0"></a>Distributor options</h3>
<p>If you will be distributing binary versions of GCC, with modifications
to the source code, you should use the options described in this
section to make clear that your version contains modifications.
-</p>
-<dl compact="compact">
-<dt><code>--with-pkgversion=<var>version</var></code></dt>
-<dd><p>Specify a string that identifies your package. You may wish
+
+ <dl>
+<dt><code>--with-pkgversion=</code><var>version</var><dd>Specify a string that identifies your package. You may wish
to include a build number or build date. This version string will be
-included in the output of <code>gcc --version</code>. This suffix does
-not replace the default version string, only the &lsquo;<samp>GCC</samp>&rsquo; part.
-</p>
-<p>The default value is &lsquo;<samp>GCC</samp>&rsquo;.
-</p>
-</dd>
-<dt><code>--with-bugurl=<var>url</var></code></dt>
-<dd><p>Specify the URL that users should visit if they wish to report a bug.
+included in the output of <samp><span class="command">gcc --version</span></samp>. This suffix does
+not replace the default version string, only the &lsquo;<samp><span class="samp">GCC</span></samp>&rsquo; part.
+
+ <p>The default value is &lsquo;<samp><span class="samp">GCC</span></samp>&rsquo;.
+
+ <br><dt><code>--with-bugurl=</code><var>url</var><dd>Specify the URL that users should visit if they wish to report a bug.
You are of course welcome to forward bugs reported to you to the FSF,
if you determine that they are not bugs in your modifications.
-</p>
-<p>The default value refers to the FSF&rsquo;s GCC bug tracker.
-</p>
-</dd>
-</dl>
-<a name="Target-specification"></a>
-<h3 class="heading">Target specification</h3>
-<ul>
-<li> GCC has code to correctly determine the correct value for <var>target</var>
+ <p>The default value refers to the FSF's GCC bug tracker.
+
+ </dl>
+
+<h3 class="heading"><a name="TOC1"></a>Target specification</h3>
+
+ <ul>
+<li>GCC has code to correctly determine the correct value for <var>target</var>
for nearly all native systems. Therefore, we highly recommend you do
not provide a configure target when configuring a native compiler.
-</li><li> <var>target</var> must be specified as <samp>--target=<var>target</var></samp>
+ <li><var>target</var> must be specified as <samp><span class="option">--target=</span><var>target</var></samp>
when configuring a cross compiler; examples of valid targets would be
m68k-elf, sh-elf, etc.
-</li><li> Specifying just <var>target</var> instead of <samp>--target=<var>target</var></samp>
-implies that the host defaults to <var>target</var>.
-</li></ul>
+ <li>Specifying just <var>target</var> instead of <samp><span class="option">--target=</span><var>target</var></samp>
+implies that the host defaults to <var>target</var>.
+</ul>
-
-<a name="Options-specification"></a>
-<h3 class="heading">Options specification</h3>
+<h3 class="heading"><a name="TOC2"></a>Options specification</h3>
<p>Use <var>options</var> to override several configure time options for
-GCC. A list of supported <var>options</var> follows; &lsquo;<samp>configure
---help</samp>&rsquo; may list other options, but those not listed below may not
+GCC. A list of supported <var>options</var> follows; &lsquo;<samp><span class="samp">configure
+--help</span></samp>&rsquo; may list other options, but those not listed below may not
work and should not normally be used.
-</p>
-<p>Note that each <samp>--enable</samp> option has a corresponding
-<samp>--disable</samp> option and that each <samp>--with</samp> option has a
-corresponding <samp>--without</samp> option.
-</p>
-<dl compact="compact">
-<dt><code>--prefix=<var>dirname</var></code></dt>
-<dd><p>Specify the toplevel installation
+
+ <p>Note that each <samp><span class="option">--enable</span></samp> option has a corresponding
+<samp><span class="option">--disable</span></samp> option and that each <samp><span class="option">--with</span></samp> option has a
+corresponding <samp><span class="option">--without</span></samp> option.
+
+ <dl>
+<dt><code>--prefix=</code><var>dirname</var><dd>Specify the toplevel installation
directory. This is the recommended way to install the tools into a directory
other than the default. The toplevel installation directory defaults to
-<samp>/usr/local</samp>.
-</p>
-<p>We <strong>highly</strong> recommend against <var>dirname</var> being the same or a
+<samp><span class="file">/usr/local</span></samp>.
+
+ <p>We <strong>highly</strong> recommend against <var>dirname</var> being the same or a
subdirectory of <var>objdir</var> or vice versa. If specifying a directory
-beneath a user&rsquo;s home directory tree, some shells will not expand
-<var>dirname</var> correctly if it contains the &lsquo;<samp>~</samp>&rsquo; metacharacter; use
-<code>$HOME</code> instead.
-</p>
-<p>The following standard <code>autoconf</code> options are supported. Normally you
+beneath a user's home directory tree, some shells will not expand
+<var>dirname</var> correctly if it contains the &lsquo;<samp><span class="samp">~</span></samp>&rsquo; metacharacter; use
+<samp><span class="env">$HOME</span></samp> instead.
+
+ <p>The following standard <samp><span class="command">autoconf</span></samp> options are supported. Normally you
should not need to use these options.
-</p><dl compact="compact">
-<dt><code>--exec-prefix=<var>dirname</var></code></dt>
-<dd><p>Specify the toplevel installation directory for architecture-dependent
+ <dl>
+<dt><code>--exec-prefix=</code><var>dirname</var><dd>Specify the toplevel installation directory for architecture-dependent
files. The default is <samp><var>prefix</var></samp>.
-</p>
-</dd>
-<dt><code>--bindir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for the executables called by users
-(such as <code>gcc</code> and <code>g++</code>). The default is
-<samp><var>exec-prefix</var>/bin</samp>.
-</p>
-</dd>
-<dt><code>--libdir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for object code libraries and
-internal data files of GCC. The default is <samp><var>exec-prefix</var>/lib</samp>.
-</p>
-</dd>
-<dt><code>--libexecdir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for internal executables of GCC.
-The default is <samp><var>exec-prefix</var>/libexec</samp>.
-</p>
-</dd>
-<dt><code>--with-slibdir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for the shared libgcc library. The
+
+ <br><dt><code>--bindir=</code><var>dirname</var><dd>Specify the installation directory for the executables called by users
+(such as <samp><span class="command">gcc</span></samp> and <samp><span class="command">g++</span></samp>). The default is
+<samp><var>exec-prefix</var><span class="file">/bin</span></samp>.
+
+ <br><dt><code>--libdir=</code><var>dirname</var><dd>Specify the installation directory for object code libraries and
+internal data files of GCC. The default is <samp><var>exec-prefix</var><span class="file">/lib</span></samp>.
+
+ <br><dt><code>--libexecdir=</code><var>dirname</var><dd>Specify the installation directory for internal executables of GCC.
+The default is <samp><var>exec-prefix</var><span class="file">/libexec</span></samp>.
+
+ <br><dt><code>--with-slibdir=</code><var>dirname</var><dd>Specify the installation directory for the shared libgcc library. The
default is <samp><var>libdir</var></samp>.
-</p>
-</dd>
-<dt><code>--datarootdir=<var>dirname</var></code></dt>
-<dd><p>Specify the root of the directory tree for read-only architecture-independent
-data files referenced by GCC. The default is <samp><var>prefix</var>/share</samp>.
-</p>
-</dd>
-<dt><code>--infodir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for documentation in info format.
-The default is <samp><var>datarootdir</var>/info</samp>.
-</p>
-</dd>
-<dt><code>--datadir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for some architecture-independent
+
+ <br><dt><code>--datarootdir=</code><var>dirname</var><dd>Specify the root of the directory tree for read-only architecture-independent
+data files referenced by GCC. The default is <samp><var>prefix</var><span class="file">/share</span></samp>.
+
+ <br><dt><code>--infodir=</code><var>dirname</var><dd>Specify the installation directory for documentation in info format.
+The default is <samp><var>datarootdir</var><span class="file">/info</span></samp>.
+
+ <br><dt><code>--datadir=</code><var>dirname</var><dd>Specify the installation directory for some architecture-independent
data files referenced by GCC. The default is <samp><var>datarootdir</var></samp>.
-</p>
-</dd>
-<dt><code>--docdir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for documentation files (other
-than Info) for GCC. The default is <samp><var>datarootdir</var>/doc</samp>.
-</p>
-</dd>
-<dt><code>--htmldir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for HTML documentation files.
+
+ <br><dt><code>--docdir=</code><var>dirname</var><dd>Specify the installation directory for documentation files (other
+than Info) for GCC. The default is <samp><var>datarootdir</var><span class="file">/doc</span></samp>.
+
+ <br><dt><code>--htmldir=</code><var>dirname</var><dd>Specify the installation directory for HTML documentation files.
The default is <samp><var>docdir</var></samp>.
-</p>
-</dd>
-<dt><code>--pdfdir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for PDF documentation files.
+
+ <br><dt><code>--pdfdir=</code><var>dirname</var><dd>Specify the installation directory for PDF documentation files.
The default is <samp><var>docdir</var></samp>.
-</p>
-</dd>
-<dt><code>--mandir=<var>dirname</var></code></dt>
-<dd><p>Specify the installation directory for manual pages. The default is
-<samp><var>datarootdir</var>/man</samp>. (Note that the manual pages are only extracts
+
+ <br><dt><code>--mandir=</code><var>dirname</var><dd>Specify the installation directory for manual pages. The default is
+<samp><var>datarootdir</var><span class="file">/man</span></samp>. (Note that the manual pages are only extracts
from the full GCC manuals, which are provided in Texinfo format. The manpages
are derived by an automatic conversion process from parts of the full
manual.)
-</p>
-</dd>
-<dt><code>--with-gxx-include-dir=<var>dirname</var></code></dt>
-<dd><p>Specify
+
+ <br><dt><code>--with-gxx-include-dir=</code><var>dirname</var><dd>Specify
the installation directory for G++ header files. The default depends
on other configuration options, and differs between cross and native
configurations.
-</p>
-</dd>
-<dt><code>--with-specs=<var>specs</var></code></dt>
-<dd><p>Specify additional command line driver SPECS.
+
+ <br><dt><code>--with-specs=</code><var>specs</var><dd>Specify additional command line driver SPECS.
This can be useful if you need to turn on a non-standard feature by
-default without modifying the compiler&rsquo;s source code, for instance
-<samp>--with-specs=%{!fcommon:%{!fno-common:-fno-common}}</samp>.
+default without modifying the compiler's source code, for instance
+<samp><span class="option">--with-specs=%{!fcommon:%{!fno-common:-fno-common}}</span></samp>.
See &ldquo;Spec Files&rdquo; in the main manual
-</p>
-</dd>
-</dl>
-</dd>
-<dt><code>--program-prefix=<var>prefix</var></code></dt>
-<dd><p>GCC supports some transformations of the names of its programs when
+ </dl>
+
+ <br><dt><code>--program-prefix=</code><var>prefix</var><dd>GCC supports some transformations of the names of its programs when
installing them. This option prepends <var>prefix</var> to the names of
programs to install in <var>bindir</var> (see above). For example, specifying
-<samp>--program-prefix=foo-</samp> would result in &lsquo;<samp>gcc</samp>&rsquo;
-being installed as <samp>/usr/local/bin/foo-gcc</samp>.
-</p>
-</dd>
-<dt><code>--program-suffix=<var>suffix</var></code></dt>
-<dd><p>Appends <var>suffix</var> to the names of programs to install in <var>bindir</var>
-(see above). For example, specifying <samp>--program-suffix=-3.1</samp>
-would result in &lsquo;<samp>gcc</samp>&rsquo; being installed as
-<samp>/usr/local/bin/gcc-3.1</samp>.
-</p>
-</dd>
-<dt><code>--program-transform-name=<var>pattern</var></code></dt>
-<dd><p>Applies the &lsquo;<samp>sed</samp>&rsquo; script <var>pattern</var> to be applied to the names
+<samp><span class="option">--program-prefix=foo-</span></samp> would result in &lsquo;<samp><span class="samp">gcc</span></samp>&rsquo;
+being installed as <samp><span class="file">/usr/local/bin/foo-gcc</span></samp>.
+
+ <br><dt><code>--program-suffix=</code><var>suffix</var><dd>Appends <var>suffix</var> to the names of programs to install in <var>bindir</var>
+(see above). For example, specifying <samp><span class="option">--program-suffix=-3.1</span></samp>
+would result in &lsquo;<samp><span class="samp">gcc</span></samp>&rsquo; being installed as
+<samp><span class="file">/usr/local/bin/gcc-3.1</span></samp>.
+
+ <br><dt><code>--program-transform-name=</code><var>pattern</var><dd>Applies the &lsquo;<samp><span class="samp">sed</span></samp>&rsquo; script <var>pattern</var> to be applied to the names
of programs to install in <var>bindir</var> (see above). <var>pattern</var> has to
-consist of one or more basic &lsquo;<samp>sed</samp>&rsquo; editing commands, separated by
-semicolons. For example, if you want the &lsquo;<samp>gcc</samp>&rsquo; program name to be
-transformed to the installed program <samp>/usr/local/bin/myowngcc</samp> and
-the &lsquo;<samp>g++</samp>&rsquo; program name to be transformed to
-<samp>/usr/local/bin/gspecial++</samp> without changing other program names,
+consist of one or more basic &lsquo;<samp><span class="samp">sed</span></samp>&rsquo; editing commands, separated by
+semicolons. For example, if you want the &lsquo;<samp><span class="samp">gcc</span></samp>&rsquo; program name to be
+transformed to the installed program <samp><span class="file">/usr/local/bin/myowngcc</span></samp> and
+the &lsquo;<samp><span class="samp">g++</span></samp>&rsquo; program name to be transformed to
+<samp><span class="file">/usr/local/bin/gspecial++</span></samp> without changing other program names,
you could use the pattern
-<samp>--program-transform-name='s/^gcc$/myowngcc/; s/^g++$/gspecial++/'</samp>
+<samp><span class="option">--program-transform-name='s/^gcc$/myowngcc/; s/^g++$/gspecial++/'</span></samp>
to achieve this effect.
-</p>
-<p>All three options can be combined and used together, resulting in more
+
+ <p>All three options can be combined and used together, resulting in more
complex conversion patterns. As a basic rule, <var>prefix</var> (and
<var>suffix</var>) are prepended (appended) before further transformations
can happen with a special transformation script <var>pattern</var>.
-</p>
-<p>As currently implemented, this option only takes effect for native
-builds; cross compiler binaries&rsquo; names are not transformed even when a
+
+ <p>As currently implemented, this option only takes effect for native
+builds; cross compiler binaries' names are not transformed even when a
transformation is explicitly asked for by one of these options.
-</p>
-<p>For native builds, some of the installed programs are also installed
+
+ <p>For native builds, some of the installed programs are also installed
with the target alias in front of their name, as in
-&lsquo;<samp>i686-pc-linux-gnu-gcc</samp>&rsquo;. All of the above transformations happen
+&lsquo;<samp><span class="samp">i686-pc-linux-gnu-gcc</span></samp>&rsquo;. All of the above transformations happen
before the target alias is prepended to the name&mdash;so, specifying
-<samp>--program-prefix=foo-</samp> and <samp>program-suffix=-3.1</samp>, the
+<samp><span class="option">--program-prefix=foo-</span></samp> and <samp><span class="option">program-suffix=-3.1</span></samp>, the
resulting binary would be installed as
-<samp>/usr/local/bin/i686-pc-linux-gnu-foo-gcc-3.1</samp>.
-</p>
-<p>As a last shortcoming, none of the installed Ada programs are
+<samp><span class="file">/usr/local/bin/i686-pc-linux-gnu-foo-gcc-3.1</span></samp>.
+
+ <p>As a last shortcoming, none of the installed Ada programs are
transformed yet, which will be fixed in some time.
-</p>
-</dd>
-<dt><code>--with-local-prefix=<var>dirname</var></code></dt>
-<dd><p>Specify the
+
+ <br><dt><code>--with-local-prefix=</code><var>dirname</var><dd>Specify the
installation directory for local include files. The default is
-<samp>/usr/local</samp>. Specify this option if you want the compiler to
-search directory <samp><var>dirname</var>/include</samp> for locally installed
-header files <em>instead</em> of <samp>/usr/local/include</samp>.
-</p>
-<p>You should specify <samp>--with-local-prefix</samp> <strong>only</strong> if your
-site has a different convention (not <samp>/usr/local</samp>) for where to put
+<samp><span class="file">/usr/local</span></samp>. Specify this option if you want the compiler to
+search directory <samp><var>dirname</var><span class="file">/include</span></samp> for locally installed
+header files <em>instead</em> of <samp><span class="file">/usr/local/include</span></samp>.
+
+ <p>You should specify <samp><span class="option">--with-local-prefix</span></samp> <strong>only</strong> if your
+site has a different convention (not <samp><span class="file">/usr/local</span></samp>) for where to put
site-specific files.
-</p>
-<p>The default value for <samp>--with-local-prefix</samp> is <samp>/usr/local</samp>
-regardless of the value of <samp>--prefix</samp>. Specifying
-<samp>--prefix</samp> has no effect on which directory GCC searches for
+
+ <p>The default value for <samp><span class="option">--with-local-prefix</span></samp> is <samp><span class="file">/usr/local</span></samp>
+regardless of the value of <samp><span class="option">--prefix</span></samp>. Specifying
+<samp><span class="option">--prefix</span></samp> has no effect on which directory GCC searches for
local header files. This may seem counterintuitive, but actually it is
logical.
-</p>
-<p>The purpose of <samp>--prefix</samp> is to specify where to <em>install
-GCC</em>. The local header files in <samp>/usr/local/include</samp>&mdash;if you put
+
+ <p>The purpose of <samp><span class="option">--prefix</span></samp> is to specify where to <em>install
+GCC</em>. The local header files in <samp><span class="file">/usr/local/include</span></samp>&mdash;if you put
any in that directory&mdash;are not part of GCC. They are part of other
programs&mdash;perhaps many others. (GCC installs its own header files in
-another directory which is based on the <samp>--prefix</samp> value.)
-</p>
-<p>Both the local-prefix include directory and the GCC-prefix include
-directory are part of GCC&rsquo;s &ldquo;system include&rdquo; directories. Although these
+another directory which is based on the <samp><span class="option">--prefix</span></samp> value.)
+
+ <p>Both the local-prefix include directory and the GCC-prefix include
+directory are part of GCC's &ldquo;system include&rdquo; directories. Although these
two directories are not fixed, they need to be searched in the proper
order for the correct processing of the include_next directive. The
local-prefix include directory is searched before the GCC-prefix
include directory. Another characteristic of system include directories
is that pedantic warnings are turned off for headers in these directories.
-</p>
-<p>Some autoconf macros add <samp>-I <var>directory</var></samp> options to the
+
+ <p>Some autoconf macros add <samp><span class="option">-I </span><var>directory</var></samp> options to the
compiler command line, to ensure that directories containing installed
-packages&rsquo; headers are searched. When <var>directory</var> is one of GCC&rsquo;s
+packages' headers are searched. When <var>directory</var> is one of GCC's
system include directories, GCC will ignore the option so that system
directories continue to be processed in the correct order. This
may result in a search order different from what was specified but the
directory will still be searched.
-</p>
-<p>GCC automatically searches for ordinary libraries using
-<code>GCC_EXEC_PREFIX</code>. Thus, when the same installation prefix is
+
+ <p>GCC automatically searches for ordinary libraries using
+<samp><span class="env">GCC_EXEC_PREFIX</span></samp>. Thus, when the same installation prefix is
used for both GCC and packages, GCC will automatically search for
both headers and libraries. This provides a configuration that is
easy to use. GCC behaves in a manner similar to that when it is
-installed as a system compiler in <samp>/usr</samp>.
-</p>
-<p>Sites that need to install multiple versions of GCC may not want to
+installed as a system compiler in <samp><span class="file">/usr</span></samp>.
+
+ <p>Sites that need to install multiple versions of GCC may not want to
use the above simple configuration. It is possible to use the
-<samp>--program-prefix</samp>, <samp>--program-suffix</samp> and
-<samp>--program-transform-name</samp> options to install multiple versions
+<samp><span class="option">--program-prefix</span></samp>, <samp><span class="option">--program-suffix</span></samp> and
+<samp><span class="option">--program-transform-name</span></samp> options to install multiple versions
into a single directory, but it may be simpler to use different prefixes
-and the <samp>--with-local-prefix</samp> option to specify the location of the
+and the <samp><span class="option">--with-local-prefix</span></samp> option to specify the location of the
site-specific files for each version. It will then be necessary for
users to specify explicitly the location of local site libraries
-(e.g., with <code>LIBRARY_PATH</code>).
-</p>
-<p>The same value can be used for both <samp>--with-local-prefix</samp> and
-<samp>--prefix</samp> provided it is not <samp>/usr</samp>. This can be used
-to avoid the default search of <samp>/usr/local/include</samp>.
-</p>
-<p><strong>Do not</strong> specify <samp>/usr</samp> as the <samp>--with-local-prefix</samp>!
-The directory you use for <samp>--with-local-prefix</samp> <strong>must not</strong>
-contain any of the system&rsquo;s standard header files. If it did contain
+(e.g., with <samp><span class="env">LIBRARY_PATH</span></samp>).
+
+ <p>The same value can be used for both <samp><span class="option">--with-local-prefix</span></samp> and
+<samp><span class="option">--prefix</span></samp> provided it is not <samp><span class="file">/usr</span></samp>. This can be used
+to avoid the default search of <samp><span class="file">/usr/local/include</span></samp>.
+
+ <p><strong>Do not</strong> specify <samp><span class="file">/usr</span></samp> as the <samp><span class="option">--with-local-prefix</span></samp>!
+The directory you use for <samp><span class="option">--with-local-prefix</span></samp> <strong>must not</strong>
+contain any of the system's standard header files. If it did contain
them, certain programs would be miscompiled (including GNU Emacs, on
certain targets), because this would override and nullify the header
-file corrections made by the <code>fixincludes</code> script.
-</p>
-<p>Indications are that people who use this option use it based on mistaken
+file corrections made by the <samp><span class="command">fixincludes</span></samp> script.
+
+ <p>Indications are that people who use this option use it based on mistaken
ideas of what it is for. People use it as if it specified where to
install part of GCC. Perhaps they make this assumption because
installing GCC creates the directory.
-</p>
-</dd>
-<dt><code>--with-native-system-header-dir=<var>dirname</var></code></dt>
-<dd><p>Specifies that <var>dirname</var> is the directory that contains native system
-header files, rather than <samp>/usr/include</samp>. This option is most useful
+
+ <br><dt><code>--with-native-system-header-dir=</code><var>dirname</var><dd>Specifies that <var>dirname</var> is the directory that contains native system
+header files, rather than <samp><span class="file">/usr/include</span></samp>. This option is most useful
if you are creating a compiler that should be isolated from the system
as much as possible. It is most commonly used with the
-<samp>--with-sysroot</samp> option and will cause GCC to search
+<samp><span class="option">--with-sysroot</span></samp> option and will cause GCC to search
<var>dirname</var> inside the system root specified by that option.
-</p>
-</dd>
-<dt><code>--enable-shared[=<var>package</var>[,&hellip;]]</code></dt>
-<dd><p>Build shared versions of libraries, if shared libraries are supported on
+
+ <br><dt><code>--enable-shared[=</code><var>package</var><code>[,...]]</code><dd>Build shared versions of libraries, if shared libraries are supported on
the target platform. Unlike GCC 2.95.x and earlier, shared libraries
are enabled by default on all platforms that support shared libraries.
-</p>
-<p>If a list of packages is given as an argument, build shared libraries
+
+ <p>If a list of packages is given as an argument, build shared libraries
only for the listed packages. For other packages, only static libraries
will be built. Package names currently recognized in the GCC tree are
-&lsquo;<samp>libgcc</samp>&rsquo; (also known as &lsquo;<samp>gcc</samp>&rsquo;), &lsquo;<samp>libstdc++</samp>&rsquo; (not
-&lsquo;<samp>libstdc++-v3</samp>&rsquo;), &lsquo;<samp>libffi</samp>&rsquo;, &lsquo;<samp>zlib</samp>&rsquo;, &lsquo;<samp>boehm-gc</samp>&rsquo;,
-&lsquo;<samp>ada</samp>&rsquo;, &lsquo;<samp>libada</samp>&rsquo;, &lsquo;<samp>libjava</samp>&rsquo;, &lsquo;<samp>libgo</samp>&rsquo;, and &lsquo;<samp>libobjc</samp>&rsquo;.
-Note &lsquo;<samp>libiberty</samp>&rsquo; does not support shared libraries at all.
-</p>
-<p>Use <samp>--disable-shared</samp> to build only static libraries. Note that
-<samp>--disable-shared</samp> does not accept a list of package names as
-argument, only <samp>--enable-shared</samp> does.
-</p>
-<p>Contrast with <samp>--enable-host-shared</samp>, which affects <em>host</em>
+&lsquo;<samp><span class="samp">libgcc</span></samp>&rsquo; (also known as &lsquo;<samp><span class="samp">gcc</span></samp>&rsquo;), &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo; (not
+&lsquo;<samp><span class="samp">libstdc++-v3</span></samp>&rsquo;), &lsquo;<samp><span class="samp">libffi</span></samp>&rsquo;, &lsquo;<samp><span class="samp">zlib</span></samp>&rsquo;, &lsquo;<samp><span class="samp">boehm-gc</span></samp>&rsquo;,
+&lsquo;<samp><span class="samp">ada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libada</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libjava</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libgo</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">libobjc</span></samp>&rsquo;.
+Note &lsquo;<samp><span class="samp">libiberty</span></samp>&rsquo; does not support shared libraries at all.
+
+ <p>Use <samp><span class="option">--disable-shared</span></samp> to build only static libraries. Note that
+<samp><span class="option">--disable-shared</span></samp> does not accept a list of package names as
+argument, only <samp><span class="option">--enable-shared</span></samp> does.
+
+ <p>Contrast with <samp><span class="option">--enable-host-shared</span></samp>, which affects <em>host</em>
code.
-</p>
-</dd>
-<dt><code>--enable-host-shared</code></dt>
-<dd><p>Specify that the <em>host</em> code should be built into position-independent
+
+ <br><dt><code>--enable-host-shared</code><dd>Specify that the <em>host</em> code should be built into position-independent
machine code (with -fPIC), allowing it to be used within shared libraries,
but yielding a slightly slower compiler.
-</p>
-<p>This option is required when building the libgccjit.so library.
-</p>
-<p>Contrast with <samp>--enable-shared</samp>, which affects <em>target</em>
+
+ <p>This option is required when building the libgccjit.so library.
+
+ <p>Contrast with <samp><span class="option">--enable-shared</span></samp>, which affects <em>target</em>
libraries.
-</p>
-</dd>
-<dt><code><a name="with_002dgnu_002das"></a>--with-gnu-as</code></dt>
-<dd><p>Specify that the compiler should assume that the
+
+ <br><dt><code><a name="with_002dgnu_002das"></a>--with-gnu-as</code><dd>Specify that the compiler should assume that the
assembler it finds is the GNU assembler. However, this does not modify
the rules to find an assembler and will result in confusion if the
assembler found is not actually the GNU assembler. (Confusion may also
result if the compiler finds the GNU assembler but has not been
-configured with <samp>--with-gnu-as</samp>.) If you have more than one
+configured with <samp><span class="option">--with-gnu-as</span></samp>.) If you have more than one
assembler installed on your system, you may want to use this option in
-connection with <samp>--with-as=<var>pathname</var></samp> or
-<samp>--with-build-time-tools=<var>pathname</var></samp>.
-</p>
-<p>The following systems are the only ones where it makes a difference
+connection with <samp><span class="option">--with-as=</span><var>pathname</var></samp> or
+<samp><span class="option">--with-build-time-tools=</span><var>pathname</var></samp>.
+
+ <p>The following systems are the only ones where it makes a difference
whether you use the GNU assembler. On any other system,
-<samp>--with-gnu-as</samp> has no effect.
-</p>
-<ul>
-<li> &lsquo;<samp>hppa1.0-<var>any</var>-<var>any</var></samp>&rsquo;
-</li><li> &lsquo;<samp>hppa1.1-<var>any</var>-<var>any</var></samp>&rsquo;
-</li><li> &lsquo;<samp>sparc-sun-solaris2.<var>any</var></samp>&rsquo;
-</li><li> &lsquo;<samp>sparc64-<var>any</var>-solaris2.<var>any</var></samp>&rsquo;
-</li></ul>
-
-</dd>
-<dt><code><a name="with_002das"></a>--with-as=<var>pathname</var></code></dt>
-<dd><p>Specify that the compiler should use the assembler pointed to by
+<samp><span class="option">--with-gnu-as</span></samp> has no effect.
+
+ <ul>
+<li>&lsquo;<samp><span class="samp">hppa1.0-</span><var>any</var><span class="samp">-</span><var>any</var></samp>&rsquo;
+<li>&lsquo;<samp><span class="samp">hppa1.1-</span><var>any</var><span class="samp">-</span><var>any</var></samp>&rsquo;
+<li>&lsquo;<samp><span class="samp">sparc-sun-solaris2.</span><var>any</var></samp>&rsquo;
+<li>&lsquo;<samp><span class="samp">sparc64-</span><var>any</var><span class="samp">-solaris2.</span><var>any</var></samp>&rsquo;
+</ul>
+
+ <br><dt><code><a name="with_002das"></a>--with-as=</code><var>pathname</var><dd>Specify that the compiler should use the assembler pointed to by
<var>pathname</var>, rather than the one found by the standard rules to find
an assembler, which are:
-</p><ul>
-<li> Unless GCC is being built with a cross compiler, check the
-<samp><var>libexec</var>/gcc/<var>target</var>/<var>version</var></samp> directory.
-<var>libexec</var> defaults to <samp><var>exec-prefix</var>/libexec</samp>;
+ <ul>
+<li>Unless GCC is being built with a cross compiler, check the
+<samp><var>libexec</var><span class="file">/gcc/</span><var>target</var><span class="file">/</span><var>version</var></samp> directory.
+<var>libexec</var> defaults to <samp><var>exec-prefix</var><span class="file">/libexec</span></samp>;
<var>exec-prefix</var> defaults to <var>prefix</var>, which
-defaults to <samp>/usr/local</samp> unless overridden by the
-<samp>--prefix=<var>pathname</var></samp> switch described above. <var>target</var>
-is the target system triple, such as &lsquo;<samp>sparc-sun-solaris2.7</samp>&rsquo;, and
+defaults to <samp><span class="file">/usr/local</span></samp> unless overridden by the
+<samp><span class="option">--prefix=</span><var>pathname</var></samp> switch described above. <var>target</var>
+is the target system triple, such as &lsquo;<samp><span class="samp">sparc-sun-solaris2.7</span></samp>&rsquo;, and
<var>version</var> denotes the GCC version, such as 3.0.
-</li><li> If the target system is the same that you are building on, check
-operating system specific directories (e.g. <samp>/usr/ccs/bin</samp> on
+ <li>If the target system is the same that you are building on, check
+operating system specific directories (e.g. <samp><span class="file">/usr/ccs/bin</span></samp> on
Sun Solaris 2).
-</li><li> Check in the <code>PATH</code> for a tool whose name is prefixed by the
+ <li>Check in the <samp><span class="env">PATH</span></samp> for a tool whose name is prefixed by the
target system triple.
-</li><li> Check in the <code>PATH</code> for a tool whose name is not prefixed by the
+ <li>Check in the <samp><span class="env">PATH</span></samp> for a tool whose name is not prefixed by the
target system triple, if the host and target system triple are
the same (in other words, we use a host tool if it can be used for
-the target as well).
-</li></ul>
+the target as well).
+</ul>
-<p>You may want to use <samp>--with-as</samp> if no assembler
+ <p>You may want to use <samp><span class="option">--with-as</span></samp> if no assembler
is installed in the directories listed above, or if you have multiple
assemblers installed and want to choose one that is not found by the
above rules.
-</p>
-</dd>
-<dt><code><a name="with_002dgnu_002dld"></a>--with-gnu-ld</code></dt>
-<dd><p>Same as <a href="#with-gnu-as"><samp>--with-gnu-as</samp></a>
+
+ <br><dt><code><a name="with_002dgnu_002dld"></a>--with-gnu-ld</code><dd>Same as <a href="#with-gnu-as"><samp><span class="option">--with-gnu-as</span></samp></a>
but for the linker.
-</p>
-</dd>
-<dt><code>--with-ld=<var>pathname</var></code></dt>
-<dd><p>Same as <a href="#with-as"><samp>--with-as</samp></a>
+
+ <br><dt><code>--with-ld=</code><var>pathname</var><dd>Same as <a href="#with-as"><samp><span class="option">--with-as</span></samp></a>
but for the linker.
-</p>
-</dd>
-<dt><code>--with-stabs</code></dt>
-<dd><p>Specify that stabs debugging
+
+ <br><dt><code>--with-stabs</code><dd>Specify that stabs debugging
information should be used instead of whatever format the host normally
uses. Normally GCC uses the same debug format as the host system.
-</p>
-<p>On MIPS based systems and on Alphas, you must specify whether you want
+
+ <p>On MIPS based systems and on Alphas, you must specify whether you want
GCC to create the normal ECOFF debugging format, or to use BSD-style
stabs passed through the ECOFF symbol table. The normal ECOFF debug
format cannot fully handle languages other than C. BSD stabs format can
handle other languages, but it only works with the GNU debugger GDB.
-</p>
-<p>Normally, GCC uses the ECOFF debugging format by default; if you
-prefer BSD stabs, specify <samp>--with-stabs</samp> when you configure GCC.
-</p>
-<p>No matter which default you choose when you configure GCC, the user
-can use the <samp>-gcoff</samp> and <samp>-gstabs+</samp> options to specify explicitly
+
+ <p>Normally, GCC uses the ECOFF debugging format by default; if you
+prefer BSD stabs, specify <samp><span class="option">--with-stabs</span></samp> when you configure GCC.
+
+ <p>No matter which default you choose when you configure GCC, the user
+can use the <samp><span class="option">-gcoff</span></samp> and <samp><span class="option">-gstabs+</span></samp> options to specify explicitly
the debug format for a particular compilation.
-</p>
-<p><samp>--with-stabs</samp> is meaningful on the ISC system on the 386, also, if
-<samp>--with-gas</samp> is used. It selects use of stabs debugging
+
+ <p><samp><span class="option">--with-stabs</span></samp> is meaningful on the ISC system on the 386, also, if
+<samp><span class="option">--with-gas</span></samp> is used. It selects use of stabs debugging
information embedded in COFF output. This kind of debugging information
supports C++ well; ordinary COFF debugging information does not.
-</p>
-<p><samp>--with-stabs</samp> is also meaningful on 386 systems running SVR4. It
+
+ <p><samp><span class="option">--with-stabs</span></samp> is also meaningful on 386 systems running SVR4. It
selects use of stabs debugging information embedded in ELF output. The
C++ compiler currently (2.6.0) does not support the DWARF debugging
information normally used on 386 SVR4 platforms; stabs provide a
workable alternative. This requires gas and gdb, as the normal SVR4
tools can not generate or interpret stabs.
-</p>
-</dd>
-<dt><code>--with-tls=<var>dialect</var></code></dt>
-<dd><p>Specify the default TLS dialect, for systems were there is a choice.
+
+ <br><dt><code>--with-tls=</code><var>dialect</var><dd>Specify the default TLS dialect, for systems were there is a choice.
For ARM targets, possible values for <var>dialect</var> are <code>gnu</code> or
<code>gnu2</code>, which select between the original GNU dialect and the GNU TLS
descriptor-based dialect.
-</p>
-</dd>
-<dt><code>--enable-multiarch</code></dt>
-<dd><p>Specify whether to enable or disable multiarch support. The default is
+
+ <br><dt><code>--enable-multiarch</code><dd>Specify whether to enable or disable multiarch support. The default is
to check for glibc start files in a multiarch location, and enable it
if the files are found. The auto detection is enabled for native builds,
-and for cross builds configured with <samp>--with-sysroot</samp>, and without
-<samp>--with-native-system-header-dir</samp>.
+and for cross builds configured with <samp><span class="option">--with-sysroot</span></samp>, and without
+<samp><span class="option">--with-native-system-header-dir</span></samp>.
More documentation about multiarch can be found at
<a href="https://wiki.debian.org/Multiarch">https://wiki.debian.org/Multiarch</a>.
-</p>
-</dd>
-<dt><code>--enable-vtable-verify</code></dt>
-<dd><p>Specify whether to enable or disable the vtable verification feature.
+
+ <br><dt><code>--enable-vtable-verify</code><dd>Specify whether to enable or disable the vtable verification feature.
Enabling this feature causes libstdc++ to be built with its virtual calls
in verifiable mode. This means that, when linked with libvtv, every
virtual call in libstdc++ will verify the vtable pointer through which the
call will be made before actually making the call. If not linked with libvtv,
-the verifier will call stub functions (in libstdc++ itself) and do nothing.
+the verifier will call stub functions (in libstdc++ itself) and do nothing.
If vtable verification is disabled, then libstdc++ is not built with its
virtual calls in verifiable mode at all. However the libvtv library will
-still be built (see <samp>--disable-libvtv</samp> to turn off building libvtv).
-<samp>--disable-vtable-verify</samp> is the default.
-</p>
-</dd>
-<dt><code>--disable-multilib</code></dt>
-<dd><p>Specify that multiple target
+still be built (see <samp><span class="option">--disable-libvtv</span></samp> to turn off building libvtv).
+<samp><span class="option">--disable-vtable-verify</span></samp> is the default.
+
+ <br><dt><code>--disable-multilib</code><dd>Specify that multiple target
libraries to support different target variants, calling
conventions, etc. should not be built. The default is to build a
predefined set of them.
-</p>
-<p>Some targets provide finer-grained control over which multilibs are built
-(e.g., <samp>--disable-softfloat</samp>):
-</p><dl compact="compact">
-<dt><code>arm-*-*</code></dt>
-<dd><p>fpu, 26bit, underscore, interwork, biendian, nofmult.
-</p>
-</dd>
-<dt><code>m68*-*-*</code></dt>
-<dd><p>softfloat, m68881, m68000, m68020.
-</p>
-</dd>
-<dt><code>mips*-*-*</code></dt>
-<dd><p>single-float, biendian, softfloat.
-</p>
-</dd>
-<dt><code>powerpc*-*-*, rs6000*-*-*</code></dt>
-<dd><p>aix64, pthread, softfloat, powercpu, powerpccpu, powerpcos, biendian,
+
+ <p>Some targets provide finer-grained control over which multilibs are built
+(e.g., <samp><span class="option">--disable-softfloat</span></samp>):
+ <dl>
+<dt><code>arm-*-*</code><dd>fpu, 26bit, underscore, interwork, biendian, nofmult.
+
+ <br><dt><code>m68*-*-*</code><dd>softfloat, m68881, m68000, m68020.
+
+ <br><dt><code>mips*-*-*</code><dd>single-float, biendian, softfloat.
+
+ <br><dt><code>powerpc*-*-*, rs6000*-*-*</code><dd>aix64, pthread, softfloat, powercpu, powerpccpu, powerpcos, biendian,
sysv, aix.
-</p>
-</dd>
-</dl>
-</dd>
-<dt><code>--with-multilib-list=<var>list</var></code></dt>
-<dt><code>--without-multilib-list</code></dt>
-<dd><p>Specify what multilibs to build.
+ </dl>
+
+ <br><dt><code>--with-multilib-list=</code><var>list</var><dt><code>--without-multilib-list</code><dd>Specify what multilibs to build.
Currently only implemented for arm*-*-*, sh*-*-* and x86-64-*-linux*.
-</p>
-<dl compact="compact">
-<dt><code>arm*-*-*</code></dt>
-<dd><p><var>list</var> is either <code>default</code> or <code>aprofile</code>. Specifying
+
+ <dl>
+<dt><code>arm*-*-*</code><dd><var>list</var> is either <code>default</code> or <code>aprofile</code>. Specifying
<code>default</code> is equivalent to omitting this option while specifying
<code>aprofile</code> builds multilibs for each combination of ISA (<code>-marm</code> or
<code>-mthumb</code>), architecture (<code>-march=armv7-a</code>, <code>-march=armv7ve</code>,
@@ -620,1453 +493,1045 @@ or <code>-march=armv8-a</code>), FPU available (none, <code>-mfpu=vfpv3-d16</cod
<code>-mfpu=neon</code>, <code>-mfpu=vfpv4-d16</code>, <code>-mfpu=neon-vfpv4</code> or
<code>-mfpu=neon-fp-armv8</code> depending on architecture) and floating-point ABI
(<code>-mfloat-abi=softfp</code> or <code>-mfloat-abi=hard</code>).
-</p>
-</dd>
-<dt><code>sh*-*-*</code></dt>
-<dd><p><var>list</var> is a comma separated list of CPU names. These must be of the
+
+ <br><dt><code>sh*-*-*</code><dd><var>list</var> is a comma separated list of CPU names. These must be of the
form <code>sh*</code> or <code>m*</code> (in which case they match the compiler option
for that processor). The list should not contain any endian options -
-these are handled by <samp>--with-endian</samp>.
-</p>
-<p>If <var>list</var> is empty, then there will be no multilibs for extra
+these are handled by <samp><span class="option">--with-endian</span></samp>.
+
+ <p>If <var>list</var> is empty, then there will be no multilibs for extra
processors. The multilib for the secondary endian remains enabled.
-</p>
-<p>As a special case, if an entry in the list starts with a <code>!</code>
-(exclamation point), then it is added to the list of excluded multilibs.
-Entries of this sort should be compatible with &lsquo;<samp>MULTILIB_EXCLUDES</samp>&rsquo;
+
+ <p>As a special case, if an entry in the list starts with a <code>!</code>
+(exclamation point), then it is added to the list of excluded multilibs.
+Entries of this sort should be compatible with &lsquo;<samp><span class="samp">MULTILIB_EXCLUDES</span></samp>&rsquo;
(once the leading <code>!</code> has been stripped).
-</p>
-<p>If <samp>--with-multilib-list</samp> is not given, then a default set of
-multilibs is selected based on the value of <samp>--target</samp>. This is
+
+ <p>If <samp><span class="option">--with-multilib-list</span></samp> is not given, then a default set of
+multilibs is selected based on the value of <samp><span class="option">--target</span></samp>. This is
usually the complete set of libraries, but some targets imply a more
specialized subset.
-</p>
-<p>Example 1: to configure a compiler for SH4A only, but supporting both
-endians, with little endian being the default:
-</p><div class="smallexample">
-<pre class="smallexample">--with-cpu=sh4a --with-endian=little,big --with-multilib-list=
-</pre></div>
-<p>Example 2: to configure a compiler for both SH4A and SH4AL-DSP, but with
+ <p>Example 1: to configure a compiler for SH4A only, but supporting both
+endians, with little endian being the default:
+ <pre class="smallexample"> --with-cpu=sh4a --with-endian=little,big --with-multilib-list=
+</pre>
+ <p>Example 2: to configure a compiler for both SH4A and SH4AL-DSP, but with
only little endian SH4AL:
-</p><div class="smallexample">
-<pre class="smallexample">--with-cpu=sh4a --with-endian=little,big \
---with-multilib-list=sh4al,!mb/m4al
-</pre></div>
-
-</dd>
-<dt><code>x86-64-*-linux*</code></dt>
-<dd><p><var>list</var> is a comma separated list of <code>m32</code>, <code>m64</code> and
+ <pre class="smallexample"> --with-cpu=sh4a --with-endian=little,big \
+ --with-multilib-list=sh4al,!mb/m4al
+</pre>
+ <br><dt><code>x86-64-*-linux*</code><dd><var>list</var> is a comma separated list of <code>m32</code>, <code>m64</code> and
<code>mx32</code> to enable 32-bit, 64-bit and x32 run-time libraries,
respectively. If <var>list</var> is empty, then there will be no multilibs
and only the default run-time library will be enabled.
-</p>
-<p>If <samp>--with-multilib-list</samp> is not given, then only 32-bit and
-64-bit run-time libraries will be enabled.
-</p></dd>
+
+ <p>If <samp><span class="option">--with-multilib-list</span></samp> is not given, then only 32-bit and
+64-bit run-time libraries will be enabled.
</dl>
-</dd>
-<dt><code>--with-endian=<var>endians</var></code></dt>
-<dd><p>Specify what endians to use.
+ <br><dt><code>--with-endian=</code><var>endians</var><dd>Specify what endians to use.
Currently only implemented for sh*-*-*.
-</p>
-<p><var>endians</var> may be one of the following:
-</p><dl compact="compact">
-<dt><code>big</code></dt>
-<dd><p>Use big endian exclusively.
-</p></dd>
-<dt><code>little</code></dt>
-<dd><p>Use little endian exclusively.
-</p></dd>
-<dt><code>big,little</code></dt>
-<dd><p>Use big endian by default. Provide a multilib for little endian.
-</p></dd>
-<dt><code>little,big</code></dt>
-<dd><p>Use little endian by default. Provide a multilib for big endian.
-</p></dd>
+
+ <p><var>endians</var> may be one of the following:
+ <dl>
+<dt><code>big</code><dd>Use big endian exclusively.
+<br><dt><code>little</code><dd>Use little endian exclusively.
+<br><dt><code>big,little</code><dd>Use big endian by default. Provide a multilib for little endian.
+<br><dt><code>little,big</code><dd>Use little endian by default. Provide a multilib for big endian.
</dl>
-</dd>
-<dt><code>--enable-threads</code></dt>
-<dd><p>Specify that the target
+ <br><dt><code>--enable-threads</code><dd>Specify that the target
supports threads. This affects the Objective-C compiler and runtime
-library, and exception handling for other languages like C++ and Java.
+library, and exception handling for other languages like C++ and Java.
On some systems, this is the default.
-</p>
-<p>In general, the best (and, in many cases, the only known) threading
+
+ <p>In general, the best (and, in many cases, the only known) threading
model available will be configured for use. Beware that on some
systems, GCC has not been taught what threading models are generally
-available for the system. In this case, <samp>--enable-threads</samp> is an
-alias for <samp>--enable-threads=single</samp>.
-</p>
-</dd>
-<dt><code>--disable-threads</code></dt>
-<dd><p>Specify that threading support should be disabled for the system.
-This is an alias for <samp>--enable-threads=single</samp>.
-</p>
-</dd>
-<dt><code>--enable-threads=<var>lib</var></code></dt>
-<dd><p>Specify that
+available for the system. In this case, <samp><span class="option">--enable-threads</span></samp> is an
+alias for <samp><span class="option">--enable-threads=single</span></samp>.
+
+ <br><dt><code>--disable-threads</code><dd>Specify that threading support should be disabled for the system.
+This is an alias for <samp><span class="option">--enable-threads=single</span></samp>.
+
+ <br><dt><code>--enable-threads=</code><var>lib</var><dd>Specify that
<var>lib</var> is the thread support library. This affects the Objective-C
compiler and runtime library, and exception handling for other languages
like C++ and Java. The possibilities for <var>lib</var> are:
-</p>
-<dl compact="compact">
-<dt><code>aix</code></dt>
-<dd><p>AIX thread support.
-</p></dd>
-<dt><code>dce</code></dt>
-<dd><p>DCE thread support.
-</p></dd>
-<dt><code>lynx</code></dt>
-<dd><p>LynxOS thread support.
-</p></dd>
-<dt><code>mipssde</code></dt>
-<dd><p>MIPS SDE thread support.
-</p></dd>
-<dt><code>no</code></dt>
-<dd><p>This is an alias for &lsquo;<samp>single</samp>&rsquo;.
-</p></dd>
-<dt><code>posix</code></dt>
-<dd><p>Generic POSIX/Unix98 thread support.
-</p></dd>
-<dt><code>rtems</code></dt>
-<dd><p>RTEMS thread support.
-</p></dd>
-<dt><code>single</code></dt>
-<dd><p>Disable thread support, should work for all platforms.
-</p></dd>
-<dt><code>tpf</code></dt>
-<dd><p>TPF thread support.
-</p></dd>
-<dt><code>vxworks</code></dt>
-<dd><p>VxWorks thread support.
-</p></dd>
-<dt><code>win32</code></dt>
-<dd><p>Microsoft Win32 API thread support.
-</p></dd>
+
+ <dl>
+<dt><code>aix</code><dd>AIX thread support.
+<br><dt><code>dce</code><dd>DCE thread support.
+<br><dt><code>lynx</code><dd>LynxOS thread support.
+<br><dt><code>mipssde</code><dd>MIPS SDE thread support.
+<br><dt><code>no</code><dd>This is an alias for &lsquo;<samp><span class="samp">single</span></samp>&rsquo;.
+<br><dt><code>posix</code><dd>Generic POSIX/Unix98 thread support.
+<br><dt><code>rtems</code><dd>RTEMS thread support.
+<br><dt><code>single</code><dd>Disable thread support, should work for all platforms.
+<br><dt><code>tpf</code><dd>TPF thread support.
+<br><dt><code>vxworks</code><dd>VxWorks thread support.
+<br><dt><code>win32</code><dd>Microsoft Win32 API thread support.
</dl>
-</dd>
-<dt><code>--enable-tls</code></dt>
-<dd><p>Specify that the target supports TLS (Thread Local Storage). Usually
+ <br><dt><code>--enable-tls</code><dd>Specify that the target supports TLS (Thread Local Storage). Usually
configure can correctly determine if TLS is supported. In cases where
it guesses incorrectly, TLS can be explicitly enabled or disabled with
-<samp>--enable-tls</samp> or <samp>--disable-tls</samp>. This can happen if
+<samp><span class="option">--enable-tls</span></samp> or <samp><span class="option">--disable-tls</span></samp>. This can happen if
the assembler supports TLS but the C library does not, or if the
assumptions made by the configure test are incorrect.
-</p>
-</dd>
-<dt><code>--disable-tls</code></dt>
-<dd><p>Specify that the target does not support TLS.
-This is an alias for <samp>--enable-tls=no</samp>.
-</p>
-</dd>
-<dt><code>--with-cpu=<var>cpu</var></code></dt>
-<dt><code>--with-cpu-32=<var>cpu</var></code></dt>
-<dt><code>--with-cpu-64=<var>cpu</var></code></dt>
-<dd><p>Specify which cpu variant the compiler should generate code for by default.
-<var>cpu</var> will be used as the default value of the <samp>-mcpu=</samp> switch.
+
+ <br><dt><code>--disable-tls</code><dd>Specify that the target does not support TLS.
+This is an alias for <samp><span class="option">--enable-tls=no</span></samp>.
+
+ <br><dt><code>--with-cpu=</code><var>cpu</var><dt><code>--with-cpu-32=</code><var>cpu</var><dt><code>--with-cpu-64=</code><var>cpu</var><dd>Specify which cpu variant the compiler should generate code for by default.
+<var>cpu</var> will be used as the default value of the <samp><span class="option">-mcpu=</span></samp> switch.
This option is only supported on some targets, including ARC, ARM, i386, M68k,
-PowerPC, and SPARC. It is mandatory for ARC. The <samp>--with-cpu-32</samp> and
-<samp>--with-cpu-64</samp> options specify separate default CPUs for
+PowerPC, and SPARC. It is mandatory for ARC. The <samp><span class="option">--with-cpu-32</span></samp> and
+<samp><span class="option">--with-cpu-64</span></samp> options specify separate default CPUs for
32-bit and 64-bit modes; these options are only supported for i386,
-x86-64 and PowerPC.
-</p>
-</dd>
-<dt><code>--with-schedule=<var>cpu</var></code></dt>
-<dt><code>--with-arch=<var>cpu</var></code></dt>
-<dt><code>--with-arch-32=<var>cpu</var></code></dt>
-<dt><code>--with-arch-64=<var>cpu</var></code></dt>
-<dt><code>--with-tune=<var>cpu</var></code></dt>
-<dt><code>--with-tune-32=<var>cpu</var></code></dt>
-<dt><code>--with-tune-64=<var>cpu</var></code></dt>
-<dt><code>--with-abi=<var>abi</var></code></dt>
-<dt><code>--with-fpu=<var>type</var></code></dt>
-<dt><code>--with-float=<var>type</var></code></dt>
-<dd><p>These configure options provide default values for the <samp>-mschedule=</samp>,
-<samp>-march=</samp>, <samp>-mtune=</samp>, <samp>-mabi=</samp>, and <samp>-mfpu=</samp>
-options and for <samp>-mhard-float</samp> or <samp>-msoft-float</samp>. As with
-<samp>--with-cpu</samp>, which switches will be accepted and acceptable values
+x86-64, PowerPC, and SPARC.
+
+ <br><dt><code>--with-schedule=</code><var>cpu</var><dt><code>--with-arch=</code><var>cpu</var><dt><code>--with-arch-32=</code><var>cpu</var><dt><code>--with-arch-64=</code><var>cpu</var><dt><code>--with-tune=</code><var>cpu</var><dt><code>--with-tune-32=</code><var>cpu</var><dt><code>--with-tune-64=</code><var>cpu</var><dt><code>--with-abi=</code><var>abi</var><dt><code>--with-fpu=</code><var>type</var><dt><code>--with-float=</code><var>type</var><dd>These configure options provide default values for the <samp><span class="option">-mschedule=</span></samp>,
+<samp><span class="option">-march=</span></samp>, <samp><span class="option">-mtune=</span></samp>, <samp><span class="option">-mabi=</span></samp>, and <samp><span class="option">-mfpu=</span></samp>
+options and for <samp><span class="option">-mhard-float</span></samp> or <samp><span class="option">-msoft-float</span></samp>. As with
+<samp><span class="option">--with-cpu</span></samp>, which switches will be accepted and acceptable values
of the arguments depend on the target.
-</p>
-</dd>
-<dt><code>--with-mode=<var>mode</var></code></dt>
-<dd><p>Specify if the compiler should default to <samp>-marm</samp> or <samp>-mthumb</samp>.
+
+ <br><dt><code>--with-mode=</code><var>mode</var><dd>Specify if the compiler should default to <samp><span class="option">-marm</span></samp> or <samp><span class="option">-mthumb</span></samp>.
This option is only supported on ARM targets.
-</p>
-</dd>
-<dt><code>--with-stack-offset=<var>num</var></code></dt>
-<dd><p>This option sets the default for the -mstack-offset=<var>num</var> option,
+
+ <br><dt><code>--with-stack-offset=</code><var>num</var><dd>This option sets the default for the -mstack-offset=<var>num</var> option,
and will thus generally also control the setting of this option for
libraries. This option is only supported on Epiphany targets.
-</p>
-</dd>
-<dt><code>--with-fpmath=<var>isa</var></code></dt>
-<dd><p>This options sets <samp>-mfpmath=sse</samp> by default and specifies the default
-ISA for floating-point arithmetics. You can select either &lsquo;<samp>sse</samp>&rsquo; which
-enables <samp>-msse2</samp> or &lsquo;<samp>avx</samp>&rsquo; which enables <samp>-mavx</samp> by default.
+
+ <br><dt><code>--with-fpmath=</code><var>isa</var><dd>This options sets <samp><span class="option">-mfpmath=sse</span></samp> by default and specifies the default
+ISA for floating-point arithmetics. You can select either &lsquo;<samp><span class="samp">sse</span></samp>&rsquo; which
+enables <samp><span class="option">-msse2</span></samp> or &lsquo;<samp><span class="samp">avx</span></samp>&rsquo; which enables <samp><span class="option">-mavx</span></samp> by default.
This option is only supported on i386 and x86-64 targets.
-</p>
-</dd>
-<dt><code>--with-fp-32=<var>mode</var></code></dt>
-<dd><p>On MIPS targets, set the default value for the <samp>-mfp</samp> option when using
+
+ <br><dt><code>--with-fp-32=</code><var>mode</var><dd>On MIPS targets, set the default value for the <samp><span class="option">-mfp</span></samp> option when using
the o32 ABI. The possibilities for <var>mode</var> are:
-</p><dl compact="compact">
-<dt><code>32</code></dt>
-<dd><p>Use the o32 FP32 ABI extension, as with the <samp>-mfp32</samp> command-line
-option.
-</p></dd>
-<dt><code>xx</code></dt>
-<dd><p>Use the o32 FPXX ABI extension, as with the <samp>-mfpxx</samp> command-line
-option.
-</p></dd>
-<dt><code>64</code></dt>
-<dd><p>Use the o32 FP64 ABI extension, as with the <samp>-mfp64</samp> command-line
-option.
-</p></dd>
+ <dl>
+<dt><code>32</code><dd>Use the o32 FP32 ABI extension, as with the <samp><span class="option">-mfp32</span></samp> command-line
+option.
+<br><dt><code>xx</code><dd>Use the o32 FPXX ABI extension, as with the <samp><span class="option">-mfpxx</span></samp> command-line
+option.
+<br><dt><code>64</code><dd>Use the o32 FP64 ABI extension, as with the <samp><span class="option">-mfp64</span></samp> command-line
+option.
</dl>
-<p>In the absence of this configuration option the default is to use the o32
+ In the absence of this configuration option the default is to use the o32
FP32 ABI extension.
-</p>
-</dd>
-<dt><code>--with-odd-spreg-32</code></dt>
-<dd><p>On MIPS targets, set the <samp>-modd-spreg</samp> option by default when using
+
+ <br><dt><code>--with-odd-spreg-32</code><dd>On MIPS targets, set the <samp><span class="option">-modd-spreg</span></samp> option by default when using
the o32 ABI.
-</p>
-</dd>
-<dt><code>--without-odd-spreg-32</code></dt>
-<dd><p>On MIPS targets, set the <samp>-mno-odd-spreg</samp> option by default when using
+
+ <br><dt><code>--without-odd-spreg-32</code><dd>On MIPS targets, set the <samp><span class="option">-mno-odd-spreg</span></samp> option by default when using
the o32 ABI. This is normally used in conjunction with
-<samp>--with-fp-32=64</samp> in order to target the o32 FP64A ABI extension.
-</p>
-</dd>
-<dt><code>--with-nan=<var>encoding</var></code></dt>
-<dd><p>On MIPS targets, set the default encoding convention to use for the
+<samp><span class="option">--with-fp-32=64</span></samp> in order to target the o32 FP64A ABI extension.
+
+ <br><dt><code>--with-nan=</code><var>encoding</var><dd>On MIPS targets, set the default encoding convention to use for the
special not-a-number (NaN) IEEE 754 floating-point data. The
possibilities for <var>encoding</var> are:
-</p><dl compact="compact">
-<dt><code>legacy</code></dt>
-<dd><p>Use the legacy encoding, as with the <samp>-mnan=legacy</samp> command-line
-option.
-</p></dd>
-<dt><code>2008</code></dt>
-<dd><p>Use the 754-2008 encoding, as with the <samp>-mnan=2008</samp> command-line
-option.
-</p></dd>
+ <dl>
+<dt><code>legacy</code><dd>Use the legacy encoding, as with the <samp><span class="option">-mnan=legacy</span></samp> command-line
+option.
+<br><dt><code>2008</code><dd>Use the 754-2008 encoding, as with the <samp><span class="option">-mnan=2008</span></samp> command-line
+option.
</dl>
-<p>To use this configuration option you must have an assembler version
-installed that supports the <samp>-mnan=</samp> command-line option too.
+ To use this configuration option you must have an assembler version
+installed that supports the <samp><span class="option">-mnan=</span></samp> command-line option too.
In the absence of this configuration option the default convention is
-the legacy encoding, as when neither of the <samp>-mnan=2008</samp> and
-<samp>-mnan=legacy</samp> command-line options has been used.
-</p>
-</dd>
-<dt><code>--with-divide=<var>type</var></code></dt>
-<dd><p>Specify how the compiler should generate code for checking for
-division by zero. This option is only supported on the MIPS target.
+the legacy encoding, as when neither of the <samp><span class="option">-mnan=2008</span></samp> and
+<samp><span class="option">-mnan=legacy</span></samp> command-line options has been used.
+
+ <br><dt><code>--with-divide=</code><var>type</var><dd>Specify how the compiler should generate code for checking for
+division by zero. This option is only supported on the MIPS target.
The possibilities for <var>type</var> are:
-</p><dl compact="compact">
-<dt><code>traps</code></dt>
-<dd><p>Division by zero checks use conditional traps (this is the default on
-systems that support conditional traps).
-</p></dd>
-<dt><code>breaks</code></dt>
-<dd><p>Division by zero checks use the break instruction.
-</p></dd>
+ <dl>
+<dt><code>traps</code><dd>Division by zero checks use conditional traps (this is the default on
+systems that support conditional traps).
+<br><dt><code>breaks</code><dd>Division by zero checks use the break instruction.
</dl>
-
-</dd>
-<dt><code>--with-llsc</code></dt>
-<dd><p>On MIPS targets, make <samp>-mllsc</samp> the default when no
-<samp>-mno-llsc</samp> option is passed. This is the default for
+ <!-- If you make -with-llsc the default for additional targets, -->
+ <!-- update the -with-llsc description in the MIPS section below. -->
+ <br><dt><code>--with-llsc</code><dd>On MIPS targets, make <samp><span class="option">-mllsc</span></samp> the default when no
+<samp><span class="option">-mno-llsc</span></samp> option is passed. This is the default for
Linux-based targets, as the kernel will emulate them if the ISA does
not provide them.
-</p>
-</dd>
-<dt><code>--without-llsc</code></dt>
-<dd><p>On MIPS targets, make <samp>-mno-llsc</samp> the default when no
-<samp>-mllsc</samp> option is passed.
-</p>
-</dd>
-<dt><code>--with-synci</code></dt>
-<dd><p>On MIPS targets, make <samp>-msynci</samp> the default when no
-<samp>-mno-synci</samp> option is passed.
-</p>
-</dd>
-<dt><code>--without-synci</code></dt>
-<dd><p>On MIPS targets, make <samp>-mno-synci</samp> the default when no
-<samp>-msynci</samp> option is passed. This is the default.
-</p>
-</dd>
-<dt><code>--with-mips-plt</code></dt>
-<dd><p>On MIPS targets, make use of copy relocations and PLTs.
+
+ <br><dt><code>--without-llsc</code><dd>On MIPS targets, make <samp><span class="option">-mno-llsc</span></samp> the default when no
+<samp><span class="option">-mllsc</span></samp> option is passed.
+
+ <br><dt><code>--with-synci</code><dd>On MIPS targets, make <samp><span class="option">-msynci</span></samp> the default when no
+<samp><span class="option">-mno-synci</span></samp> option is passed.
+
+ <br><dt><code>--without-synci</code><dd>On MIPS targets, make <samp><span class="option">-mno-synci</span></samp> the default when no
+<samp><span class="option">-msynci</span></samp> option is passed. This is the default.
+
+ <br><dt><code>--with-mips-plt</code><dd>On MIPS targets, make use of copy relocations and PLTs.
These features are extensions to the traditional
SVR4-based MIPS ABIs and require support from GNU binutils
and the runtime C library.
-</p>
-</dd>
-<dt><code>--enable-__cxa_atexit</code></dt>
-<dd><p>Define if you want to use __cxa_atexit, rather than atexit, to
-register C++ destructors for local statics and global objects.
+
+ <br><dt><code>--enable-__cxa_atexit</code><dd>Define if you want to use __cxa_atexit, rather than atexit, to
+register C++ destructors for local statics and global objects.
This is essential for fully standards-compliant handling of
destructors, but requires __cxa_atexit in libc. This option is currently
only available on systems with GNU libc. When enabled, this will cause
-<samp>-fuse-cxa-atexit</samp> to be passed by default.
-</p>
-</dd>
-<dt><code>--enable-gnu-indirect-function</code></dt>
-<dd><p>Define if you want to enable the <code>ifunc</code> attribute. This option is
+<samp><span class="option">-fuse-cxa-atexit</span></samp> to be passed by default.
+
+ <br><dt><code>--enable-gnu-indirect-function</code><dd>Define if you want to enable the <code>ifunc</code> attribute. This option is
currently only available on systems with GNU libc on certain targets.
-</p>
-</dd>
-<dt><code>--enable-target-optspace</code></dt>
-<dd><p>Specify that target
-libraries should be optimized for code space instead of code speed.
+
+ <br><dt><code>--enable-target-optspace</code><dd>Specify that target
+libraries should be optimized for code space instead of code speed.
This is the default for the m32r platform.
-</p>
-</dd>
-<dt><code>--with-cpp-install-dir=<var>dirname</var></code></dt>
-<dd><p>Specify that the user visible <code>cpp</code> program should be installed
-in <samp><var>prefix</var>/<var>dirname</var>/cpp</samp>, in addition to <var>bindir</var>.
-</p>
-</dd>
-<dt><code>--enable-comdat</code></dt>
-<dd><p>Enable COMDAT group support. This is primarily used to override the
+
+ <br><dt><code>--with-cpp-install-dir=</code><var>dirname</var><dd>Specify that the user visible <samp><span class="command">cpp</span></samp> program should be installed
+in <samp><var>prefix</var><span class="file">/</span><var>dirname</var><span class="file">/cpp</span></samp>, in addition to <var>bindir</var>.
+
+ <br><dt><code>--enable-comdat</code><dd>Enable COMDAT group support. This is primarily used to override the
automatically detected value.
-</p>
-</dd>
-<dt><code>--enable-initfini-array</code></dt>
-<dd><p>Force the use of sections <code>.init_array</code> and <code>.fini_array</code>
+
+ <br><dt><code>--enable-initfini-array</code><dd>Force the use of sections <code>.init_array</code> and <code>.fini_array</code>
(instead of <code>.init</code> and <code>.fini</code>) for constructors and
-destructors. Option <samp>--disable-initfini-array</samp> has the
+destructors. Option <samp><span class="option">--disable-initfini-array</span></samp> has the
opposite effect. If neither option is specified, the configure script
will try to guess whether the <code>.init_array</code> and
<code>.fini_array</code> sections are supported and, if they are, use them.
-</p>
-</dd>
-<dt><code>--enable-link-mutex</code></dt>
-<dd><p>When building GCC, use a mutex to avoid linking the compilers for
+
+ <br><dt><code>--enable-link-mutex</code><dd>When building GCC, use a mutex to avoid linking the compilers for
multiple languages at the same time, to avoid thrashing on build
systems with limited free memory. The default is not to use such a mutex.
-</p>
-</dd>
-<dt><code>--enable-maintainer-mode</code></dt>
-<dd><p>The build rules that regenerate the Autoconf and Automake output files as
-well as the GCC master message catalog <samp>gcc.pot</samp> are normally
+
+ <br><dt><code>--enable-maintainer-mode</code><dd>The build rules that regenerate the Autoconf and Automake output files as
+well as the GCC master message catalog <samp><span class="file">gcc.pot</span></samp> are normally
disabled. This is because it can only be rebuilt if the complete source
tree is present. If you have changed the sources and want to rebuild the
-catalog, configuring with <samp>--enable-maintainer-mode</samp> will enable
+catalog, configuring with <samp><span class="option">--enable-maintainer-mode</span></samp> will enable
this. Note that you need a recent version of the <code>gettext</code> tools
to do so.
-</p>
-</dd>
-<dt><code>--disable-bootstrap</code></dt>
-<dd><p>For a native build, the default configuration is to perform
-a 3-stage bootstrap of the compiler when &lsquo;<samp>make</samp>&rsquo; is invoked,
+
+ <br><dt><code>--disable-bootstrap</code><dd>For a native build, the default configuration is to perform
+a 3-stage bootstrap of the compiler when &lsquo;<samp><span class="samp">make</span></samp>&rsquo; is invoked,
testing that GCC can compile itself correctly. If you want to disable
-this process, you can configure with <samp>--disable-bootstrap</samp>.
-</p>
-</dd>
-<dt><code>--enable-bootstrap</code></dt>
-<dd><p>In special cases, you may want to perform a 3-stage build
-even if the target and host triplets are different.
+this process, you can configure with <samp><span class="option">--disable-bootstrap</span></samp>.
+
+ <br><dt><code>--enable-bootstrap</code><dd>In special cases, you may want to perform a 3-stage build
+even if the target and host triplets are different.
This is possible when the host can run code compiled for
-the target (e.g. host is i686-linux, target is i486-linux).
+the target (e.g. host is i686-linux, target is i486-linux).
Starting from GCC 4.2, to do this you have to configure explicitly
-with <samp>--enable-bootstrap</samp>.
-</p>
-</dd>
-<dt><code>--enable-generated-files-in-srcdir</code></dt>
-<dd><p>Neither the .c and .h files that are generated from Bison and flex nor the
+with <samp><span class="option">--enable-bootstrap</span></samp>.
+
+ <br><dt><code>--enable-generated-files-in-srcdir</code><dd>Neither the .c and .h files that are generated from Bison and flex nor the
info manuals and man pages that are built from the .texi files are present
in the SVN development tree. When building GCC from that development tree,
or from one of our snapshots, those generated files are placed in your
build directory, which allows for the source to be in a readonly
directory.
-</p>
-<p>If you configure with <samp>--enable-generated-files-in-srcdir</samp> then those
+
+ <p>If you configure with <samp><span class="option">--enable-generated-files-in-srcdir</span></samp> then those
generated files will go into the source directory. This is mainly intended
for generating release or prerelease tarballs of the GCC sources, since it
is not a requirement that the users of source releases to have flex, Bison,
or makeinfo.
-</p>
-</dd>
-<dt><code>--enable-version-specific-runtime-libs</code></dt>
-<dd><p>Specify
+
+ <br><dt><code>--enable-version-specific-runtime-libs</code><dd>Specify
that runtime libraries should be installed in the compiler specific
-subdirectory (<samp><var>libdir</var>/gcc</samp>) rather than the usual places. In
-addition, &lsquo;<samp>libstdc++</samp>&rsquo;&rsquo;s include files will be installed into
+subdirectory (<samp><var>libdir</var><span class="file">/gcc</span></samp>) rather than the usual places. In
+addition, &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo;'s include files will be installed into
<samp><var>libdir</var></samp> unless you overruled it by using
-<samp>--with-gxx-include-dir=<var>dirname</var></samp>. Using this option is
+<samp><span class="option">--with-gxx-include-dir=</span><var>dirname</var></samp>. Using this option is
particularly useful if you intend to use several versions of GCC in
-parallel. This is currently supported by &lsquo;<samp>libgfortran</samp>&rsquo;,
-&lsquo;<samp>libjava</samp>&rsquo;, &lsquo;<samp>libstdc++</samp>&rsquo;, and &lsquo;<samp>libobjc</samp>&rsquo;.
-</p>
-</dd>
-<dt><code><a name="WithAixSoname"></a>--with-aix-soname=&lsquo;<samp>aix</samp>&rsquo;, &lsquo;<samp>svr4</samp>&rsquo; or &lsquo;<samp>both</samp>&rsquo;</code></dt>
-<dd><p>Traditional AIX shared library versioning (versioned <code>Shared Object</code>
+parallel. This is currently supported by &lsquo;<samp><span class="samp">libgfortran</span></samp>&rsquo;,
+&lsquo;<samp><span class="samp">libjava</span></samp>&rsquo;, &lsquo;<samp><span class="samp">libstdc++</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">libobjc</span></samp>&rsquo;.
+
+ <br><dt><code><a name="WithAixSoname"></a>--with-aix-soname=&lsquo;</code><samp><span class="samp">aix</span></samp><code>&rsquo;, &lsquo;</code><samp><span class="samp">svr4</span></samp><code>&rsquo; or &lsquo;</code><samp><span class="samp">both</span></samp><code>&rsquo;</code><dd>Traditional AIX shared library versioning (versioned <code>Shared Object</code>
files as members of unversioned <code>Archive Library</code> files named
-&lsquo;<samp>lib.a</samp>&rsquo;) causes numerous headaches for package managers. However,
+&lsquo;<samp><span class="samp">lib.a</span></samp>&rsquo;) causes numerous headaches for package managers. However,
<code>Import Files</code> as members of <code>Archive Library</code> files allow for
<strong>filename-based versioning</strong> of shared libraries as seen on Linux/SVR4,
-where this is called the &quot;SONAME&quot;. But as they prevent static linking,
+where this is called the "SONAME". But as they prevent static linking,
<code>Import Files</code> may be used with <code>Runtime Linking</code> only, where the
-linker does search for &lsquo;<samp>libNAME.so</samp>&rsquo; before &lsquo;<samp>libNAME.a</samp>&rsquo; library
-filenames with the &lsquo;<samp>-lNAME</samp>&rsquo; linker flag.
-</p>
-<a name="AixLdCommand"></a><p>For detailed information please refer to the AIX
-<a href="http://www-01.ibm.com/support/knowledgecenter/search/%22the%20ld%20command%2C%20also%20called%20the%20linkage%20editor%20or%20binder%22">ld
-Command</a> reference.
-</p>
-<p>As long as shared library creation is enabled, upon:
-</p><dl compact="compact">
-<dt><code>--with-aix-soname=aix</code></dt>
-<dt><code>--with-aix-soname=both</code></dt>
-<dd><p>A (traditional AIX) <code>Shared Archive Library</code> file is created:
- </p><ul>
-<li> using the &lsquo;<samp>libNAME.a</samp>&rsquo; filename scheme
- </li><li> with the <code>Shared Object</code> file as archive member named
- &lsquo;<samp>libNAME.so.V</samp>&rsquo; (except for &lsquo;<samp>libgcc_s</samp>&rsquo;, where the <code>Shared
- Object</code> file is named &lsquo;<samp>shr.o</samp>&rsquo; for backwards compatibility), which
- <ul class="no-bullet">
-<li>- is used for runtime loading from inside the &lsquo;<samp>libNAME.a</samp>&rsquo; file
- </li><li>- is used for dynamic loading via
- <code>dlopen(&quot;libNAME.a(libNAME.so.V)&quot;, RTLD_MEMBER)</code>
- </li><li>- is used for shared linking
- </li><li>- is used for static linking, so no separate <code>Static Archive
+linker does search for &lsquo;<samp><span class="samp">libNAME.so</span></samp>&rsquo; before &lsquo;<samp><span class="samp">libNAME.a</span></samp>&rsquo; library
+filenames with the &lsquo;<samp><span class="samp">-lNAME</span></samp>&rsquo; linker flag.
+
+ <p><a name="AixLdCommand"></a>For detailed information please refer to the AIX
+<a href="http://www-01.ibm.com/support/knowledgecenter/search/%22the%20ld%20command%2C%20also%20called%20the%20linkage%20editor%20or%20binder%22">ld Command</a> reference.
+
+ <p>As long as shared library creation is enabled, upon:
+ <dl>
+<dt><code>--with-aix-soname=aix</code><br><dt><code>--with-aix-soname=both</code><dd> A (traditional AIX) <code>Shared Archive Library</code> file is created:
+ <ul>
+ <li>using the &lsquo;<samp><span class="samp">libNAME.a</span></samp>&rsquo; filename scheme
+ <li>with the <code>Shared Object</code> file as archive member named
+ &lsquo;<samp><span class="samp">libNAME.so.V</span></samp>&rsquo; (except for &lsquo;<samp><span class="samp">libgcc_s</span></samp>&rsquo;, where the <code>Shared
+ Object</code> file is named &lsquo;<samp><span class="samp">shr.o</span></samp>&rsquo; for backwards compatibility), which
+ <ul>
+ <li>is used for runtime loading from inside the &lsquo;<samp><span class="samp">libNAME.a</span></samp>&rsquo; file
+ <li>is used for dynamic loading via
+ <code>dlopen("libNAME.a(libNAME.so.V)", RTLD_MEMBER)</code>
+ <li>is used for shared linking
+ <li>is used for static linking, so no separate <code>Static Archive
Library</code> file is needed
- </li></ul>
-</li></ul>
-</dd>
-<dt><code>--with-aix-soname=both</code></dt>
-<dt><code>--with-aix-soname=svr4</code></dt>
-<dd><p>A (second) <code>Shared Archive Library</code> file is created:
- </p><ul>
-<li> using the &lsquo;<samp>libNAME.so.V</samp>&rsquo; filename scheme
- </li><li> with the <code>Shared Object</code> file as archive member named
- &lsquo;<samp>shr.o</samp>&rsquo;, which
- <ul class="no-bullet">
-<li>- is created with the <code>-G linker flag</code>
- </li><li>- has the <code>F_LOADONLY</code> flag set
- </li><li>- is used for runtime loading from inside the &lsquo;<samp>libNAME.so.V</samp>&rsquo; file
- </li><li>- is used for dynamic loading via <code>dlopen(&quot;libNAME.so.V(shr.o)&quot;,
+ </ul>
+ </ul>
+ <br><dt><code>--with-aix-soname=both</code><br><dt><code>--with-aix-soname=svr4</code><dd> A (second) <code>Shared Archive Library</code> file is created:
+ <ul>
+ <li>using the &lsquo;<samp><span class="samp">libNAME.so.V</span></samp>&rsquo; filename scheme
+ <li>with the <code>Shared Object</code> file as archive member named
+ &lsquo;<samp><span class="samp">shr.o</span></samp>&rsquo;, which
+ <ul>
+ <li>is created with the <code>-G linker flag</code>
+ <li>has the <code>F_LOADONLY</code> flag set
+ <li>is used for runtime loading from inside the &lsquo;<samp><span class="samp">libNAME.so.V</span></samp>&rsquo; file
+ <li>is used for dynamic loading via <code>dlopen("libNAME.so.V(shr.o)",
RTLD_MEMBER)</code>
- </li></ul>
-</li><li> with the <code>Import File</code> as archive member named &lsquo;<samp>shr.imp</samp>&rsquo;,
+ </ul>
+ <li>with the <code>Import File</code> as archive member named &lsquo;<samp><span class="samp">shr.imp</span></samp>&rsquo;,
which
- <ul class="no-bullet">
-<li>- refers to &lsquo;<samp>libNAME.so.V(shr.o)</samp>&rsquo; as the &quot;SONAME&quot;, to be recorded
+ <ul>
+ <li>refers to &lsquo;<samp><span class="samp">libNAME.so.V(shr.o)</span></samp>&rsquo; as the "SONAME", to be recorded
in the <code>Loader Section</code> of subsequent binaries
- </li><li>- indicates whether &lsquo;<samp>libNAME.so.V(shr.o)</samp>&rsquo; is 32 or 64 bit
- </li><li>- lists all the public symbols exported by &lsquo;<samp>lib.so.V(shr.o)</samp>&rsquo;,
- eventually decorated with the <code>&lsquo;<samp>weak</samp>&rsquo; Keyword</code>
- </li><li>- is necessary for shared linking against &lsquo;<samp>lib.so.V(shr.o)</samp>&rsquo;
- </li></ul>
-</li></ul>
-<p>A symbolic link using the &lsquo;<samp>libNAME.so</samp>&rsquo; filename scheme is created:
- </p><ul>
-<li> pointing to the &lsquo;<samp>libNAME.so.V</samp>&rsquo; <code>Shared Archive Library</code> file
- </li><li> to permit the <code>ld Command</code> to find &lsquo;<samp>lib.so.V(shr.imp)</samp>&rsquo; via
- the &lsquo;<samp>-lNAME</samp>&rsquo; argument (requires <code>Runtime Linking</code> to be enabled)
- </li><li> to permit dynamic loading of &lsquo;<samp>lib.so.V(shr.o)</samp>&rsquo; without the need
- to specify the version number via <code>dlopen(&quot;libNAME.so(shr.o)&quot;,
+ <li>indicates whether &lsquo;<samp><span class="samp">libNAME.so.V(shr.o)</span></samp>&rsquo; is 32 or 64 bit
+ <li>lists all the public symbols exported by &lsquo;<samp><span class="samp">lib.so.V(shr.o)</span></samp>&rsquo;,
+ eventually decorated with the <code>&lsquo;</code><samp><span class="samp">weak</span></samp><code>&rsquo; Keyword</code>
+ <li>is necessary for shared linking against &lsquo;<samp><span class="samp">lib.so.V(shr.o)</span></samp>&rsquo;
+ </ul>
+ </ul>
+ A symbolic link using the &lsquo;<samp><span class="samp">libNAME.so</span></samp>&rsquo; filename scheme is created:
+ <ul>
+ <li>pointing to the &lsquo;<samp><span class="samp">libNAME.so.V</span></samp>&rsquo; <code>Shared Archive Library</code> file
+ <li>to permit the <code>ld Command</code> to find &lsquo;<samp><span class="samp">lib.so.V(shr.imp)</span></samp>&rsquo; via
+ the &lsquo;<samp><span class="samp">-lNAME</span></samp>&rsquo; argument (requires <code>Runtime Linking</code> to be enabled)
+ <li>to permit dynamic loading of &lsquo;<samp><span class="samp">lib.so.V(shr.o)</span></samp>&rsquo; without the need
+ to specify the version number via <code>dlopen("libNAME.so(shr.o)",
RTLD_MEMBER)</code>
- </li></ul>
-</dd>
-</dl>
-
-<p>As long as static library creation is enabled, upon:
-</p><dl compact="compact">
-<dt><code>--with-aix-soname=svr4</code></dt>
-<dd><p>A <code>Static Archive Library</code> is created:
- </p><ul>
-<li> using the &lsquo;<samp>libNAME.a</samp>&rsquo; filename scheme
- </li><li> with all the <code>Static Object</code> files as archive members, which
- <ul class="no-bullet">
-<li>- are used for static linking
- </li></ul>
-</li></ul>
-</dd>
-</dl>
-
-<p>While the aix-soname=&lsquo;<samp>svr4</samp>&rsquo; option does not create <code>Shared Object</code>
+ </ul>
+ </dl>
+
+ <p>As long as static library creation is enabled, upon:
+ <dl>
+<dt><code>--with-aix-soname=svr4</code><dd> A <code>Static Archive Library</code> is created:
+ <ul>
+ <li>using the &lsquo;<samp><span class="samp">libNAME.a</span></samp>&rsquo; filename scheme
+ <li>with all the <code>Static Object</code> files as archive members, which
+ <ul>
+ <li>are used for static linking
+ </ul>
+ </ul>
+ </dl>
+
+ <p>While the aix-soname=&lsquo;<samp><span class="samp">svr4</span></samp>&rsquo; option does not create <code>Shared Object</code>
files as members of unversioned <code>Archive Library</code> files any more, package
managers still are responsible to
<a href="./specific.html#TransferAixShobj">transfer</a> <code>Shared Object</code> files
found as member of a previously installed unversioned <code>Archive Library</code>
file into the newly installed <code>Archive Library</code> file with the same
filename.
-</p>
-<p><em>WARNING:</em> Creating <code>Shared Object</code> files with <code>Runtime Linking</code>
+
+ <p><em>WARNING:</em> Creating <code>Shared Object</code> files with <code>Runtime Linking</code>
enabled may bloat the TOC, eventually leading to <code>TOC overflow</code> errors,
-requiring the use of either the <samp>-Wl,-bbigtoc</samp> linker flag (seen to
+requiring the use of either the <samp><span class="option">-Wl,-bbigtoc</span></samp> linker flag (seen to
break with the <code>GDB</code> debugger) or some of the TOC-related compiler flags,
see &ldquo;RS/6000 and PowerPC Options&rdquo; in the main manual.
-</p>
-<p><samp>--with-aix-soname</samp> is currently supported by &lsquo;<samp>libgcc_s</samp>&rsquo; only, so
+
+ <p><samp><span class="option">--with-aix-soname</span></samp> is currently supported by &lsquo;<samp><span class="samp">libgcc_s</span></samp>&rsquo; only, so
this option is still experimental and not for normal use yet.
-</p>
-<p>Default is the traditional behavior <samp>--with-aix-soname=&lsquo;<samp>aix</samp>&rsquo;</samp>.
-</p>
-</dd>
-<dt><code>--enable-languages=<var>lang1</var>,<var>lang2</var>,&hellip;</code></dt>
-<dd><p>Specify that only a particular subset of compilers and
+
+ <p>Default is the traditional behavior <samp><span class="option">--with-aix-soname=&lsquo;</span><samp><span class="samp">aix</span></samp><span class="option">&rsquo;</span></samp>.
+
+ <br><dt><code>--enable-languages=</code><var>lang1</var><code>,</code><var>lang2</var><code>,...</code><dd>Specify that only a particular subset of compilers and
their runtime libraries should be built. For a list of valid values for
<var>langN</var> you can issue the following command in the
-<samp>gcc</samp> directory of your GCC source tree:<br>
-</p><div class="smallexample">
-<pre class="smallexample">grep ^language= */config-lang.in
-</pre></div>
-<p>Currently, you can use any of the following:
+<samp><span class="file">gcc</span></samp> directory of your GCC source tree:<br>
+ <pre class="smallexample"> grep ^language= */config-lang.in
+</pre>
+ <p>Currently, you can use any of the following:
<code>all</code>, <code>ada</code>, <code>c</code>, <code>c++</code>, <code>fortran</code>,
-<code>go</code>, <code>java</code>, <code>jit</code>, <code>lto</code>, <code>objc</code>, <code>obj-c++</code>.
-Building the Ada compiler has special requirements, see below.
+<code>go</code>, <code>java</code>, <code>jit</code>, <code>lto</code>, <code>objc</code>, <code>obj-c++</code>.
+Building the Ada compiler has special requirements, see below.
If you do not pass this flag, or specify the option <code>all</code>, then all
-default languages available in the <samp>gcc</samp> sub-tree will be configured.
+default languages available in the <samp><span class="file">gcc</span></samp> sub-tree will be configured.
Ada, Go, Jit, and Objective-C++ are not default languages. LTO is not a
-default language, but is built by default because <samp>--enable-lto</samp> is
+default language, but is built by default because <samp><span class="option">--enable-lto</span></samp> is
enabled by default. The other languages are default languages.
-</p>
-</dd>
-<dt><code>--enable-stage1-languages=<var>lang1</var>,<var>lang2</var>,&hellip;</code></dt>
-<dd><p>Specify that a particular subset of compilers and their runtime
+
+ <br><dt><code>--enable-stage1-languages=</code><var>lang1</var><code>,</code><var>lang2</var><code>,...</code><dd>Specify that a particular subset of compilers and their runtime
libraries should be built with the system C compiler during stage 1 of
the bootstrap process, rather than only in later stages with the
bootstrapped C compiler. The list of valid values is the same as for
-<samp>--enable-languages</samp>, and the option <code>all</code> will select all
-of the languages enabled by <samp>--enable-languages</samp>. This option is
+<samp><span class="option">--enable-languages</span></samp>, and the option <code>all</code> will select all
+of the languages enabled by <samp><span class="option">--enable-languages</span></samp>. This option is
primarily useful for GCC development; for instance, when a development
version of the compiler cannot bootstrap due to compiler bugs, or when
one is debugging front ends other than the C front end. When this
option is used, one can then build the target libraries for the
-specified languages with the stage-1 compiler by using <code>make
-stage1-bubble all-target</code>, or run the testsuite on the stage-1 compiler
-for the specified languages using <code>make stage1-start check-gcc</code>.
-</p>
-</dd>
-<dt><code>--disable-libada</code></dt>
-<dd><p>Specify that the run-time libraries and tools used by GNAT should not
+specified languages with the stage-1 compiler by using <samp><span class="command">make
+stage1-bubble all-target</span></samp>, or run the testsuite on the stage-1 compiler
+for the specified languages using <samp><span class="command">make stage1-start check-gcc</span></samp>.
+
+ <br><dt><code>--disable-libada</code><dd>Specify that the run-time libraries and tools used by GNAT should not
be built. This can be useful for debugging, or for compatibility with
previous Ada build procedures, when it was required to explicitly
-do a &lsquo;<samp>make -C gcc gnatlib_and_tools</samp>&rsquo;.
-</p>
-</dd>
-<dt><code>--disable-libsanitizer</code></dt>
-<dd><p>Specify that the run-time libraries for the various sanitizers should
+do a &lsquo;<samp><span class="samp">make -C gcc gnatlib_and_tools</span></samp>&rsquo;.
+
+ <br><dt><code>--disable-libsanitizer</code><dd>Specify that the run-time libraries for the various sanitizers should
not be built.
-</p>
-</dd>
-<dt><code>--disable-libssp</code></dt>
-<dd><p>Specify that the run-time libraries for stack smashing protection
+
+ <br><dt><code>--disable-libssp</code><dd>Specify that the run-time libraries for stack smashing protection
should not be built.
-</p>
-</dd>
-<dt><code>--disable-libquadmath</code></dt>
-<dd><p>Specify that the GCC quad-precision math library should not be built.
+
+ <br><dt><code>--disable-libquadmath</code><dd>Specify that the GCC quad-precision math library should not be built.
On some systems, the library is required to be linkable when building
-the Fortran front end, unless <samp>--disable-libquadmath-support</samp>
+the Fortran front end, unless <samp><span class="option">--disable-libquadmath-support</span></samp>
is used.
-</p>
-</dd>
-<dt><code>--disable-libquadmath-support</code></dt>
-<dd><p>Specify that the Fortran front end and <code>libgfortran</code> do not add
+
+ <br><dt><code>--disable-libquadmath-support</code><dd>Specify that the Fortran front end and <code>libgfortran</code> do not add
support for <code>libquadmath</code> on systems supporting it.
-</p>
-</dd>
-<dt><code>--disable-libgomp</code></dt>
-<dd><p>Specify that the GNU Offloading and Multi Processing Runtime Library
+
+ <br><dt><code>--disable-libgomp</code><dd>Specify that the GNU Offloading and Multi Processing Runtime Library
should not be built.
-</p>
-</dd>
-<dt><code>--disable-libvtv</code></dt>
-<dd><p>Specify that the run-time libraries used by vtable verification
+
+ <br><dt><code>--disable-libvtv</code><dd>Specify that the run-time libraries used by vtable verification
should not be built.
-</p>
-</dd>
-<dt><code>--with-dwarf2</code></dt>
-<dd><p>Specify that the compiler should
+
+ <br><dt><code>--with-dwarf2</code><dd>Specify that the compiler should
use DWARF 2 debugging information as the default.
-</p>
-</dd>
-<dt><code>--with-advance-toolchain=<var>at</var></code></dt>
-<dd><p>On 64-bit PowerPC Linux systems, configure the compiler to use the
+
+ <br><dt><code>--with-advance-toolchain=</code><var>at</var><dd>On 64-bit PowerPC Linux systems, configure the compiler to use the
header files, library files, and the dynamic linker from the Advance
Toolchain release <var>at</var> instead of the default versions that are
provided by the Linux distribution. In general, this option is
intended for the developers of GCC, and it is not intended for general
use.
-</p>
-</dd>
-<dt><code>--enable-targets=all</code></dt>
-<dt><code>--enable-targets=<var>target_list</var></code></dt>
-<dd><p>Some GCC targets, e.g. powerpc64-linux, build bi-arch compilers.
+
+ <br><dt><code>--enable-targets=all</code><dt><code>--enable-targets=</code><var>target_list</var><dd>Some GCC targets, e.g. powerpc64-linux, build bi-arch compilers.
These are compilers that are able to generate either 64-bit or 32-bit
-code. Typically, the corresponding 32-bit target, e.g.
+code. Typically, the corresponding 32-bit target, e.g.
powerpc-linux for powerpc64-linux, only generates 32-bit code. This
option enables the 32-bit target to be a bi-arch compiler, which is
useful when you want a bi-arch compiler that defaults to 32-bit, and
-you are building a bi-arch or multi-arch binutils in a combined tree.
+you are building a bi-arch or multi-arch binutils in a combined tree.
On mips-linux, this will build a tri-arch compiler (ABI o32/n32/64),
-defaulted to o32.
+defaulted to o32.
Currently, this option only affects sparc-linux, powerpc-linux, x86-linux,
mips-linux and s390-linux.
-</p>
-</dd>
-<dt><code>--enable-default-pie</code></dt>
-<dd><p>Turn on <samp>-fPIE</samp> and <samp>-pie</samp> by default.
-</p>
-</dd>
-<dt><code>--enable-secureplt</code></dt>
-<dd><p>This option enables <samp>-msecure-plt</samp> by default for powerpc-linux.
+
+ <br><dt><code>--enable-default-pie</code><dd>Turn on <samp><span class="option">-fPIE</span></samp> and <samp><span class="option">-pie</span></samp> by default.
+
+ <br><dt><code>--enable-secureplt</code><dd>This option enables <samp><span class="option">-msecure-plt</span></samp> by default for powerpc-linux.
See &ldquo;RS/6000 and PowerPC Options&rdquo; in the main manual
-</p>
-</dd>
-<dt><code>--enable-default-ssp</code></dt>
-<dd><p>Turn on <samp>-fstack-protector-strong</samp> by default.
-</p>
-</dd>
-<dt><code>--enable-cld</code></dt>
-<dd><p>This option enables <samp>-mcld</samp> by default for 32-bit x86 targets.
+
+ <br><dt><code>--enable-default-ssp</code><dd>Turn on <samp><span class="option">-fstack-protector-strong</span></samp> by default.
+
+ <br><dt><code>--enable-cld</code><dd>This option enables <samp><span class="option">-mcld</span></samp> by default for 32-bit x86 targets.
See &ldquo;i386 and x86-64 Options&rdquo; in the main manual
-</p>
-</dd>
-<dt><code>--enable-win32-registry</code></dt>
-<dt><code>--enable-win32-registry=<var>key</var></code></dt>
-<dt><code>--disable-win32-registry</code></dt>
-<dd><p>The <samp>--enable-win32-registry</samp> option enables Microsoft Windows-hosted GCC
+
+ <br><dt><code>--enable-win32-registry</code><dt><code>--enable-win32-registry=</code><var>key</var><dt><code>--disable-win32-registry</code><dd>The <samp><span class="option">--enable-win32-registry</span></samp> option enables Microsoft Windows-hosted GCC
to look up installations paths in the registry using the following key:
-</p>
-<div class="smallexample">
-<pre class="smallexample"><code>HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\<var>key</var></code>
-</pre></div>
-<p><var>key</var> defaults to GCC version number, and can be overridden by the
-<samp>--enable-win32-registry=<var>key</var></samp> option. Vendors and distributors
+ <pre class="smallexample"> <code>HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation\</code><var>key</var>
+</pre>
+ <p><var>key</var> defaults to GCC version number, and can be overridden by the
+<samp><span class="option">--enable-win32-registry=</span><var>key</var></samp> option. Vendors and distributors
who use custom installers are encouraged to provide a different key,
perhaps one comprised of vendor name and GCC version number, to
avoid conflict with existing installations. This feature is enabled
-by default, and can be disabled by <samp>--disable-win32-registry</samp>
+by default, and can be disabled by <samp><span class="option">--disable-win32-registry</span></samp>
option. This option has no effect on the other hosts.
-</p>
-</dd>
-<dt><code>--nfp</code></dt>
-<dd><p>Specify that the machine does not have a floating point unit. This
-option only applies to &lsquo;<samp>m68k-sun-sunos<var>n</var></samp>&rsquo;. On any other
-system, <samp>--nfp</samp> has no effect.
-</p>
-</dd>
-<dt><code>--enable-werror</code></dt>
-<dt><code>--disable-werror</code></dt>
-<dt><code>--enable-werror=yes</code></dt>
-<dt><code>--enable-werror=no</code></dt>
-<dd><p>When you specify this option, it controls whether certain files in the
-compiler are built with <samp>-Werror</samp> in bootstrap stage2 and later.
-If you don&rsquo;t specify it, <samp>-Werror</samp> is turned on for the main
+
+ <br><dt><code>--nfp</code><dd>Specify that the machine does not have a floating point unit. This
+option only applies to &lsquo;<samp><span class="samp">m68k-sun-sunos</span><var>n</var></samp>&rsquo;. On any other
+system, <samp><span class="option">--nfp</span></samp> has no effect.
+
+ <br><dt><code>--enable-werror</code><dt><code>--disable-werror</code><dt><code>--enable-werror=yes</code><dt><code>--enable-werror=no</code><dd>When you specify this option, it controls whether certain files in the
+compiler are built with <samp><span class="option">-Werror</span></samp> in bootstrap stage2 and later.
+If you don't specify it, <samp><span class="option">-Werror</span></samp> is turned on for the main
development trunk. However it defaults to off for release branches and
-final releases. The specific files which get <samp>-Werror</samp> are
+final releases. The specific files which get <samp><span class="option">-Werror</span></samp> are
controlled by the Makefiles.
-</p>
-</dd>
-<dt><code>--enable-checking</code></dt>
-<dt><code>--enable-checking=<var>list</var></code></dt>
-<dd><p>When you specify this option, the compiler is built to perform internal
+
+ <br><dt><code>--enable-checking</code><dt><code>--enable-checking=</code><var>list</var><dd>When you specify this option, the compiler is built to perform internal
consistency checks of the requested complexity. This does not change the
generated code, but adds error checking within the compiler. This will
slow down the compiler and may only work properly if you are building
-the compiler with GCC. This is &lsquo;<samp>yes</samp>&rsquo; by default when building
-from SVN or snapshots, but &lsquo;<samp>release</samp>&rsquo; for releases. The default
-for building the stage1 compiler is &lsquo;<samp>yes</samp>&rsquo;. More control
+the compiler with GCC. This is &lsquo;<samp><span class="samp">yes</span></samp>&rsquo; by default when building
+from SVN or snapshots, but &lsquo;<samp><span class="samp">release</span></samp>&rsquo; for releases. The default
+for building the stage1 compiler is &lsquo;<samp><span class="samp">yes</span></samp>&rsquo;. More control
over the checks may be had by specifying <var>list</var>. The categories of
-checks available are &lsquo;<samp>yes</samp>&rsquo; (most common checks
-&lsquo;<samp>assert,misc,tree,gc,rtlflag,runtime</samp>&rsquo;), &lsquo;<samp>no</samp>&rsquo; (no checks at
-all), &lsquo;<samp>all</samp>&rsquo; (all but &lsquo;<samp>valgrind</samp>&rsquo;), &lsquo;<samp>release</samp>&rsquo; (cheapest
-checks &lsquo;<samp>assert,runtime</samp>&rsquo;) or &lsquo;<samp>none</samp>&rsquo; (same as &lsquo;<samp>no</samp>&rsquo;).
-Individual checks can be enabled with these flags &lsquo;<samp>assert</samp>&rsquo;,
-&lsquo;<samp>df</samp>&rsquo;, &lsquo;<samp>fold</samp>&rsquo;, &lsquo;<samp>gc</samp>&rsquo;, &lsquo;<samp>gcac</samp>&rsquo; &lsquo;<samp>misc</samp>&rsquo;, &lsquo;<samp>rtl</samp>&rsquo;,
-&lsquo;<samp>rtlflag</samp>&rsquo;, &lsquo;<samp>runtime</samp>&rsquo;, &lsquo;<samp>tree</samp>&rsquo;, and &lsquo;<samp>valgrind</samp>&rsquo;.
-</p>
-<p>The &lsquo;<samp>valgrind</samp>&rsquo; check requires the external <code>valgrind</code>
+checks available are &lsquo;<samp><span class="samp">yes</span></samp>&rsquo; (most common checks
+&lsquo;<samp><span class="samp">assert,misc,tree,gc,rtlflag,runtime</span></samp>&rsquo;), &lsquo;<samp><span class="samp">no</span></samp>&rsquo; (no checks at
+all), &lsquo;<samp><span class="samp">all</span></samp>&rsquo; (all but &lsquo;<samp><span class="samp">valgrind</span></samp>&rsquo;), &lsquo;<samp><span class="samp">release</span></samp>&rsquo; (cheapest
+checks &lsquo;<samp><span class="samp">assert,runtime</span></samp>&rsquo;) or &lsquo;<samp><span class="samp">none</span></samp>&rsquo; (same as &lsquo;<samp><span class="samp">no</span></samp>&rsquo;).
+Individual checks can be enabled with these flags &lsquo;<samp><span class="samp">assert</span></samp>&rsquo;,
+&lsquo;<samp><span class="samp">df</span></samp>&rsquo;, &lsquo;<samp><span class="samp">fold</span></samp>&rsquo;, &lsquo;<samp><span class="samp">gc</span></samp>&rsquo;, &lsquo;<samp><span class="samp">gcac</span></samp>&rsquo; &lsquo;<samp><span class="samp">misc</span></samp>&rsquo;, &lsquo;<samp><span class="samp">rtl</span></samp>&rsquo;,
+&lsquo;<samp><span class="samp">rtlflag</span></samp>&rsquo;, &lsquo;<samp><span class="samp">runtime</span></samp>&rsquo;, &lsquo;<samp><span class="samp">tree</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">valgrind</span></samp>&rsquo;.
+
+ <p>The &lsquo;<samp><span class="samp">valgrind</span></samp>&rsquo; check requires the external <samp><span class="command">valgrind</span></samp>
simulator, available from <a href="http://valgrind.org/">http://valgrind.org/</a>. The
-&lsquo;<samp>df</samp>&rsquo;, &lsquo;<samp>rtl</samp>&rsquo;, &lsquo;<samp>gcac</samp>&rsquo; and &lsquo;<samp>valgrind</samp>&rsquo; checks are very expensive.
-To disable all checking, &lsquo;<samp>--disable-checking</samp>&rsquo; or
-&lsquo;<samp>--enable-checking=none</samp>&rsquo; must be explicitly requested. Disabling
+&lsquo;<samp><span class="samp">df</span></samp>&rsquo;, &lsquo;<samp><span class="samp">rtl</span></samp>&rsquo;, &lsquo;<samp><span class="samp">gcac</span></samp>&rsquo; and &lsquo;<samp><span class="samp">valgrind</span></samp>&rsquo; checks are very expensive.
+To disable all checking, &lsquo;<samp><span class="samp">--disable-checking</span></samp>&rsquo; or
+&lsquo;<samp><span class="samp">--enable-checking=none</span></samp>&rsquo; must be explicitly requested. Disabling
assertions will make the compiler and runtime slightly faster but
increase the risk of undetected internal errors causing wrong code to be
generated.
-</p>
-</dd>
-<dt><code>--disable-stage1-checking</code></dt>
-<dt><code>--enable-stage1-checking</code></dt>
-<dt><code>--enable-stage1-checking=<var>list</var></code></dt>
-<dd><p>If no <samp>--enable-checking</samp> option is specified the stage1
-compiler will be built with &lsquo;<samp>yes</samp>&rsquo; checking enabled, otherwise
+
+ <br><dt><code>--disable-stage1-checking</code><dt><code>--enable-stage1-checking</code><dt><code>--enable-stage1-checking=</code><var>list</var><dd>If no <samp><span class="option">--enable-checking</span></samp> option is specified the stage1
+compiler will be built with &lsquo;<samp><span class="samp">yes</span></samp>&rsquo; checking enabled, otherwise
the stage1 checking flags are the same as specified by
-<samp>--enable-checking</samp>. To build the stage1 compiler with
-different checking options use <samp>--enable-stage1-checking</samp>.
-The list of checking options is the same as for <samp>--enable-checking</samp>.
+<samp><span class="option">--enable-checking</span></samp>. To build the stage1 compiler with
+different checking options use <samp><span class="option">--enable-stage1-checking</span></samp>.
+The list of checking options is the same as for <samp><span class="option">--enable-checking</span></samp>.
If your system is too slow or too small to bootstrap a released compiler
-with checking for stage1 enabled, you can use &lsquo;<samp>--disable-stage1-checking</samp>&rsquo;
+with checking for stage1 enabled, you can use &lsquo;<samp><span class="samp">--disable-stage1-checking</span></samp>&rsquo;
to disable checking for the stage1 compiler.
-</p>
-</dd>
-<dt><code>--enable-coverage</code></dt>
-<dt><code>--enable-coverage=<var>level</var></code></dt>
-<dd><p>With this option, the compiler is built to collect self coverage
+
+ <br><dt><code>--enable-coverage</code><dt><code>--enable-coverage=</code><var>level</var><dd>With this option, the compiler is built to collect self coverage
information, every time it is run. This is for internal development
purposes, and only works when the compiler is being built with gcc. The
<var>level</var> argument controls whether the compiler is built optimized or
-not, values are &lsquo;<samp>opt</samp>&rsquo; and &lsquo;<samp>noopt</samp>&rsquo;. For coverage analysis you
+not, values are &lsquo;<samp><span class="samp">opt</span></samp>&rsquo; and &lsquo;<samp><span class="samp">noopt</span></samp>&rsquo;. For coverage analysis you
want to disable optimization, for performance analysis you want to
enable optimization. When coverage is enabled, the default level is
without optimization.
-</p>
-</dd>
-<dt><code>--enable-gather-detailed-mem-stats</code></dt>
-<dd><p>When this option is specified more detailed information on memory
+
+ <br><dt><code>--enable-gather-detailed-mem-stats</code><dd>When this option is specified more detailed information on memory
allocation is gathered. This information is printed when using
-<samp>-fmem-report</samp>.
-</p>
-</dd>
-<dt><code>--enable-valgrind-annotations</code></dt>
-<dd><p>Mark selected memory related operations in the compiler when run under
+<samp><span class="option">-fmem-report</span></samp>.
+
+ <br><dt><code>--enable-valgrind-annotations</code><dd>Mark selected memory related operations in the compiler when run under
valgrind to suppress false positives.
-</p>
-</dd>
-<dt><code>--enable-nls</code></dt>
-<dt><code>--disable-nls</code></dt>
-<dd><p>The <samp>--enable-nls</samp> option enables Native Language Support (NLS),
+
+ <br><dt><code>--enable-nls</code><dt><code>--disable-nls</code><dd>The <samp><span class="option">--enable-nls</span></samp> option enables Native Language Support (NLS),
which lets GCC output diagnostics in languages other than American
English. Native Language Support is enabled by default if not doing a
-canadian cross build. The <samp>--disable-nls</samp> option disables NLS.
-</p>
-</dd>
-<dt><code>--with-included-gettext</code></dt>
-<dd><p>If NLS is enabled, the <samp>--with-included-gettext</samp> option causes the build
-procedure to prefer its copy of GNU <code>gettext</code>.
-</p>
-</dd>
-<dt><code>--with-catgets</code></dt>
-<dd><p>If NLS is enabled, and if the host lacks <code>gettext</code> but has the
+canadian cross build. The <samp><span class="option">--disable-nls</span></samp> option disables NLS.
+
+ <br><dt><code>--with-included-gettext</code><dd>If NLS is enabled, the <samp><span class="option">--with-included-gettext</span></samp> option causes the build
+procedure to prefer its copy of GNU <samp><span class="command">gettext</span></samp>.
+
+ <br><dt><code>--with-catgets</code><dd>If NLS is enabled, and if the host lacks <code>gettext</code> but has the
inferior <code>catgets</code> interface, the GCC build procedure normally
-ignores <code>catgets</code> and instead uses GCC&rsquo;s copy of the GNU
-<code>gettext</code> library. The <samp>--with-catgets</samp> option causes the
-build procedure to use the host&rsquo;s <code>catgets</code> in this situation.
-</p>
-</dd>
-<dt><code>--with-libiconv-prefix=<var>dir</var></code></dt>
-<dd><p>Search for libiconv header files in <samp><var>dir</var>/include</samp> and
-libiconv library files in <samp><var>dir</var>/lib</samp>.
-</p>
-</dd>
-<dt><code>--enable-obsolete</code></dt>
-<dd><p>Enable configuration for an obsoleted system. If you attempt to
+ignores <code>catgets</code> and instead uses GCC's copy of the GNU
+<code>gettext</code> library. The <samp><span class="option">--with-catgets</span></samp> option causes the
+build procedure to use the host's <code>catgets</code> in this situation.
+
+ <br><dt><code>--with-libiconv-prefix=</code><var>dir</var><dd>Search for libiconv header files in <samp><var>dir</var><span class="file">/include</span></samp> and
+libiconv library files in <samp><var>dir</var><span class="file">/lib</span></samp>.
+
+ <br><dt><code>--enable-obsolete</code><dd>Enable configuration for an obsoleted system. If you attempt to
configure GCC for a system (build, host, or target) which has been
obsoleted, and you do not specify this flag, configure will halt with an
error message.
-</p>
-<p>All support for systems which have been obsoleted in one release of GCC
+
+ <p>All support for systems which have been obsoleted in one release of GCC
is removed entirely in the next major release, unless someone steps
forward to maintain the port.
-</p>
-</dd>
-<dt><code>--enable-decimal-float</code></dt>
-<dt><code>--enable-decimal-float=yes</code></dt>
-<dt><code>--enable-decimal-float=no</code></dt>
-<dt><code>--enable-decimal-float=bid</code></dt>
-<dt><code>--enable-decimal-float=dpd</code></dt>
-<dt><code>--disable-decimal-float</code></dt>
-<dd><p>Enable (or disable) support for the C decimal floating point extension
+
+ <br><dt><code>--enable-decimal-float</code><dt><code>--enable-decimal-float=yes</code><dt><code>--enable-decimal-float=no</code><dt><code>--enable-decimal-float=bid</code><dt><code>--enable-decimal-float=dpd</code><dt><code>--disable-decimal-float</code><dd>Enable (or disable) support for the C decimal floating point extension
that is in the IEEE 754-2008 standard. This is enabled by default only
on PowerPC, i386, and x86_64 GNU/Linux systems. Other systems may also
support it, but require the user to specifically enable it. You can
optionally control which decimal floating point format is used (either
-&lsquo;<samp>bid</samp>&rsquo; or &lsquo;<samp>dpd</samp>&rsquo;). The &lsquo;<samp>bid</samp>&rsquo; (binary integer decimal)
-format is default on i386 and x86_64 systems, and the &lsquo;<samp>dpd</samp>&rsquo;
+&lsquo;<samp><span class="samp">bid</span></samp>&rsquo; or &lsquo;<samp><span class="samp">dpd</span></samp>&rsquo;). The &lsquo;<samp><span class="samp">bid</span></samp>&rsquo; (binary integer decimal)
+format is default on i386 and x86_64 systems, and the &lsquo;<samp><span class="samp">dpd</span></samp>&rsquo;
(densely packed decimal) format is default on PowerPC systems.
-</p>
-</dd>
-<dt><code>--enable-fixed-point</code></dt>
-<dt><code>--disable-fixed-point</code></dt>
-<dd><p>Enable (or disable) support for C fixed-point arithmetic.
+
+ <br><dt><code>--enable-fixed-point</code><dt><code>--disable-fixed-point</code><dd>Enable (or disable) support for C fixed-point arithmetic.
This option is enabled by default for some targets (such as MIPS) which
have hardware-support for fixed-point operations. On other targets, you
may enable this option manually.
-</p>
-</dd>
-<dt><code>--with-long-double-128</code></dt>
-<dd><p>Specify if <code>long double</code> type should be 128-bit by default on selected
+
+ <br><dt><code>--with-long-double-128</code><dd>Specify if <code>long double</code> type should be 128-bit by default on selected
GNU/Linux architectures. If using <code>--without-long-double-128</code>,
-<code>long double</code> will be by default 64-bit, the same as <code>double</code> type.
+<code>long double</code> will be by default 64-bit, the same as <code>double</code> type.
When neither of these configure options are used, the default will be
128-bit <code>long double</code> when built against GNU C Library 2.4 and later,
64-bit <code>long double</code> otherwise.
-</p>
-</dd>
-<dt><code>--enable-fdpic</code></dt>
-<dd><p>On SH Linux systems, generate ELF FDPIC code.
-</p>
-</dd>
-<dt><code>--with-gmp=<var>pathname</var></code></dt>
-<dt><code>--with-gmp-include=<var>pathname</var></code></dt>
-<dt><code>--with-gmp-lib=<var>pathname</var></code></dt>
-<dt><code>--with-mpfr=<var>pathname</var></code></dt>
-<dt><code>--with-mpfr-include=<var>pathname</var></code></dt>
-<dt><code>--with-mpfr-lib=<var>pathname</var></code></dt>
-<dt><code>--with-mpc=<var>pathname</var></code></dt>
-<dt><code>--with-mpc-include=<var>pathname</var></code></dt>
-<dt><code>--with-mpc-lib=<var>pathname</var></code></dt>
-<dd><p>If you want to build GCC but do not have the GMP library, the MPFR
+
+ <br><dt><code>--enable-fdpic</code><dd>On SH Linux systems, generate ELF FDPIC code.
+
+ <br><dt><code>--with-gmp=</code><var>pathname</var><dt><code>--with-gmp-include=</code><var>pathname</var><dt><code>--with-gmp-lib=</code><var>pathname</var><dt><code>--with-mpfr=</code><var>pathname</var><dt><code>--with-mpfr-include=</code><var>pathname</var><dt><code>--with-mpfr-lib=</code><var>pathname</var><dt><code>--with-mpc=</code><var>pathname</var><dt><code>--with-mpc-include=</code><var>pathname</var><dt><code>--with-mpc-lib=</code><var>pathname</var><dd>If you want to build GCC but do not have the GMP library, the MPFR
library and/or the MPC library installed in a standard location and
do not have their sources present in the GCC source tree then you
can explicitly specify the directory where they are installed
-(&lsquo;<samp>--with-gmp=<var>gmpinstalldir</var></samp>&rsquo;,
-&lsquo;<samp>--with-mpfr=<var>mpfrinstalldir</var></samp>&rsquo;,
-&lsquo;<samp>--with-mpc=<var>mpcinstalldir</var></samp>&rsquo;). The
-<samp>--with-gmp=<var>gmpinstalldir</var></samp> option is shorthand for
-<samp>--with-gmp-lib=<var>gmpinstalldir</var>/lib</samp> and
-<samp>--with-gmp-include=<var>gmpinstalldir</var>/include</samp>. Likewise the
-<samp>--with-mpfr=<var>mpfrinstalldir</var></samp> option is shorthand for
-<samp>--with-mpfr-lib=<var>mpfrinstalldir</var>/lib</samp> and
-<samp>--with-mpfr-include=<var>mpfrinstalldir</var>/include</samp>, also the
-<samp>--with-mpc=<var>mpcinstalldir</var></samp> option is shorthand for
-<samp>--with-mpc-lib=<var>mpcinstalldir</var>/lib</samp> and
-<samp>--with-mpc-include=<var>mpcinstalldir</var>/include</samp>. If these
+(&lsquo;<samp><span class="samp">--with-gmp=</span><var>gmpinstalldir</var></samp>&rsquo;,
+&lsquo;<samp><span class="samp">--with-mpfr=</span><var>mpfrinstalldir</var></samp>&rsquo;,
+&lsquo;<samp><span class="samp">--with-mpc=</span><var>mpcinstalldir</var></samp>&rsquo;). The
+<samp><span class="option">--with-gmp=</span><var>gmpinstalldir</var></samp> option is shorthand for
+<samp><span class="option">--with-gmp-lib=</span><var>gmpinstalldir</var><span class="option">/lib</span></samp> and
+<samp><span class="option">--with-gmp-include=</span><var>gmpinstalldir</var><span class="option">/include</span></samp>. Likewise the
+<samp><span class="option">--with-mpfr=</span><var>mpfrinstalldir</var></samp> option is shorthand for
+<samp><span class="option">--with-mpfr-lib=</span><var>mpfrinstalldir</var><span class="option">/lib</span></samp> and
+<samp><span class="option">--with-mpfr-include=</span><var>mpfrinstalldir</var><span class="option">/include</span></samp>, also the
+<samp><span class="option">--with-mpc=</span><var>mpcinstalldir</var></samp> option is shorthand for
+<samp><span class="option">--with-mpc-lib=</span><var>mpcinstalldir</var><span class="option">/lib</span></samp> and
+<samp><span class="option">--with-mpc-include=</span><var>mpcinstalldir</var><span class="option">/include</span></samp>. If these
shorthand assumptions are not correct, you can use the explicit
include and lib options directly. You might also need to ensure the
shared libraries can be found by the dynamic linker when building and
using GCC, for example by setting the runtime shared library path
-variable (<code>LD_LIBRARY_PATH</code> on GNU/Linux and Solaris systems).
-</p>
-<p>These flags are applicable to the host platform only. When building
+variable (<samp><span class="env">LD_LIBRARY_PATH</span></samp> on GNU/Linux and Solaris systems).
+
+ <p>These flags are applicable to the host platform only. When building
a cross compiler, they will not be used to configure target libraries.
-</p>
-</dd>
-<dt><code>--with-isl=<var>pathname</var></code></dt>
-<dt><code>--with-isl-include=<var>pathname</var></code></dt>
-<dt><code>--with-isl-lib=<var>pathname</var></code></dt>
-<dd><p>If you do not have the isl library installed in a standard location and you
+
+ <br><dt><code>--with-isl=</code><var>pathname</var><dt><code>--with-isl-include=</code><var>pathname</var><dt><code>--with-isl-lib=</code><var>pathname</var><dd>If you do not have the isl library installed in a standard location and you
want to build GCC, you can explicitly specify the directory where it is
-installed (&lsquo;<samp>--with-isl=<var>islinstalldir</var></samp>&rsquo;). The
-<samp>--with-isl=<var>islinstalldir</var></samp> option is shorthand for
-<samp>--with-isl-lib=<var>islinstalldir</var>/lib</samp> and
-<samp>--with-isl-include=<var>islinstalldir</var>/include</samp>. If this
+installed (&lsquo;<samp><span class="samp">--with-isl=</span><var>islinstalldir</var></samp>&rsquo;). The
+<samp><span class="option">--with-isl=</span><var>islinstalldir</var></samp> option is shorthand for
+<samp><span class="option">--with-isl-lib=</span><var>islinstalldir</var><span class="option">/lib</span></samp> and
+<samp><span class="option">--with-isl-include=</span><var>islinstalldir</var><span class="option">/include</span></samp>. If this
shorthand assumption is not correct, you can use the explicit
include and lib options directly.
-</p>
-<p>These flags are applicable to the host platform only. When building
+
+ <p>These flags are applicable to the host platform only. When building
a cross compiler, they will not be used to configure target libraries.
-</p>
-</dd>
-<dt><code>--with-stage1-ldflags=<var>flags</var></code></dt>
-<dd><p>This option may be used to set linker flags to be used when linking
+
+ <br><dt><code>--with-stage1-ldflags=</code><var>flags</var><dd>This option may be used to set linker flags to be used when linking
stage 1 of GCC. These are also used when linking GCC if configured with
-<samp>--disable-bootstrap</samp>. If <samp>--with-stage1-libs</samp> is not set to a
-value, then the default is &lsquo;<samp>-static-libstdc++ -static-libgcc</samp>&rsquo;, if
+<samp><span class="option">--disable-bootstrap</span></samp>. If <samp><span class="option">--with-stage1-libs</span></samp> is not set to a
+value, then the default is &lsquo;<samp><span class="samp">-static-libstdc++ -static-libgcc</span></samp>&rsquo;, if
supported.
-</p>
-</dd>
-<dt><code>--with-stage1-libs=<var>libs</var></code></dt>
-<dd><p>This option may be used to set libraries to be used when linking stage 1
+
+ <br><dt><code>--with-stage1-libs=</code><var>libs</var><dd>This option may be used to set libraries to be used when linking stage 1
of GCC. These are also used when linking GCC if configured with
-<samp>--disable-bootstrap</samp>.
-</p>
-</dd>
-<dt><code>--with-boot-ldflags=<var>flags</var></code></dt>
-<dd><p>This option may be used to set linker flags to be used when linking
+<samp><span class="option">--disable-bootstrap</span></samp>.
+
+ <br><dt><code>--with-boot-ldflags=</code><var>flags</var><dd>This option may be used to set linker flags to be used when linking
stage 2 and later when bootstrapping GCC. If &ndash;with-boot-libs
is not is set to a value, then the default is
-&lsquo;<samp>-static-libstdc++ -static-libgcc</samp>&rsquo;.
-</p>
-</dd>
-<dt><code>--with-boot-libs=<var>libs</var></code></dt>
-<dd><p>This option may be used to set libraries to be used when linking stage 2
+&lsquo;<samp><span class="samp">-static-libstdc++ -static-libgcc</span></samp>&rsquo;.
+
+ <br><dt><code>--with-boot-libs=</code><var>libs</var><dd>This option may be used to set libraries to be used when linking stage 2
and later when bootstrapping GCC.
-</p>
-</dd>
-<dt><code>--with-debug-prefix-map=<var>map</var></code></dt>
-<dd><p>Convert source directory names using <samp>-fdebug-prefix-map</samp> when
+
+ <br><dt><code>--with-debug-prefix-map=</code><var>map</var><dd>Convert source directory names using <samp><span class="option">-fdebug-prefix-map</span></samp> when
building runtime libraries. &lsquo;<samp><var>map</var></samp>&rsquo; is a space-separated
-list of maps of the form &lsquo;<samp><var>old</var>=<var>new</var></samp>&rsquo;.
-</p>
-</dd>
-<dt><code>--enable-linker-build-id</code></dt>
-<dd><p>Tells GCC to pass <samp>--build-id</samp> option to the linker for all final
-links (links performed without the <samp>-r</samp> or <samp>--relocatable</samp>
+list of maps of the form &lsquo;<samp><var>old</var><span class="samp">=</span><var>new</var></samp>&rsquo;.
+
+ <br><dt><code>--enable-linker-build-id</code><dd>Tells GCC to pass <samp><span class="option">--build-id</span></samp> option to the linker for all final
+links (links performed without the <samp><span class="option">-r</span></samp> or <samp><span class="option">--relocatable</span></samp>
option), if the linker supports it. If you specify
-<samp>--enable-linker-build-id</samp>, but your linker does not
-support <samp>--build-id</samp> option, a warning is issued and the
-<samp>--enable-linker-build-id</samp> option is ignored. The default is off.
-</p>
-</dd>
-<dt><code>--with-linker-hash-style=<var>choice</var></code></dt>
-<dd><p>Tells GCC to pass <samp>--hash-style=<var>choice</var></samp> option to the
+<samp><span class="option">--enable-linker-build-id</span></samp>, but your linker does not
+support <samp><span class="option">--build-id</span></samp> option, a warning is issued and the
+<samp><span class="option">--enable-linker-build-id</span></samp> option is ignored. The default is off.
+
+ <br><dt><code>--with-linker-hash-style=</code><var>choice</var><dd>Tells GCC to pass <samp><span class="option">--hash-style=</span><var>choice</var></samp> option to the
linker for all final links. <var>choice</var> can be one of
-&lsquo;<samp>sysv</samp>&rsquo;, &lsquo;<samp>gnu</samp>&rsquo;, and &lsquo;<samp>both</samp>&rsquo; where &lsquo;<samp>sysv</samp>&rsquo; is the default.
-</p>
-</dd>
-<dt><code>--enable-gnu-unique-object</code></dt>
-<dt><code>--disable-gnu-unique-object</code></dt>
-<dd><p>Tells GCC to use the gnu_unique_object relocation for C++ template
+&lsquo;<samp><span class="samp">sysv</span></samp>&rsquo;, &lsquo;<samp><span class="samp">gnu</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">both</span></samp>&rsquo; where &lsquo;<samp><span class="samp">sysv</span></samp>&rsquo; is the default.
+
+ <br><dt><code>--enable-gnu-unique-object</code><dt><code>--disable-gnu-unique-object</code><dd>Tells GCC to use the gnu_unique_object relocation for C++ template
static data members and inline function local statics. Enabled by
default for a toolchain with an assembler that accepts it and
GLIBC 2.11 or above, otherwise disabled.
-</p>
-</dd>
-<dt><code>--with-diagnostics-color=<var>choice</var></code></dt>
-<dd><p>Tells GCC to use <var>choice</var> as the default for <samp>-fdiagnostics-color=</samp>
+
+ <br><dt><code>--with-diagnostics-color=</code><var>choice</var><dd>Tells GCC to use <var>choice</var> as the default for <samp><span class="option">-fdiagnostics-color=</span></samp>
option (if not used explicitly on the command line). <var>choice</var>
-can be one of &lsquo;<samp>never</samp>&rsquo;, &lsquo;<samp>auto</samp>&rsquo;, &lsquo;<samp>always</samp>&rsquo;, and &lsquo;<samp>auto-if-env</samp>&rsquo;
-where &lsquo;<samp>auto</samp>&rsquo; is the default. &lsquo;<samp>auto-if-env</samp>&rsquo; means that
-<samp>-fdiagnostics-color=auto</samp> will be the default if <code>GCC_COLORS</code>
+can be one of &lsquo;<samp><span class="samp">never</span></samp>&rsquo;, &lsquo;<samp><span class="samp">auto</span></samp>&rsquo;, &lsquo;<samp><span class="samp">always</span></samp>&rsquo;, and &lsquo;<samp><span class="samp">auto-if-env</span></samp>&rsquo;
+where &lsquo;<samp><span class="samp">auto</span></samp>&rsquo; is the default. &lsquo;<samp><span class="samp">auto-if-env</span></samp>&rsquo; means that
+<samp><span class="option">-fdiagnostics-color=auto</span></samp> will be the default if <code>GCC_COLORS</code>
is present and non-empty in the environment, and
-<samp>-fdiagnostics-color=never</samp> otherwise.
-</p>
-</dd>
-<dt><code>--enable-lto</code></dt>
-<dt><code>--disable-lto</code></dt>
-<dd><p>Enable support for link-time optimization (LTO). This is enabled by
-default, and may be disabled using <samp>--disable-lto</samp>.
-</p>
-</dd>
-<dt><code>--enable-linker-plugin-configure-flags=FLAGS</code></dt>
-<dt><code>--enable-linker-plugin-flags=FLAGS</code></dt>
-<dd><p>By default, linker plugins (such as the LTO plugin) are built for the
+<samp><span class="option">-fdiagnostics-color=never</span></samp> otherwise.
+
+ <br><dt><code>--enable-lto</code><dt><code>--disable-lto</code><dd>Enable support for link-time optimization (LTO). This is enabled by
+default, and may be disabled using <samp><span class="option">--disable-lto</span></samp>.
+
+ <br><dt><code>--enable-linker-plugin-configure-flags=FLAGS</code><dt><code>--enable-linker-plugin-flags=FLAGS</code><dd>By default, linker plugins (such as the LTO plugin) are built for the
host system architecture. For the case that the linker has a
different (but run-time compatible) architecture, these flags can be
specified to build plugins that are compatible to the linker. For
example, if you are building GCC for a 64-bit x86_64
-(&lsquo;<samp>x86_64-unknown-linux-gnu</samp>&rsquo;) host system, but have a 32-bit x86
-GNU/Linux (&lsquo;<samp>i686-pc-linux-gnu</samp>&rsquo;) linker executable (which is
+(&lsquo;<samp><span class="samp">x86_64-unknown-linux-gnu</span></samp>&rsquo;) host system, but have a 32-bit x86
+GNU/Linux (&lsquo;<samp><span class="samp">i686-pc-linux-gnu</span></samp>&rsquo;) linker executable (which is
executable on the former system), you can configure GCC as follows for
getting compatible linker plugins:
-</p>
-<div class="smallexample">
-<pre class="smallexample">% <var>srcdir</var>/configure \
- --host=x86_64-unknown-linux-gnu \
- --enable-linker-plugin-configure-flags=--host=i686-pc-linux-gnu \
- --enable-linker-plugin-flags='CC=gcc\ -m32\ -Wl,-rpath,[...]/i686-pc-linux-gnu/lib'
-</pre></div>
-
-</dd>
-<dt><code>--with-plugin-ld=<var>pathname</var></code></dt>
-<dd><p>Enable an alternate linker to be used at link-time optimization (LTO)
-link time when <samp>-fuse-linker-plugin</samp> is enabled.
+
+ <pre class="smallexample"> % <var>srcdir</var>/configure \
+ --host=x86_64-unknown-linux-gnu \
+ --enable-linker-plugin-configure-flags=--host=i686-pc-linux-gnu \
+ --enable-linker-plugin-flags='CC=gcc\ -m32\ -Wl,-rpath,[...]/i686-pc-linux-gnu/lib'
+</pre>
+ <br><dt><code>--with-plugin-ld=</code><var>pathname</var><dd>Enable an alternate linker to be used at link-time optimization (LTO)
+link time when <samp><span class="option">-fuse-linker-plugin</span></samp> is enabled.
This linker should have plugin support such as gold starting with
-version 2.20 or GNU ld starting with version 2.21.
-See <samp>-fuse-linker-plugin</samp> for details.
-</p>
-</dd>
-<dt><code>--enable-canonical-system-headers</code></dt>
-<dt><code>--disable-canonical-system-headers</code></dt>
-<dd><p>Enable system header path canonicalization for <samp>libcpp</samp>. This can
+version 2.20 or GNU ld starting with version 2.21.
+See <samp><span class="option">-fuse-linker-plugin</span></samp> for details.
+
+ <br><dt><code>--enable-canonical-system-headers</code><dt><code>--disable-canonical-system-headers</code><dd>Enable system header path canonicalization for <samp><span class="file">libcpp</span></samp>. This can
produce shorter header file paths in diagnostics and dependency output
files, but these changed header paths may conflict with some compilation
environments. Enabled by default, and may be disabled using
-<samp>--disable-canonical-system-headers</samp>.
-</p>
-</dd>
-<dt><code>--with-glibc-version=<var>major</var>.<var>minor</var></code></dt>
-<dd><p>Tell GCC that when the GNU C Library (glibc) is used on the target it
+<samp><span class="option">--disable-canonical-system-headers</span></samp>.
+
+ <br><dt><code>--with-glibc-version=</code><var>major</var><code>.</code><var>minor</var><dd>Tell GCC that when the GNU C Library (glibc) is used on the target it
will be version <var>major</var>.<var>minor</var> or later. Normally this can
-be detected from the C library&rsquo;s header files, but this option may be
+be detected from the C library's header files, but this option may be
needed when bootstrapping a cross toolchain without the header files
available for building the initial bootstrap compiler.
-</p>
-<p>If GCC is configured with some multilibs that use glibc and some that
-do not, this option applies only to the multilibs that use glibc.
+
+ <p>If GCC is configured with some multilibs that use glibc and some that
+do not, this option applies only to the multilibs that use glibc.
However, such configurations may not work well as not all the relevant
configuration in GCC is on a per-multilib basis.
-</p>
-</dd>
-<dt><code>--enable-as-accelerator-for=<var>target</var></code></dt>
-<dd><p>Build as offload target compiler. Specify offload host triple by <var>target</var>.
-</p>
-</dd>
-<dt><code>--enable-offload-targets=<var>target1</var>[=<var>path1</var>],&hellip;,<var>targetN</var>[=<var>pathN</var>]</code></dt>
-<dd><p>Enable offloading to targets <var>target1</var>, &hellip;, <var>targetN</var>.
+
+ <br><dt><code>--enable-as-accelerator-for=</code><var>target</var><dd>Build as offload target compiler. Specify offload host triple by <var>target</var>.
+
+ <br><dt><code>--enable-offload-targets=</code><var>target1</var><code>[=</code><var>path1</var><code>],...,</code><var>targetN</var><code>[=</code><var>pathN</var><code>]</code><dd>Enable offloading to targets <var>target1</var>, <small class="dots">...</small>, <var>targetN</var>.
Offload compilers are expected to be already installed. Default search
path for them is <samp><var>exec-prefix</var></samp>, but it can be changed by
-specifying paths <var>path1</var>, &hellip;, <var>pathN</var>.
-</p>
-<div class="smallexample">
-<pre class="smallexample">% <var>srcdir</var>/configure \
- --enable-offload-target=i686-unknown-linux-gnu=/path/to/i686/compiler,x86_64-pc-linux-gnu
-</pre></div>
-
-<p>If &lsquo;<samp>hsa</samp>&rsquo; is specified as one of the targets, the compiler will be
+specifying paths <var>path1</var>, <small class="dots">...</small>, <var>pathN</var>.
+
+ <pre class="smallexample"> % <var>srcdir</var>/configure \
+ --enable-offload-target=i686-unknown-linux-gnu=/path/to/i686/compiler,x86_64-pc-linux-gnu
+</pre>
+ <p>If &lsquo;<samp><span class="samp">hsa</span></samp>&rsquo; is specified as one of the targets, the compiler will be
built with support for HSA GPU accelerators. Because the same
compiler will emit the accelerator code, no path should be specified.
-</p>
-</dd>
-<dt><code>--with-hsa-runtime=<var>pathname</var></code></dt>
-<dt><code>--with-hsa-runtime-include=<var>pathname</var></code></dt>
-<dt><code>--with-hsa-runtime-lib=<var>pathname</var></code></dt>
-<dd>
-<p>If you configure GCC with HSA offloading but do not have the HSA
+
+ <br><dt><code>--with-hsa-runtime=</code><var>pathname</var><dt><code>--with-hsa-runtime-include=</code><var>pathname</var><dt><code>--with-hsa-runtime-lib=</code><var>pathname</var><dd>
+If you configure GCC with HSA offloading but do not have the HSA
run-time library installed in a standard location then you can
explicitly specify the directory where they are installed. The
-<samp>--with-hsa-runtime=<var>hsainstalldir</var></samp> option is a
+<samp><span class="option">--with-hsa-runtime=</span><var>hsainstalldir</var></samp> option is a
shorthand for
-<samp>--with-hsa-runtime-lib=<var>hsainstalldir</var>/lib</samp> and
-<samp>--with-hsa-runtime-include=<var>hsainstalldir</var>/include</samp>.
-</p>
-</dd>
-<dt><code>--with-hsa-kmt-lib=<var>pathname</var></code></dt>
-<dd>
-<p>If you configure GCC with HSA offloading but do not have the HSA
+<samp><span class="option">--with-hsa-runtime-lib=</span><var>hsainstalldir</var><span class="option">/lib</span></samp> and
+<samp><span class="option">--with-hsa-runtime-include=</span><var>hsainstalldir</var><span class="option">/include</span></samp>.
+
+ <br><dt><code>--with-hsa-kmt-lib=</code><var>pathname</var><dd>
+If you configure GCC with HSA offloading but do not have the HSA
KMT library installed in a standard location then you can
-explicitly specify the directory where it resides.
-</p></dd>
+explicitly specify the directory where it resides.
</dl>
-<a name="Cross_002dCompiler_002dSpecific-Options"></a>
-<h4 class="subheading">Cross-Compiler-Specific Options</h4>
+<h4 class="subheading"><a name="TOC3"></a>Cross-Compiler-Specific Options</h4>
+
<p>The following options only apply to building cross compilers.
-</p>
-<dl compact="compact">
-<dt><code>--with-sysroot</code></dt>
-<dt><code>--with-sysroot=<var>dir</var></code></dt>
-<dd><p>Tells GCC to consider <var>dir</var> as the root of a tree that contains
-(a subset of) the root filesystem of the target operating system.
+
+ <dl>
+<dt><code>--with-sysroot</code><dt><code>--with-sysroot=</code><var>dir</var><dd>Tells GCC to consider <var>dir</var> as the root of a tree that contains
+(a subset of) the root filesystem of the target operating system.
Target system headers, libraries and run-time object files will be
searched for in there. More specifically, this acts as if
-<samp>--sysroot=<var>dir</var></samp> was added to the default options of the built
+<samp><span class="option">--sysroot=</span><var>dir</var></samp> was added to the default options of the built
compiler. The specified directory is not copied into the
-install tree, unlike the options <samp>--with-headers</samp> and
-<samp>--with-libs</samp> that this option obsoletes. The default value,
-in case <samp>--with-sysroot</samp> is not given an argument, is
-<samp>${gcc_tooldir}/sys-root</samp>. If the specified directory is a
-subdirectory of <samp>${exec_prefix}</samp>, then it will be found relative to
+install tree, unlike the options <samp><span class="option">--with-headers</span></samp> and
+<samp><span class="option">--with-libs</span></samp> that this option obsoletes. The default value,
+in case <samp><span class="option">--with-sysroot</span></samp> is not given an argument, is
+<samp><span class="option">${gcc_tooldir}/sys-root</span></samp>. If the specified directory is a
+subdirectory of <samp><span class="option">${exec_prefix}</span></samp>, then it will be found relative to
the GCC binaries if the installation tree is moved.
-</p>
-<p>This option affects the system root for the compiler used to build
+
+ <p>This option affects the system root for the compiler used to build
target libraries (which runs on the build system) and the compiler newly
installed with <code>make install</code>; it does not affect the compiler which is
used to build GCC itself.
-</p>
-<p>If you specify the <samp>--with-native-system-header-dir=<var>dirname</var></samp>
+
+ <p>If you specify the <samp><span class="option">--with-native-system-header-dir=</span><var>dirname</var></samp>
option then the compiler will search that directory within <var>dirname</var> for
-native system headers rather than the default <samp>/usr/include</samp>.
-</p>
-</dd>
-<dt><code>--with-build-sysroot</code></dt>
-<dt><code>--with-build-sysroot=<var>dir</var></code></dt>
-<dd><p>Tells GCC to consider <var>dir</var> as the system root (see
-<samp>--with-sysroot</samp>) while building target libraries, instead of
-the directory specified with <samp>--with-sysroot</samp>. This option is
-only useful when you are already using <samp>--with-sysroot</samp>. You
-can use <samp>--with-build-sysroot</samp> when you are configuring with
-<samp>--prefix</samp> set to a directory that is different from the one in
+native system headers rather than the default <samp><span class="file">/usr/include</span></samp>.
+
+ <br><dt><code>--with-build-sysroot</code><dt><code>--with-build-sysroot=</code><var>dir</var><dd>Tells GCC to consider <var>dir</var> as the system root (see
+<samp><span class="option">--with-sysroot</span></samp>) while building target libraries, instead of
+the directory specified with <samp><span class="option">--with-sysroot</span></samp>. This option is
+only useful when you are already using <samp><span class="option">--with-sysroot</span></samp>. You
+can use <samp><span class="option">--with-build-sysroot</span></samp> when you are configuring with
+<samp><span class="option">--prefix</span></samp> set to a directory that is different from the one in
which you are installing GCC and your target libraries.
-</p>
-<p>This option affects the system root for the compiler used to build
+
+ <p>This option affects the system root for the compiler used to build
target libraries (which runs on the build system); it does not affect
the compiler which is used to build GCC itself.
-</p>
-<p>If you specify the <samp>--with-native-system-header-dir=<var>dirname</var></samp>
+
+ <p>If you specify the <samp><span class="option">--with-native-system-header-dir=</span><var>dirname</var></samp>
option then the compiler will search that directory within <var>dirname</var> for
-native system headers rather than the default <samp>/usr/include</samp>.
-</p>
-</dd>
-<dt><code>--with-headers</code></dt>
-<dt><code>--with-headers=<var>dir</var></code></dt>
-<dd><p>Deprecated in favor of <samp>--with-sysroot</samp>.
-Specifies that target headers are available when building a cross compiler.
+native system headers rather than the default <samp><span class="file">/usr/include</span></samp>.
+
+ <br><dt><code>--with-headers</code><dt><code>--with-headers=</code><var>dir</var><dd>Deprecated in favor of <samp><span class="option">--with-sysroot</span></samp>.
+Specifies that target headers are available when building a cross compiler.
The <var>dir</var> argument specifies a directory which has the target include
-files. These include files will be copied into the <samp>gcc</samp> install
-directory. <em>This option with the <var>dir</var> argument is required</em> when
-building a cross compiler, if <samp><var>prefix</var>/<var>target</var>/sys-include</samp>
-doesn&rsquo;t pre-exist. If <samp><var>prefix</var>/<var>target</var>/sys-include</samp> does
-pre-exist, the <var>dir</var> argument may be omitted. <code>fixincludes</code>
+files. These include files will be copied into the <samp><span class="file">gcc</span></samp> install
+directory. <em>This option with the </em><var>dir</var><em> argument is required</em> when
+building a cross compiler, if <samp><var>prefix</var><span class="file">/</span><var>target</var><span class="file">/sys-include</span></samp>
+doesn't pre-exist. If <samp><var>prefix</var><span class="file">/</span><var>target</var><span class="file">/sys-include</span></samp> does
+pre-exist, the <var>dir</var> argument may be omitted. <samp><span class="command">fixincludes</span></samp>
will be run on these files to make them compatible with GCC.
-</p>
-</dd>
-<dt><code>--without-headers</code></dt>
-<dd><p>Tells GCC not use any target headers from a libc when building a cross
+
+ <br><dt><code>--without-headers</code><dd>Tells GCC not use any target headers from a libc when building a cross
compiler. When crossing to GNU/Linux, you need the headers so GCC
can build the exception handling for libgcc.
-</p>
-</dd>
-<dt><code>--with-libs</code></dt>
-<dt><code>--with-libs=&quot;<var>dir1</var> <var>dir2</var> &hellip; <var>dirN</var>&quot;</code></dt>
-<dd><p>Deprecated in favor of <samp>--with-sysroot</samp>.
+
+ <br><dt><code>--with-libs</code><dt><code>--with-libs="</code><var>dir1</var> <var>dir2</var><code> ... </code><var>dirN</var><code>"</code><dd>Deprecated in favor of <samp><span class="option">--with-sysroot</span></samp>.
Specifies a list of directories which contain the target runtime
-libraries. These libraries will be copied into the <samp>gcc</samp> install
+libraries. These libraries will be copied into the <samp><span class="file">gcc</span></samp> install
directory. If the directory list is omitted, this option has no
effect.
-</p>
-</dd>
-<dt><code>--with-newlib</code></dt>
-<dd><p>Specifies that &lsquo;<samp>newlib</samp>&rsquo; is
+
+ <br><dt><code>--with-newlib</code><dd>Specifies that &lsquo;<samp><span class="samp">newlib</span></samp>&rsquo; is
being used as the target C library. This causes <code>__eprintf</code> to be
-omitted from <samp>libgcc.a</samp> on the assumption that it will be provided by
-&lsquo;<samp>newlib</samp>&rsquo;.
-</p>
-</dd>
-<dt><code>--with-avrlibc</code></dt>
-<dd><p>Specifies that &lsquo;<samp>AVR-Libc</samp>&rsquo; is
+omitted from <samp><span class="file">libgcc.a</span></samp> on the assumption that it will be provided by
+&lsquo;<samp><span class="samp">newlib</span></samp>&rsquo;.
+
+ <br><dt><code>--with-avrlibc</code><dd>Specifies that &lsquo;<samp><span class="samp">AVR-Libc</span></samp>&rsquo; is
being used as the target C library. This causes float support
-functions like <code>__addsf3</code> to be omitted from <samp>libgcc.a</samp> on
-the assumption that it will be provided by <samp>libm.a</samp>. For more
-technical details, cf. <a href="http://gcc.gnu.org/PR54461">PR54461</a>.
+functions like <code>__addsf3</code> to be omitted from <samp><span class="file">libgcc.a</span></samp> on
+the assumption that it will be provided by <samp><span class="file">libm.a</span></samp>. For more
+technical details, cf. <a href="http://gcc.gnu.org/PR54461">PR54461</a>.
This option is only supported for the AVR target. It is not supported for
RTEMS configurations, which currently use newlib. The option is
supported since version 4.7.2 and is the default in 4.8.0 and newer.
-</p>
-</dd>
-<dt><code>--with-nds32-lib=<var>library</var></code></dt>
-<dd><p>Specifies that <var>library</var> setting is used for building <samp>libgcc.a</samp>.
-Currently, the valid <var>library</var> is &lsquo;<samp>newlib</samp>&rsquo; or &lsquo;<samp>mculib</samp>&rsquo;.
+
+ <br><dt><code>--with-nds32-lib=</code><var>library</var><dd>Specifies that <var>library</var> setting is used for building <samp><span class="file">libgcc.a</span></samp>.
+Currently, the valid <var>library</var> is &lsquo;<samp><span class="samp">newlib</span></samp>&rsquo; or &lsquo;<samp><span class="samp">mculib</span></samp>&rsquo;.
This option is only supported for the NDS32 target.
-</p>
-</dd>
-<dt><code>--with-build-time-tools=<var>dir</var></code></dt>
-<dd><p>Specifies where to find the set of target tools (assembler, linker, etc.)
+
+ <br><dt><code>--with-build-time-tools=</code><var>dir</var><dd>Specifies where to find the set of target tools (assembler, linker, etc.)
that will be used while building GCC itself. This option can be useful
if the directory layouts are different between the system you are building
GCC on, and the system where you will deploy it.
-</p>
-<p>For example, on an &lsquo;<samp>ia64-hp-hpux</samp>&rsquo; system, you may have the GNU
-assembler and linker in <samp>/usr/bin</samp>, and the native tools in a
+
+ <p>For example, on an &lsquo;<samp><span class="samp">ia64-hp-hpux</span></samp>&rsquo; system, you may have the GNU
+assembler and linker in <samp><span class="file">/usr/bin</span></samp>, and the native tools in a
different path, and build a toolchain that expects to find the
-native tools in <samp>/usr/bin</samp>.
-</p>
-<p>When you use this option, you should ensure that <var>dir</var> includes
-<code>ar</code>, <code>as</code>, <code>ld</code>, <code>nm</code>,
-<code>ranlib</code> and <code>strip</code> if necessary, and possibly
-<code>objdump</code>. Otherwise, GCC may use an inconsistent set of
-tools.
-</p></dd>
+native tools in <samp><span class="file">/usr/bin</span></samp>.
+
+ <p>When you use this option, you should ensure that <var>dir</var> includes
+<samp><span class="command">ar</span></samp>, <samp><span class="command">as</span></samp>, <samp><span class="command">ld</span></samp>, <samp><span class="command">nm</span></samp>,
+<samp><span class="command">ranlib</span></samp> and <samp><span class="command">strip</span></samp> if necessary, and possibly
+<samp><span class="command">objdump</span></samp>. Otherwise, GCC may use an inconsistent set of
+tools.
</dl>
-<a name="Java_002dSpecific-Options"></a>
-<h4 class="subheading">Java-Specific Options</h4>
+<h4 class="subheading"><a name="TOC4"></a>Java-Specific Options</h4>
<p>The following option applies to the build of the Java front end.
-</p>
-<dl compact="compact">
-<dt><code>--disable-libgcj</code></dt>
-<dd><p>Specify that the run-time libraries
+
+ <dl>
+<dt><code>--disable-libgcj</code><dd>Specify that the run-time libraries
used by GCJ should not be built. This is useful in case you intend
-to use GCJ with some other run-time, or you&rsquo;re going to install it
+to use GCJ with some other run-time, or you're going to install it
separately, or it just happens not to build on your particular
machine. In general, if the Java front end is enabled, the GCJ
-libraries will be enabled too, unless they&rsquo;re known to not work on
-the target platform. If GCJ is enabled but &lsquo;<samp>libgcj</samp>&rsquo; isn&rsquo;t built, you
+libraries will be enabled too, unless they're known to not work on
+the target platform. If GCJ is enabled but &lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo; isn't built, you
may need to port it; in this case, before modifying the top-level
-<samp>configure.ac</samp> so that &lsquo;<samp>libgcj</samp>&rsquo; is enabled by default on this platform,
-you may use <samp>--enable-libgcj</samp> to override the default.
-</p>
-</dd>
-</dl>
+<samp><span class="file">configure.ac</span></samp> so that &lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo; is enabled by default on this platform,
+you may use <samp><span class="option">--enable-libgcj</span></samp> to override the default.
+
+ </dl>
-<p>The following options apply to building &lsquo;<samp>libgcj</samp>&rsquo;.
-</p>
-<a name="General-Options"></a>
-<h4 class="subsubheading">General Options</h4>
-
-<dl compact="compact">
-<dt><code>--enable-java-maintainer-mode</code></dt>
-<dd><p>By default the &lsquo;<samp>libjava</samp>&rsquo; build will not attempt to compile the
-<samp>.java</samp> source files to <samp>.class</samp>. Instead, it will use the
-<samp>.class</samp> files from the source tree. If you use this option you
-must have executables named <code>ecj1</code> and <code>gjavah</code> in your path
+ <p>The following options apply to building &lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo;.
+
+<h5 class="subsubheading"><a name="TOC5"></a>General Options</h5>
+
+ <dl>
+<dt><code>--enable-java-maintainer-mode</code><dd>By default the &lsquo;<samp><span class="samp">libjava</span></samp>&rsquo; build will not attempt to compile the
+<samp><span class="file">.java</span></samp> source files to <samp><span class="file">.class</span></samp>. Instead, it will use the
+<samp><span class="file">.class</span></samp> files from the source tree. If you use this option you
+must have executables named <samp><span class="command">ecj1</span></samp> and <samp><span class="command">gjavah</span></samp> in your path
for use by the build. You must use this option if you intend to
-modify any <samp>.java</samp> files in <samp>libjava</samp>.
-</p>
-</dd>
-<dt><code>--with-java-home=<var>dirname</var></code></dt>
-<dd><p>This &lsquo;<samp>libjava</samp>&rsquo; option overrides the default value of the
-&lsquo;<samp>java.home</samp>&rsquo; system property. It is also used to set
-&lsquo;<samp>sun.boot.class.path</samp>&rsquo; to <samp><var>dirname</var>/lib/rt.jar</samp>. By
-default &lsquo;<samp>java.home</samp>&rsquo; is set to <samp><var>prefix</var></samp> and
-&lsquo;<samp>sun.boot.class.path</samp>&rsquo; to
-<samp><var>datadir</var>/java/libgcj-<var>version</var>.jar</samp>.
-</p>
-</dd>
-<dt><code>--with-ecj-jar=<var>filename</var></code></dt>
-<dd><p>This option can be used to specify the location of an external jar
+modify any <samp><span class="file">.java</span></samp> files in <samp><span class="file">libjava</span></samp>.
+
+ <br><dt><code>--with-java-home=</code><var>dirname</var><dd>This &lsquo;<samp><span class="samp">libjava</span></samp>&rsquo; option overrides the default value of the
+&lsquo;<samp><span class="samp">java.home</span></samp>&rsquo; system property. It is also used to set
+&lsquo;<samp><span class="samp">sun.boot.class.path</span></samp>&rsquo; to <samp><var>dirname</var><span class="file">/lib/rt.jar</span></samp>. By
+default &lsquo;<samp><span class="samp">java.home</span></samp>&rsquo; is set to <samp><var>prefix</var></samp> and
+&lsquo;<samp><span class="samp">sun.boot.class.path</span></samp>&rsquo; to
+<samp><var>datadir</var><span class="file">/java/libgcj-</span><var>version</var><span class="file">.jar</span></samp>.
+
+ <br><dt><code>--with-ecj-jar=</code><var>filename</var><dd>This option can be used to specify the location of an external jar
file containing the Eclipse Java compiler. A specially modified
-version of this compiler is used by <code>gcj</code> to parse
-<samp>.java</samp> source files. If this option is given, the
-&lsquo;<samp>libjava</samp>&rsquo; build will create and install an <samp>ecj1</samp> executable
+version of this compiler is used by <samp><span class="command">gcj</span></samp> to parse
+<samp><span class="file">.java</span></samp> source files. If this option is given, the
+&lsquo;<samp><span class="samp">libjava</span></samp>&rsquo; build will create and install an <samp><span class="file">ecj1</span></samp> executable
which uses this jar file at runtime.
-</p>
-<p>If this option is not given, but an <samp>ecj.jar</samp> file is found in
-the topmost source tree at configure time, then the &lsquo;<samp>libgcj</samp>&rsquo;
-build will create and install <samp>ecj1</samp>, and will also install the
-discovered <samp>ecj.jar</samp> into a suitable place in the install tree.
-</p>
-<p>If <samp>ecj1</samp> is not installed, then the user will have to supply one
-on his path in order for <code>gcj</code> to properly parse <samp>.java</samp>
+
+ <p>If this option is not given, but an <samp><span class="file">ecj.jar</span></samp> file is found in
+the topmost source tree at configure time, then the &lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo;
+build will create and install <samp><span class="file">ecj1</span></samp>, and will also install the
+discovered <samp><span class="file">ecj.jar</span></samp> into a suitable place in the install tree.
+
+ <p>If <samp><span class="file">ecj1</span></samp> is not installed, then the user will have to supply one
+on his path in order for <samp><span class="command">gcj</span></samp> to properly parse <samp><span class="file">.java</span></samp>
source files. A suitable jar is available from
<a href="ftp://sourceware.org/pub/java/">ftp://sourceware.org/pub/java/</a>.
-</p>
-</dd>
-<dt><code>--disable-getenv-properties</code></dt>
-<dd><p>Don&rsquo;t set system properties from <code>GCJ_PROPERTIES</code>.
-</p>
-</dd>
-<dt><code>--enable-hash-synchronization</code></dt>
-<dd><p>Use a global hash table for monitor locks. Ordinarily,
-&lsquo;<samp>libgcj</samp>&rsquo;&rsquo;s &lsquo;<samp>configure</samp>&rsquo; script automatically makes
+
+ <br><dt><code>--disable-getenv-properties</code><dd>Don't set system properties from <samp><span class="env">GCJ_PROPERTIES</span></samp>.
+
+ <br><dt><code>--enable-hash-synchronization</code><dd>Use a global hash table for monitor locks. Ordinarily,
+&lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo;'s &lsquo;<samp><span class="samp">configure</span></samp>&rsquo; script automatically makes
the correct choice for this option for your platform. Only use
this if you know you need the library to be configured differently.
-</p>
-</dd>
-<dt><code>--enable-interpreter</code></dt>
-<dd><p>Enable the Java interpreter. The interpreter is automatically
+
+ <br><dt><code>--enable-interpreter</code><dd>Enable the Java interpreter. The interpreter is automatically
enabled by default on all platforms that support it. This option
is really only useful if you want to disable the interpreter
-(using <samp>--disable-interpreter</samp>).
-</p>
-</dd>
-<dt><code>--disable-java-net</code></dt>
-<dd><p>Disable java.net. This disables the native part of java.net only,
+(using <samp><span class="option">--disable-interpreter</span></samp>).
+
+ <br><dt><code>--disable-java-net</code><dd>Disable java.net. This disables the native part of java.net only,
using non-functional stubs for native method implementations.
-</p>
-</dd>
-<dt><code>--disable-jvmpi</code></dt>
-<dd><p>Disable JVMPI support.
-</p>
-</dd>
-<dt><code>--disable-libgcj-bc</code></dt>
-<dd><p>Disable BC ABI compilation of certain parts of libgcj. By default,
-some portions of libgcj are compiled with <samp>-findirect-dispatch</samp>
-and <samp>-fno-indirect-classes</samp>, allowing them to be overridden at
+
+ <br><dt><code>--disable-jvmpi</code><dd>Disable JVMPI support.
+
+ <br><dt><code>--disable-libgcj-bc</code><dd>Disable BC ABI compilation of certain parts of libgcj. By default,
+some portions of libgcj are compiled with <samp><span class="option">-findirect-dispatch</span></samp>
+and <samp><span class="option">-fno-indirect-classes</span></samp>, allowing them to be overridden at
run-time.
-</p>
-<p>If <samp>--disable-libgcj-bc</samp> is specified, libgcj is built without
+
+ <p>If <samp><span class="option">--disable-libgcj-bc</span></samp> is specified, libgcj is built without
these options. This allows the compile-time linker to resolve
dependencies when statically linking to libgcj. However it makes it
impossible to override the affected portions of libgcj at run-time.
-</p>
-</dd>
-<dt><code>--enable-reduced-reflection</code></dt>
-<dd><p>Build most of libgcj with <samp>-freduced-reflection</samp>. This reduces
+
+ <br><dt><code>--enable-reduced-reflection</code><dd>Build most of libgcj with <samp><span class="option">-freduced-reflection</span></samp>. This reduces
the size of libgcj at the expense of not being able to do accurate
reflection on the classes it contains. This option is safe if you
know that code using libgcj will never use reflection on the standard
runtime classes in libgcj (including using serialization, RMI or CORBA).
-</p>
-</dd>
-<dt><code>--with-ecos</code></dt>
-<dd><p>Enable runtime eCos target support.
-</p>
-</dd>
-<dt><code>--without-libffi</code></dt>
-<dd><p>Don&rsquo;t use &lsquo;<samp>libffi</samp>&rsquo;. This will disable the interpreter and JNI
-support as well, as these require &lsquo;<samp>libffi</samp>&rsquo; to work.
-</p>
-</dd>
-<dt><code>--enable-libgcj-debug</code></dt>
-<dd><p>Enable runtime debugging code.
-</p>
-</dd>
-<dt><code>--enable-libgcj-multifile</code></dt>
-<dd><p>If specified, causes all <samp>.java</samp> source files to be
-compiled into <samp>.class</samp> files in one invocation of
-&lsquo;<samp>gcj</samp>&rsquo;. This can speed up build time, but is more
+
+ <br><dt><code>--with-ecos</code><dd>Enable runtime eCos target support.
+
+ <br><dt><code>--without-libffi</code><dd>Don't use &lsquo;<samp><span class="samp">libffi</span></samp>&rsquo;. This will disable the interpreter and JNI
+support as well, as these require &lsquo;<samp><span class="samp">libffi</span></samp>&rsquo; to work.
+
+ <br><dt><code>--enable-libgcj-debug</code><dd>Enable runtime debugging code.
+
+ <br><dt><code>--enable-libgcj-multifile</code><dd>If specified, causes all <samp><span class="file">.java</span></samp> source files to be
+compiled into <samp><span class="file">.class</span></samp> files in one invocation of
+&lsquo;<samp><span class="samp">gcj</span></samp>&rsquo;. This can speed up build time, but is more
resource-intensive. If this option is unspecified or
-disabled, &lsquo;<samp>gcj</samp>&rsquo; is invoked once for each <samp>.java</samp>
-file to compile into a <samp>.class</samp> file.
-</p>
-</dd>
-<dt><code>--with-libiconv-prefix=DIR</code></dt>
-<dd><p>Search for libiconv in <samp>DIR/include</samp> and <samp>DIR/lib</samp>.
-</p>
-</dd>
-<dt><code>--enable-sjlj-exceptions</code></dt>
-<dd><p>Force use of the <code>setjmp</code>/<code>longjmp</code>-based scheme for exceptions.
-&lsquo;<samp>configure</samp>&rsquo; ordinarily picks the correct value based on the platform.
+disabled, &lsquo;<samp><span class="samp">gcj</span></samp>&rsquo; is invoked once for each <samp><span class="file">.java</span></samp>
+file to compile into a <samp><span class="file">.class</span></samp> file.
+
+ <br><dt><code>--with-libiconv-prefix=DIR</code><dd>Search for libiconv in <samp><span class="file">DIR/include</span></samp> and <samp><span class="file">DIR/lib</span></samp>.
+
+ <br><dt><code>--enable-sjlj-exceptions</code><dd>Force use of the <code>setjmp</code>/<code>longjmp</code>-based scheme for exceptions.
+&lsquo;<samp><span class="samp">configure</span></samp>&rsquo; ordinarily picks the correct value based on the platform.
Only use this option if you are sure you need a different setting.
-</p>
-</dd>
-<dt><code>--with-system-zlib</code></dt>
-<dd><p>Use installed &lsquo;<samp>zlib</samp>&rsquo; rather than that included with GCC.
-</p>
-</dd>
-<dt><code>--with-win32-nlsapi=ansi, unicows or unicode</code></dt>
-<dd><p>Indicates how MinGW &lsquo;<samp>libgcj</samp>&rsquo; translates between UNICODE
+
+ <br><dt><code>--with-system-zlib</code><dd>Use installed &lsquo;<samp><span class="samp">zlib</span></samp>&rsquo; rather than that included with GCC.
+
+ <br><dt><code>--with-win32-nlsapi=ansi, unicows or unicode</code><dd>Indicates how MinGW &lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo; translates between UNICODE
characters and the Win32 API.
-</p>
-</dd>
-<dt><code>--enable-java-home</code></dt>
-<dd><p>If enabled, this creates a JPackage compatible SDK environment during install.
+
+ <br><dt><code>--enable-java-home</code><dd>If enabled, this creates a JPackage compatible SDK environment during install.
Note that if &ndash;enable-java-home is used, &ndash;with-arch-directory=ARCH must also
be specified.
-</p>
-</dd>
-<dt><code>--with-arch-directory=ARCH</code></dt>
-<dd><p>Specifies the name to use for the <samp>jre/lib/ARCH</samp> directory in the SDK
+
+ <br><dt><code>--with-arch-directory=ARCH</code><dd>Specifies the name to use for the <samp><span class="file">jre/lib/ARCH</span></samp> directory in the SDK
environment created when &ndash;enable-java-home is passed. Typical names for this
directory include i386, amd64, ia64, etc.
-</p>
-</dd>
-<dt><code>--with-os-directory=DIR</code></dt>
-<dd><p>Specifies the OS directory for the SDK include directory. This is set to auto
-detect, and is typically &rsquo;linux&rsquo;.
-</p>
-</dd>
-<dt><code>--with-origin-name=NAME</code></dt>
-<dd><p>Specifies the JPackage origin name. This defaults to the &rsquo;gcj&rsquo; in
+
+ <br><dt><code>--with-os-directory=DIR</code><dd>Specifies the OS directory for the SDK include directory. This is set to auto
+detect, and is typically 'linux'.
+
+ <br><dt><code>--with-origin-name=NAME</code><dd>Specifies the JPackage origin name. This defaults to the 'gcj' in
java-1.5.0-gcj.
-</p>
-</dd>
-<dt><code>--with-arch-suffix=SUFFIX</code></dt>
-<dd><p>Specifies the suffix for the sdk directory. Defaults to the empty string.
-Examples include &rsquo;.x86_64&rsquo; in &rsquo;java-1.5.0-gcj-1.5.0.0.x86_64&rsquo;.
-</p>
-</dd>
-<dt><code>--with-jvm-root-dir=DIR</code></dt>
-<dd><p>Specifies where to install the SDK. Default is $(prefix)/lib/jvm.
-</p>
-</dd>
-<dt><code>--with-jvm-jar-dir=DIR</code></dt>
-<dd><p>Specifies where to install jars. Default is $(prefix)/lib/jvm-exports.
-</p>
-</dd>
-<dt><code>--with-python-dir=DIR</code></dt>
-<dd><p>Specifies where to install the Python modules used for aot-compile. DIR should
+
+ <br><dt><code>--with-arch-suffix=SUFFIX</code><dd>Specifies the suffix for the sdk directory. Defaults to the empty string.
+Examples include '.x86_64' in 'java-1.5.0-gcj-1.5.0.0.x86_64'.
+
+ <br><dt><code>--with-jvm-root-dir=DIR</code><dd>Specifies where to install the SDK. Default is $(prefix)/lib/jvm.
+
+ <br><dt><code>--with-jvm-jar-dir=DIR</code><dd>Specifies where to install jars. Default is $(prefix)/lib/jvm-exports.
+
+ <br><dt><code>--with-python-dir=DIR</code><dd>Specifies where to install the Python modules used for aot-compile. DIR should
not include the prefix used in installation. For example, if the Python modules
are to be installed in /usr/lib/python2.5/site-packages, then
&ndash;with-python-dir=/lib/python2.5/site-packages should be passed. If this is
not specified, then the Python modules are installed in $(prefix)/share/python.
-</p>
-</dd>
-<dt><code>--enable-aot-compile-rpm</code></dt>
-<dd><p>Adds aot-compile-rpm to the list of installed scripts.
-</p>
-</dd>
-<dt><code>--enable-browser-plugin</code></dt>
-<dd><p>Build the gcjwebplugin web browser plugin.
-</p>
-</dd>
-<dt><code>--enable-static-libjava</code></dt>
-<dd><p>Build static libraries in libjava. The default is to only build shared
+
+ <br><dt><code>--enable-aot-compile-rpm</code><dd>Adds aot-compile-rpm to the list of installed scripts.
+
+ <br><dt><code>--enable-browser-plugin</code><dd>Build the gcjwebplugin web browser plugin.
+
+ <br><dt><code>--enable-static-libjava</code><dd>Build static libraries in libjava. The default is to only build shared
libraries.
-</p>
-<dl compact="compact">
-<dt><code>ansi</code></dt>
-<dd><p>Use the single-byte <code>char</code> and the Win32 A functions natively,
+
+ <dl>
+<dt><code>ansi</code><dd>Use the single-byte <code>char</code> and the Win32 A functions natively,
translating to and from UNICODE when using these functions. If
unspecified, this is the default.
-</p>
-</dd>
-<dt><code>unicows</code></dt>
-<dd><p>Use the <code>WCHAR</code> and Win32 W functions natively. Adds
-<code>-lunicows</code> to <samp>libgcj.spec</samp> to link with &lsquo;<samp>libunicows</samp>&rsquo;.
-<samp>unicows.dll</samp> needs to be deployed on Microsoft Windows 9X machines
-running built executables. <samp>libunicows.a</samp>, an open-source
-import library around Microsoft&rsquo;s <code>unicows.dll</code>, is obtained from
+
+ <br><dt><code>unicows</code><dd>Use the <code>WCHAR</code> and Win32 W functions natively. Adds
+<code>-lunicows</code> to <samp><span class="file">libgcj.spec</span></samp> to link with &lsquo;<samp><span class="samp">libunicows</span></samp>&rsquo;.
+<samp><span class="file">unicows.dll</span></samp> needs to be deployed on Microsoft Windows 9X machines
+running built executables. <samp><span class="file">libunicows.a</span></samp>, an open-source
+import library around Microsoft's <code>unicows.dll</code>, is obtained from
<a href="http://libunicows.sourceforge.net/">http://libunicows.sourceforge.net/</a>, which also gives details
-on getting <samp>unicows.dll</samp> from Microsoft.
-</p>
-</dd>
-<dt><code>unicode</code></dt>
-<dd><p>Use the <code>WCHAR</code> and Win32 W functions natively. Does <em>not</em>
-add <code>-lunicows</code> to <samp>libgcj.spec</samp>. The built executables will
-only run on Microsoft Windows NT and above.
-</p></dd>
-</dl>
-</dd>
-</dl>
+on getting <samp><span class="file">unicows.dll</span></samp> from Microsoft.
-<a name="AWT_002dSpecific-Options"></a>
-<h4 class="subsubheading">AWT-Specific Options</h4>
-
-<dl compact="compact">
-<dt><code>--with-x</code></dt>
-<dd><p>Use the X Window System.
-</p>
-</dd>
-<dt><code>--enable-java-awt=PEER(S)</code></dt>
-<dd><p>Specifies the AWT peer library or libraries to build alongside
-&lsquo;<samp>libgcj</samp>&rsquo;. If this option is unspecified or disabled, AWT
-will be non-functional. Current valid values are <samp>gtk</samp> and
-<samp>xlib</samp>. Multiple libraries should be separated by a
-comma (i.e. <samp>--enable-java-awt=gtk,xlib</samp>).
-</p>
-</dd>
-<dt><code>--enable-gtk-cairo</code></dt>
-<dd><p>Build the cairo Graphics2D implementation on GTK.
-</p>
-</dd>
-<dt><code>--enable-java-gc=TYPE</code></dt>
-<dd><p>Choose garbage collector. Defaults to <samp>boehm</samp> if unspecified.
-</p>
-</dd>
-<dt><code>--disable-gtktest</code></dt>
-<dd><p>Do not try to compile and run a test GTK+ program.
-</p>
-</dd>
-<dt><code>--disable-glibtest</code></dt>
-<dd><p>Do not try to compile and run a test GLIB program.
-</p>
-</dd>
-<dt><code>--with-libart-prefix=PFX</code></dt>
-<dd><p>Prefix where libart is installed (optional).
-</p>
-</dd>
-<dt><code>--with-libart-exec-prefix=PFX</code></dt>
-<dd><p>Exec prefix where libart is installed (optional).
-</p>
-</dd>
-<dt><code>--disable-libarttest</code></dt>
-<dd><p>Do not try to compile and run a test libart program.
-</p>
-</dd>
+ <br><dt><code>unicode</code><dd>Use the <code>WCHAR</code> and Win32 W functions natively. Does <em>not</em>
+add <code>-lunicows</code> to <samp><span class="file">libgcj.spec</span></samp>. The built executables will
+only run on Microsoft Windows NT and above.
</dl>
+ </dl>
-<a name="Overriding-configure-test-results"></a>
-<h4 class="subsubheading">Overriding <code>configure</code> test results</h4>
+<h5 class="subsubheading"><a name="TOC6"></a>AWT-Specific Options</h5>
-<p>Sometimes, it might be necessary to override the result of some
-<code>configure</code> test, for example in order to ease porting to a new
-system or work around a bug in a test. The toplevel <code>configure</code>
-script provides three variables for this:
-</p>
-<dl compact="compact">
-<dt><code>build_configargs</code></dt>
-<dd><a name="index-build_005fconfigargs"></a>
-<p>The contents of this variable is passed to all build <code>configure</code>
-scripts.
-</p>
-</dd>
-<dt><code>host_configargs</code></dt>
-<dd><a name="index-host_005fconfigargs"></a>
-<p>The contents of this variable is passed to all host <code>configure</code>
-scripts.
-</p>
-</dd>
-<dt><code>target_configargs</code></dt>
-<dd><a name="index-target_005fconfigargs"></a>
-<p>The contents of this variable is passed to all target <code>configure</code>
-scripts.
-</p>
-</dd>
-</dl>
+ <dl>
+<dt><code>--with-x</code><dd>Use the X Window System.
-<p>In order to avoid shell and <code>make</code> quoting issues for complex
-overrides, you can pass a setting for <code>CONFIG_SITE</code> and set
-variables in the site file.
-</p>
-<hr />
-<p><p><a href="./index.html">Return to the GCC Installation page</a>
-</p>
+ <br><dt><code>--enable-java-awt=PEER(S)</code><dd>Specifies the AWT peer library or libraries to build alongside
+&lsquo;<samp><span class="samp">libgcj</span></samp>&rsquo;. If this option is unspecified or disabled, AWT
+will be non-functional. Current valid values are <samp><span class="option">gtk</span></samp> and
+<samp><span class="option">xlib</span></samp>. Multiple libraries should be separated by a
+comma (i.e. <samp><span class="option">--enable-java-awt=gtk,xlib</span></samp>).
+
+ <br><dt><code>--enable-gtk-cairo</code><dd>Build the cairo Graphics2D implementation on GTK.
+
+ <br><dt><code>--enable-java-gc=TYPE</code><dd>Choose garbage collector. Defaults to <samp><span class="option">boehm</span></samp> if unspecified.
+
+ <br><dt><code>--disable-gtktest</code><dd>Do not try to compile and run a test GTK+ program.
+
+ <br><dt><code>--disable-glibtest</code><dd>Do not try to compile and run a test GLIB program.
+
+ <br><dt><code>--with-libart-prefix=PFX</code><dd>Prefix where libart is installed (optional).
+ <br><dt><code>--with-libart-exec-prefix=PFX</code><dd>Exec prefix where libart is installed (optional).
+ <br><dt><code>--disable-libarttest</code><dd>Do not try to compile and run a test libart program.
+</dl>
+<h5 class="subsubheading"><a name="TOC7"></a>Overriding <samp><span class="command">configure</span></samp> test results</h5>
+<p>Sometimes, it might be necessary to override the result of some
+<samp><span class="command">configure</span></samp> test, for example in order to ease porting to a new
+system or work around a bug in a test. The toplevel <samp><span class="command">configure</span></samp>
+script provides three variables for this:
+ <dl>
+<dt><code>build_configargs</code><dd><a name="index-g_t_0040code_007bbuild_005fconfigargs_007d-3"></a>The contents of this variable is passed to all build <samp><span class="command">configure</span></samp>
+scripts.
+ <br><dt><code>host_configargs</code><dd><a name="index-g_t_0040code_007bhost_005fconfigargs_007d-4"></a>The contents of this variable is passed to all host <samp><span class="command">configure</span></samp>
+scripts.
+ <br><dt><code>target_configargs</code><dd><a name="index-g_t_0040code_007btarget_005fconfigargs_007d-5"></a>The contents of this variable is passed to all target <samp><span class="command">configure</span></samp>
+scripts.
+
+ </dl>
+
+ <p>In order to avoid shell and <samp><span class="command">make</span></samp> quoting issues for complex
+overrides, you can pass a setting for <samp><span class="env">CONFIG_SITE</span></samp> and set
+variables in the site file.
+ <p><hr />
+<p><a href="./index.html">Return to the GCC Installation page</a>
+<!-- ***Building**************************************************************** -->
+<!-- ***Testing***************************************************************** -->
+<!-- ***Final install*********************************************************** -->
+<!-- ***Binaries**************************************************************** -->
+<!-- ***Specific**************************************************************** -->
+<!-- ***Old documentation****************************************************** -->
+<!-- ***GFDL******************************************************************** -->
+<!-- *************************************************************************** -->
+<!-- Part 6 The End of the Document -->
+</body></html>
-</body>
-</html>