<TITLE>libstdc++-v3 configure options</TITLE>
<LINK REL="home" HREF="http://sources.redhat.com/libstdc++/">
<LINK REL=StyleSheet HREF="lib3styles.css">
-<!-- $Id: configopts.html,v 1.9 2000/10/09 08:55:05 bkoz Exp $ -->
+<!-- $Id: configopts.html,v 1.10 2000/10/15 08:45:32 bkoz Exp $ -->
</HEAD>
<BODY>
all have opposite forms as well</A>
(enable/disable and with/without). The defaults are for the latest
snapshot, 2.90.8.
-<P>
- The canonical way to find out the configure options that are
+</P>
+<P>The canonical way to find out the configure options that are
available for a given set of libstdc++ sources is to go to the
- source directory and then type: <TT> ./config --help </TT>
+ source directory and then type:<TT> ./configure --help</TT>
<DL>
<DT><TT>--enable-multilib </TT>[default]
- <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.
+ <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>
<DT><TT>--enable-debug </TT>
libstdc++-v3 is used.) The --disable variant will put all std::
symbols into the global namespace.
</P>
+ <P>This option has been removed in current sources; disabling
+ namespaces is just not possible.
+ </P>
<DT><TT>--enable-cshadow-headers </TT>
<DD><P>This turns on the code to construct shadowed C headers, and to
2.90.8, 'single' and 'posix' are the only implemented models.
</P>
- <DT><TT>--enable-libgcc-rebuild=DIR / --disable-libgcc-rebuild</TT>
- <DD><P>This is a grueling temporary hack no matter which way you look
- at it. It's described in <A HREF="gccrebuild.html">its own
- little page</A>. Note that other --enable flags will
- interact with this one. In libstdc++-v3 snapshot 2.90.8,
- this is enabled by default, with DIR set to
- <TT> '../..' </TT>, so that building the complete GCC sources
- with libstdc++-v3 in place works transparently. Since then,
- library sources have been merged into the compiler sources,
- and this option has been removed.
- </P>
-
<DT><TT>--enable-version-specific-runtime-libs</TT>
-<DD><P>Uses the compiler file "gcc/version.c" to determine the
- compiler version.
+ <DD><P>Uses the compiler file "gcc/version.c" to determine the compiler
+ version.
</P>
- <DT><TT>--with-gxx-include-dir=<include-files dir></TT>
- <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"
-<TT>
---with-gxx-include-dir=/mnt/hd/bliss/H-x86-gcc-3-c-gxx-inc/include/2.97-20001008</TT>
+ <DT><TT>--with-gxx-include-dir=<include-files dir></TT>
+ <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".
+ <PRE>
+ --with-gxx-include-dir=/foo/H-x86-gcc-3-c-gxx-inc/include/2.97-20001008</PRE>
</P>
-
<DT><TT>--enable-cxx-flags=FLAGS</TT>
<DD><P>With this option, you can pass a string of -f (functionality)
flags to the compiler to use when building libstdc++. FLAGS
<HR>
<P CLASS="fineprint"><EM>
-$Id: configopts.html,v 1.9 2000/10/09 08:55:05 bkoz Exp $
+$Id: configopts.html,v 1.10 2000/10/15 08:45:32 bkoz Exp $
</EM></P>