> While I'm on the subject of shared libraries,why is it that the Win32
> distribution of GHC includes the RTS, Prelude, and perhaps other
> libraries, as DLL's, but (as far as I can tell) none of the distributions
> for Unix-like platforms include any of these as shared libraries? Is
> there some fundamental obstacle to building these as shared libraries
> under, say, Linux or Solaris, or is including this capability just a
> low priority item that no one has had time to take care of yet? Glancing
> through the 4.04p1 source distribution, it looked like no fancy tricks
> were needed for the Win32 case, but I'm certainly not an expert in these
> matters, so I could easily be missing something. (By the way, I would
> be very grateful if someone could point me to some good references on
> shared objects, both how they work and what you need to do to
> create them.)

There is libtool, a set of scripts which tries to handle making both static
and shared libraries in a uniform way across platforms. IIRC, the
documentation talks a little bit about issues with shared libraries, mostly
from a user-level POV, though.

http://www.gnu.org/software/libtool/libtool.html

Another source of information might be the GNU bintools docs...

--FAC

Reply via email to