From 0435269a764312008a34152f04254fa5024fba72 Mon Sep 17 00:00:00 2001
From: Phil Edwards The latest version of this document is always available at
@@ -124,20 +124,20 @@
( Next, unpack the libstdc++-v3 library tarball into this
gccsrcdir directory; it will create a
libsrcdir called libstdc++-v3 INSTALL
+libstdc++-v3 INSTALL
gcc or gcc-3.0, for example) is gccsrcdir.
Once in gccsrcdir, you'll need to rename or delete the
libstdc++-v3 directory which comes with that snapshot:
-
+
mv libstdc++-v3 libstdc++-v3-previous [OR]
- rm -r libstdc++-v3
+ rm -r libstdc++-v3libstdc++-version:
-
- gzip -dc libstdc++-version.tar.gz | tar xf -
+
+ gzip -dc libstdc++-version.tar.gz | tar xf -
Finally, rename libsrcdir to libstdc++-v3 so that
gcc's configure flags will be able to deal with the new library.
-
- mv libsrcdir libstdc++-v3+
+ mv libsrcdir libstdc++-v3@@ -156,9 +156,9 @@ building the C++ language parts. -
+
cd gccbuilddir
- gccsrcdir/configure --prefix=destdir --other-opts...
+ gccsrcdir/configure --prefix=destdir --other-opts...
@@ -178,8 +178,8 @@
To rebuild just libstdc++, use: -
- make all-target-libstdc++-v3+
+ make all-target-libstdc++-v3This will configure and build the C++ library in the gccbuilddir/cpu-vendor-os/libstdc++ directory. @@ -193,12 +193,12 @@ simply edit it and remove lines.
You're done. Now install the rebuilt pieces with -
- make install+
+ make installor -
+
make install-gcc
- make install-target-libstdc++-v3
+ make install-target-libstdc++-v3
@@ -206,20 +206,20 @@
Installation will create the destdir directory and populate it with subdirectories: -
+
lib/
include/g++-v3/
backward/
bits/
cpu-vendor-os/bits/
- ext/
+ ext/
You can check the status of the build without installing it using -
- make check+
+ make checkor you can check the status of the installed library using -
- make check-install+
+ make check-installin the libbuilddir directory. These commands will create a 'testsuite' directory underneath libbuilddir containing the results of the tests. We are @@ -280,10 +280,10 @@
+
See license.html for copying conditions.
Comments and suggestions are welcome, and may be sent to
-the mailing list.
+the libstdc++ mailing list.