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 <akbor...@gmail.com> wrote: > Hi, > > 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: > > http://hackage.haskell.org/trac/ghc/wiki/SharedLibraries/PlatformSupport > > 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? > > > Thanks, > > AB > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > -- Edward Amsden Student Computer Science Rochester Institute of Technology www.edwardamsden.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe