Skip site navigation (1)Skip section navigation (2)
Date:      24 Mar 1999 14:30:14 -0500
From:      Ian Lance Taylor <ian@airs.com>
To:        patl@phoenix.volant.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD FAQ and a.out
Message-ID:  <19990324193014.8035.qmail@comton.airs.com>
In-Reply-To: <ML-3.3.922298579.3061.patl@asimov>

next in thread | previous in thread | raw e-mail | index | archive | help
   Date: Wed, 24 Mar 1999 10:02:59 -0800 (PST)
   From: patl@phoenix.volant.org

   > We did encourage people to move to ELF, because it is better.  It
   > supports multiple sections, permits the alignment of those sections to
   > be set individually, and it provides shared library support that is as
   > good as SunOS and is easier to understand.  ...

   It is as good or better except for one thing.  It doesn't support
   minor revision numbers on libraries.  I know this can be something
   of a religious issue; but I still believe that their advantages
   outweigh any percieved shortcommings.  (And I do believe that the
   transition to ELF was, overall, a good thing.)

The traditional approach is to use symlinks on the libraries, along
with an appropriate SONAME.  For a minor version enhancement, you can
replace the shared library as a whole, although it's true that you
can't simultaneously have some executables which require a particular
minor version and some which don't.

Note that the current GNU tools support a fairly sophisticated shared
library versioning mechanism, based on one developed at Sun. This
scheme permits a particular symbol or set of symbols to be changed
within a shared library, without disturbing the behaviour of old
programs.

Ian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990324193014.8035.qmail>