aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-06-13 07:11:59 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-06-13 07:11:59 +0000
commit0cb98517cb6d7611bb34b97e8e654a6790726519 (patch)
tree08b7e667d4a3af4238d76f5c1904503c200cceb2
parent63f39cc98233f3fc49b3e510f4469ef7ca52033b (diff)
downloadgcc-0cb98517cb6d7611bb34b97e8e654a6790726519.zip
gcc-0cb98517cb6d7611bb34b97e8e654a6790726519.tar.gz
gcc-0cb98517cb6d7611bb34b97e8e654a6790726519.tar.bz2
install.texi (--enable-shared): List package names recognized by GCC.
* doc/install.texi (--enable-shared): List package names recognized by GCC. From-SVN: r43308
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/install.texi26
2 files changed, 24 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92c267f..7761aa5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-06-13 Alexandre Oliva <aoliva@redhat.com>
+ * doc/install.texi (--enable-shared): List package names
+ recognized by GCC.
+
+2001-06-13 Alexandre Oliva <aoliva@redhat.com>
+
* doc/install.texi (ix86-*-solaris*): Removed, outdated.
(*-*-solaris*): Document problem in /bin/sh that affects
configuring libraries.
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 940b4aa..20d2bca 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -33,7 +33,7 @@
@settitle Installing GCC: Binaries
@end ifset
-@comment $Id: install.texi,v 1.20 2001/06/12 19:36:53 jsm28 Exp $
+@comment $Id: install.texi,v 1.21 2001/06/13 03:38:52 aoliva Exp $
@c Copyright (C) 2001 Free Software Foundation, Inc.
@c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
@@ -380,12 +380,24 @@ ideas of what it is for. People use it as if it specified where to
install part of GCC. Perhaps they make this assumption because
installing GCC creates the directory.
-@item --enable-shared
-Build shared versions of the
-C++ runtime libraries if supported. This is the default on most
-systems. Use @option{--disable-shared} for static libraries. Note that
-up to the gcc version 2.95.x series, static libraries were the default
-on all systems.
+@item --enable-shared[=@var{package}[,...]]
+Build shared versions of libraries, if shared libraries are supported on
+the target platform. Unlike GCC 2.95.x and earlier, shared libraries
+are enabled by default on all platforms that support shared libraries.
+
+If a list of packages is given as an argument, build shared libraries
+only for the listed packages. For other packages, only static libraries
+will be built. Package names currently recognized in the GCC tree are
+@samp{libgcc} (also known as @samp{gcc}), @samp{libstdc++} (not
+@samp{libstdc++-v3}), @samp{libffi}, @samp{zlib}, @samp{boehm-gc} and
+@samp{libjava}. Note that @samp{libobjc} does not recognize itself by
+any name, so, if you list package names in @option{--enable-shared},
+you'll only get static Objective C libraries. @samp{libf2c} and
+@samp{libiberty} do not support shared libraries at all.
+
+Use @option{--disable-shared} to build only static libraries. Note that
+@option{--disable-shared} does not accept a list of package names as
+argument, only @option{--enable-shared} does.
@item @anchor{with-gnu-as}--with-gnu-as
Specify that the compiler should assume that the