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

Reply via email to