From fc7f0a806cd0ade2c93bebca3f97ea5ee5eedcc2 Mon Sep 17 00:00:00 2001
From: Phil Edwards Here are some of the non-obvious options to libstdc++'s configure.
Keep in mind that
- they
+ they
all have opposite forms as well
(enable/disable and with/without). The defaults are for current
development sources.
@@ -46,14 +46,13 @@ options
The configure script will automatically detect the highest
- level of optimization that the compiler in use can use
- (certain versions of g++ will ICE if given the --enable-debug
-O2
- option, but this is fixed in later versions of the compiler).
+ level of optimization that the compiler in use can use.
This --enable flag will disable all optimizations and instruct
the compiler to emit as much extra debugging information as it
- can, for use inside GDB. Note this make command, executed in
+ can, for use inside GDB. Note this make command, executed in
the build directory, will do much the same thing, without the
- configuration difference:make CXXFLAGS='-g -O0' all
+ configuration difference:
+ make CXXFLAGS='-g -O0' all
--enable-cstdio
diff --git a/libstdc++-v3/docs/html/install.html b/libstdc++-v3/docs/html/install.html
index ff35104..a76a932 100644
--- a/libstdc++-v3/docs/html/install.html
+++ b/libstdc++-v3/docs/html/install.html
@@ -73,7 +73,7 @@
with C++ exception handling related to this change in
libstdc++-v3). The version of these tools should be
2.10.90
, or later, and you can get snapshots (as
- well as releases) of binutils
+ well as releases) of binutils
here. The
configure process will automatically detect and use these
features if the underlying support is present.
@@ -87,7 +87,7 @@
configure process will automatically detect and use these
features if the underlying support is present.
Finally, a few system-specific requirements:
To install + after locales are installed is not necessary. + +
To install support for locales, do only one of the following:
-
export LC_ALL=C
rpm -e glibc-common --nodeps
rpm -i --define "_install_langs all"
- glibc-common-2.2.5-34.i386.rpm
localedef -i de_DE -f ISO-8859-1 de_DE
export LC_ALL=C
rpm -e glibc-common --nodeps
rpm -i --define "_install_langs all"
+ glibc-common-2.2.5-34.i386.rpm
localedef -i de_DE -f ISO-8859-1 de_DE
To rebuild just libstdc++, use:
- make all-target-libstdc++-v3+ make all-target-libstdc++-v3 This will configure and build the C++ library in the gccbuilddir/cpu-vendor-os/libstdc++ directory. @@ -232,7 +232,7 @@
You're done. Now install the rebuilt pieces with
make install- or + or
make install-gcc make install-target-libstdc++-v3-- cgit v1.1