From: Alexandre Oliva Date: Wed, 13 Jun 2001 07:11:59 +0000 (+0000) Subject: install.texi (--enable-shared): List package names recognized by GCC. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cb98517cb6d7611bb34b97e8e654a6790726519;p=gcc.git install.texi (--enable-shared): List package names recognized by GCC. * doc/install.texi (--enable-shared): List package names recognized by GCC. From-SVN: r43308 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92c267f188e..7761aa5e376 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-06-13 Alexandre Oliva + + * doc/install.texi (--enable-shared): List package names + recognized by GCC. + 2001-06-13 Alexandre Oliva * doc/install.texi (ix86-*-solaris*): Removed, outdated. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 940b4aadf6e..20d2bca7746 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