install.texi (--enable-shared): List package names recognized by GCC.
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 13 Jun 2001 07:11:59 +0000 (07:11 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 13 Jun 2001 07:11:59 +0000 (07:11 +0000)
* doc/install.texi (--enable-shared): List package names
recognized by GCC.

From-SVN: r43308

gcc/ChangeLog
gcc/doc/install.texi

index 92c267f188ef1c61da53d696169c2f9e167396c6..7761aa5e3769d32ee0fd2166ced34877bbdcfdde 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 940b4aadf6e7e53180bdafd57c8d781cd0d7ef5b..20d2bca77462e770e0cdbbc966c9022b6ca6c97e 100644 (file)
@@ -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