[Haskell-cafe] Dynamically linked executables
eca7215 at cs.rit.edu
Wed Mar 30 16:14:52 CEST 2011
I'm pretty sure it's not possible under OS X, and just as sure that it
would be really nice, because some OS X libraries I'd like to link to
(JACK OS X in particular), don't provide static libraries.
On Mon, Mar 28, 2011 at 1:14 PM, Anakim Border <akborder at gmail.com> wrote:
> I'm trying to understand if it's possible to build dynamically linked
> executables under Mac OS X (10.6) with GHC 7.
> Looking here:
> it seems like the support is already present.
> Inside ghc-7.1.20110325 sources (the latest development snapshots as I
> write), I find the following:
> # Do we support shared libs?
> PlatformSupportsSharedLibs = $(if $(filter $(TARGETPLATFORM),\
> i386-unknown-linux x86_64-unknown-linux \
> i386-unknown-freebsd x86_64-unknown-freebsd \
> i386-unknown-openbsd x86_64-unknown-openbsd \
> i386-unknown-mingw32 \
> i386-unknown-solaris2 \
> i386-apple-darwin powerpc-apple-darwin),YES,NO)
> which seems to indicate the contrary.
> GHC bug tracker, finally, doesn't show any open ticket on the matter.
> Anyone has more details about this?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
Rochester Institute of Technology
More information about the Haskell-Cafe