aboutsummaryrefslogtreecommitdiff
path: root/gcc/install.texi
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-01-14 13:57:58 -0700
committerJeff Law <law@gcc.gnu.org>1998-01-14 13:57:58 -0700
commitc85f7c16ad9bed5d4732a4624c049da5a5f33085 (patch)
tree028c0425d9847ebff16ca9566dcf696998e902b9 /gcc/install.texi
parent60db002df5f6244493a8f2d52277994bdd071938 (diff)
downloadgcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.zip
gcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.tar.gz
gcc-c85f7c16ad9bed5d4732a4624c049da5a5f33085.tar.bz2
Bring in final gcc-2.8.0 changes.
From-SVN: r17355
Diffstat (limited to 'gcc/install.texi')
-rw-r--r--gcc/install.texi55
1 files changed, 47 insertions, 8 deletions
diff --git a/gcc/install.texi b/gcc/install.texi
index 2c9bdf3..9d8e363 100644
--- a/gcc/install.texi
+++ b/gcc/install.texi
@@ -1,4 +1,4 @@
-@c Copyright (C) 1988,89,92,93,94,95,96,97 Free Software Foundation, Inc.
+@c Copyright (C) 1988,89,92,93,94,95,96,97,1998 Free Software Foundation, Inc.
@c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi.
@@ -534,12 +534,51 @@ since they usually run faster than the ones compiled with some other
compiler.)
@item
+@cindex C++ runtime library
+@cindex @code{libstdc++}
If you're going to use C++, it's likely that you need to also install
-the libg++ distribution. It should be available from the same
-place where you got the GNU C distribution. Just as GNU C does not
-distribute a C runtime library, it also does not include a C++ run-time
+a C++ runtime library. Just as GNU C does not
+distribute a C runtime library, it also does not include a C++ runtime
library. All I/O functionality, special class libraries, etc., are
-available in the libg++ distribution.
+provided by the C++ runtime library.
+
+Here's one way to build and install a C++ runtime library for GNU CC:
+
+@itemize @bullet
+@item
+Build and install GNU CC, so that invoking @samp{gcc} obtains the GNU CC
+that was just built.
+
+@item
+Obtain a copy of a compatible @samp{libstdc++} distribution. For
+example, the @samp{libstdc++-2.8.0.tar.gz} distribution should be
+compatible with GCC 2.8.0. GCC distributors normally distribute
+@samp{libstdc++} as well.
+
+@item
+Set the @samp{CXX} environment variable to @samp{gcc} while running the
+@samp{libstdc++} distribution's @file{configure} command. Use the same
+@file{configure} options that you used when you invoked GCC's
+@file{configure} command.
+
+@item
+Invoke @samp{make} to build the C++ runtime.
+
+@item
+Invoke @samp{make install} to install the C++ runtime.
+
+@end itemize
+
+To summarize, after building and installing GNU CC, invoke the following
+shell commands in the topmost directory of the C++ library distribution.
+For @var{configure-options}, use the same options that
+you used to configure GNU CC.
+
+@example
+$ CXX=gcc ./configure @var{configure-options}
+$ make
+$ make install
+@end example
@item
GNU CC includes a runtime library for Objective-C because it is an
@@ -2027,8 +2066,8 @@ $ assign /system /translation=concealed -
@noindent
with the appropriate disk and directory name. If you are going to be
-using libg++, this is where the libg++ install procedure will install
-the libg++ header files.
+using a C++ runtime library, this is where its install procedure will install
+its header files.
@item
Obtain the file @file{gcc-cc1plus.exe}, and place this in the same
@@ -2297,7 +2336,7 @@ are already suitable for ANSI C and GNU CC, nothing special need be
done).
@code{GPLUS_INCLUDE_DIR} means the same thing for native and cross. It
-is where @code{g++} looks first for header files. @code{libg++}
+is where @code{g++} looks first for header files. The C++ library
installs only target independent header files in that directory.
@code{LOCAL_INCLUDE_DIR} is used only for a native compiler. It is