DLLs and shared libraries

Andrei de A. Formiga archimedes_siracusa at yahoo.com
Tue Jun 15 08:52:07 EDT 2004

--- Simon Marlow <simonmar at microsoft.com> wrote:
> On 14 June 2004 03:03, Andrei de A. Formiga wrote:
> You can create a DLL of Haskell code on Windows, but
> only of a complete
> self-contained library (ie. you can't split your
> Haskell library into
> several DLLs and link them together at runtime).

   That's good. It solves my problems on Windows.

> On Unix, shared libraries are more difficult.  It
> might be possible to
> make a single .so of a Haskell library, but I'm not
> sure.  Alternatively
> you can use Don Stewart's hs-plugin package
> (announced here recently).

   hs-plugin seems like a nice package, but I actually
need a shared library to interface with the JVM
through JNI. I'll try to get this working. Thanks for
your answers.

[]s, Andrei Formiga

Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

More information about the Glasgow-haskell-users mailing list