This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libobjc] committed, shared libraries

> > 
> > On Fri, 11 Jun 2004, Andrew Pinski wrote:
> > 
> > > I noticed this while working on getting libobjc back running
> > > on Darwin.  Libobjc was disabling shared libaries by default
> > > unlike the other target libraries.  This patch fixes that
> > > tested on powerpc-apple-darwin with a patch to the top level
> > > configure to build libobjc there.
> > 
> > You need to update the documentation of --enable-shared to reflect this
> > change.
> > 
> > If --enable-shared=libobjc is recognised, the documentation should reflect
> > that as well.  (Do libgfortran and libmudflap have --enable-shared=package
> > configure options?  The documentation doesn't say either way.)  In
> > addition, the documentation of --enable-version-specific-runtime-libs says
> > it is the default for libobjc, which no longer seems accurate.
> Woops I do not noticed the documenation.  This will fixed with my next patch
> after this one which adds support for --enable-shared=libobjc which I committed
> after testing it.

And here is the patch which updates the documenation, it also removes the reference
libf2c which was wrong any ways.  Also --enable-version-specific-runtime-libs is still
the default for libobjc as the headers are still installed in

Andrew Pinski

	* doc/install.texi (--enable-shared): Update libobjc's shared library status.
	Remove reference to libf2c.

Index: install.texi
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.286
diff -u -p -r1.286 install.texi
--- install.texi        11 Jun 2004 16:50:08 -0000      1.286
+++ install.texi        11 Jun 2004 20:12:04 -0000
@@ -756,20 +756,15 @@ installing GCC creates the directory.
 @item --enable-shared[=@var{package}[,@dots{}]]
 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,
-except for @samp{libobjc} which is built as a static library only by
+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},
-@samp{ada}, @samp{libada} 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 will only get static Objective-C libraries.  @samp{libf2c} and
-@samp{libiberty} do not support shared libraries at all.
+@samp{ada}, @samp{libada}, @samp{libjava} and @samp{libobjc}.
+Note @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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]