diff options
Diffstat (limited to 'libstdc++-v3/docs/html/configopts.html')
-rw-r--r-- | libstdc++-v3/docs/html/configopts.html | 74 |
1 files changed, 45 insertions, 29 deletions
diff --git a/libstdc++-v3/docs/html/configopts.html b/libstdc++-v3/docs/html/configopts.html index 4fae265..296c509 100644 --- a/libstdc++-v3/docs/html/configopts.html +++ b/libstdc++-v3/docs/html/configopts.html @@ -1,12 +1,11 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> - <meta name="AUTHOR" content="pme@gcc.gnu.org (Phil Edwards)"> - <meta name="KEYWORDS" content="libstdc++, libstdc++-v3, GCC, g++"> - <meta name="DESCRIPTION" content="Configuration options for libstdc++-v3."> - <meta name="GENERATOR" content="vi and eight fingers"> + <meta name="AUTHOR" content="pme@gcc.gnu.org (Phil Edwards)" /> + <meta name="KEYWORDS" content="libstdc++, libstdc++-v3, GCC, g++" /> + <meta name="DESCRIPTION" content="Configuration options for libstdc++-v3." /> + <meta name="GENERATOR" content="vi and eight fingers" /> <title>libstdc++-v3 configure options</title> -<link rel="StyleSheet" href="lib3styles.css"> +<link rel="StyleSheet" href="lib3styles.css" /> </head> <body> @@ -19,10 +18,10 @@ options</a></h1> </p> <p>To the <a href="http://gcc.gnu.org/libstdc++/">libstdc++-v3 homepage</a>. - +</p> <!-- ####################################################### --> -<hr> +<hr /> <p>Here are some of the non-obvious options to libstdc++'s configure. Keep in mind that <!-- This SECnn should be the "Choosing Package Options" section. --> @@ -37,15 +36,16 @@ options</a></h1> </p> <dl> - <dt><code>--enable-multilib </code>[default] + <dt><code>--enable-multilib </code>[default]</dt> <dd><p>This is part of the generic multilib support for building cross compilers. As such, targets like "powerpc-elf" will have libstdc++ built many different ways: "-msoft-float" and not, etc. A different libstdc++ will be built for each of the different multilib versions. This option is on by default. </p> + </dd> - <dt><code>--enable-debug </code> + <dt><code>--enable-debug </code></dt> <dd><p>The configure script will automatically detect the highest level of optimization that the compiler in use can use. This --enable flag will disable all optimizations and instruct @@ -55,13 +55,15 @@ options</a></h1> configuration difference: <code>make CXXFLAGS='-g -O0' all</code> </p> + </dd> - <dt><code>--enable-cstdio </code> + <dt><code>--enable-cstdio </code></dt> <dd><p>This is an abbreviated form of <code>'--enable-cstdio=stdio'</code> (described next). </p> + </dd> - <dt><code>--enable-cstdio=LIB </code> + <dt><code>--enable-cstdio=LIB </code></dt> <dd><p>Select a target-specific I/O package. As of libstdc++-v3 snapshot 3.0.96, the choices are 'libio' to specify the GNU I/O package (from @@ -70,32 +72,36 @@ options</a></h1> abstraction. The default is 'stdio'. A longer explanation is <a href="explanations.html#cstdio">here</a>. </p> + </dd> - <dt><code>--enable-sjlj-exceptions </code> + <dt><code>--enable-sjlj-exceptions </code></dt> <dd><p>Forces old, set-jump/long-jump exception handling model. If at all possible, the new, frame unwinding exception handling routines should be used instead, as they significantly reduce both runtime memory usage and executable size. </p> + </dd> - <dt><code>--enable-clocale </code> + <dt><code>--enable-clocale </code></dt> <dd><p>This is an abbreviated form of <code>'--enable-clocale=generic'</code> (described next). </p> + </dd> - <dt><code>--enable-clocale=MODEL </code> + <dt><code>--enable-clocale=MODEL </code></dt> <dd><p>Select a target-specific underlying locale package. The choices are 'ieee_1003.1-2001' to specify an X/Open, Standard Unix (IEEE Std. 1003.1-2001) model based on langinfo/iconv/catgets, 'gnu' to specify a model based on functionality from the GNU C - library (langinfo/iconv/gettext) (from <A + library (langinfo/iconv/gettext) (from <a href="http://sources.redhat.com/glibc/">glibc</a>, the GNU C library), or 'generic' to use a generic "C" abstraction which consists of "C" locale info. The default is 'generic'. </p> + </dd> - <dt><code>--enable-c99 </code> + <dt><code>--enable-c99 </code></dt> <dd><p>The "long long" type was introduced in C99, along with many other functions for wide characters, and math classification macros, etc. If enabled, all C99 functions not @@ -108,8 +114,9 @@ options</a></h1> configure probes find all the necessary functions and bits necessary. </p> + </dd> - <dt><code>--enable-long-long </code> + <dt><code>--enable-long-long </code></dt> <dd><p>The "long long" type was introduced in C99. It is provided as a GNU extension to C++98 in g++. This flag builds support for "long long" into the library (specialized @@ -121,26 +128,30 @@ options</a></h1> the flag is -D_ISOC99_SOURCE, which is added automatically via CPLUSPLUS_CPP_SPEC's addition of _GNU_SOURCE). </p> + </dd> - <dt><code>--enable-cheaders=OPTION </code> + <dt><code>--enable-cheaders=OPTION </code></dt> <dd><p>This allows the user to define what kind of C headers are used. Options are: c, c_std, and c_shadow. These correspond to the source directory's include/c, include/c_std, and include/c_shadow directories. The default is c_std. </p> + </dd> - <dt><code>--enable-threads </code> + <dt><code>--enable-threads </code></dt> <dd><p>This is an abbreviated form of <code>'--enable-threads=yes'</code> (described next). </p> + </dd> - <dt><code>--enable-threads=LIB </code> + <dt><code>--enable-threads=LIB </code></dt> <dd><p>Select a threading library. A full description is given in the general <a href="http://gcc.gnu.org/install/configure.html">compiler configuration instructions</a>. </p> + </dd> - <dt><code>--enable-version-specific-runtime-libs </code> + <dt><code>--enable-version-specific-runtime-libs </code></dt> <dd><p>Specify that run-time libraries should be installed in the compiler-specific subdirectory (i.e., <code>${libdir}/gcc-lib/${target_alias}/${gcc_version}</code>) @@ -151,17 +162,18 @@ options</a></h1> unless you also specify <code>--with-gxx-include-dir=<em>dirname</em></code> during configuration. </p> + </dd> - <dt><code>--with-gxx-include-dir=<include-files dir></code> + <dt><code>--with-gxx-include-dir=<include-files dir></code></dt> <dd><p>Adds support for named libstdc++ include directory. For instance, the following puts all the libstdc++ headers into a directory called "2.97-20001008" instead of the usual "g++-v3". </p> <pre> - --with-gxx-include-dir=/foo/H-x86-gcc-3-c-gxx-inc/include/2.97-20001008</pre> + --with-gxx-include-dir=/foo/H-x86-gcc-3-c-gxx-inc/include/2.97-20001008</pre> </dd> - <dt><code>--enable-cxx-flags=FLAGS</code> + <dt><code>--enable-cxx-flags=FLAGS</code></dt> <dd><p>With this option, you can pass a string of -f (functionality) flags to the compiler to use when building libstdc++. FLAGS is a quoted string of options, like @@ -188,8 +200,9 @@ options</a></h1> <p>and opposite forms (-fno-) of the same. Tell us (the libstdc++ mailing list) if you discover more! </p> + </dd> - <dt><code>--enable-c-mbchar </code>[default] + <dt><code>--enable-c-mbchar </code>[default]</dt> <dd><p>Certain template specializations are required for wide character conversion support. This is tricky and currently changing rapidly, and can cause problems on new platforms. @@ -197,16 +210,18 @@ options</a></h1> porting steps, but builds only a subset of what is required by ISO. By default, this option is on. </p> + </dd> - <dt><code>--enable-concept-checks </code> + <dt><code>--enable-concept-checks </code></dt> <dd><p>This turns on additional compile-time checks for instantiated library templates, in the form of specialized templates, <a href="19_diagnostics/howto.html#3">described here</a>. They can help users discover when they break the rules of the STL, before their programs run. </p> + </dd> - <dt><code>--enable-symvers[=style] </code> + <dt><code>--enable-symvers[=style] </code></dt> <dd><p>In 3.1, tries to turn on symbol versioning in the shared library (if a shared library has been requested). The only 'style' currently supported is 'gnu' which requires that a recent version of the GNU @@ -214,6 +229,7 @@ options</a></h1> try to guess if the 'gnu' style can be used, and if so, will turn it on. Hopefully people will volunteer to do other 'style' options. </p> + </dd> </dl> <p>Return <a href="#top">to the top of the page</a> or <a href="http://gcc.gnu.org/libstdc++/">to the libstdc++ homepage</a>. @@ -222,7 +238,7 @@ options</a></h1> <!-- ####################################################### --> -<hr> +<hr /> <p class="fineprint"><em> See <a href="17_intro/license.html">license.html</a> for copying conditions. Comments and suggestions are welcome, and may be sent to |