ghc-6.6 port isn't build with dynamic libraries (although it is supported)

Alfonso Acosta alfonso.acosta at gmail.com
Wed Nov 22 07:19:04 PST 2006


Hi,

I would have created a ticket in track about this but login doesn't
work ... anyway ...

OSX is one of the only platforms which supports the -dynamic flag in ghc.

>From http://www.haskell.org/ghc/docs/6.6/html/users_guide/options-phases.html#options-linker

" -dynamic

    Tell the linker to use shared Haskell libraries, if available
(this option is only supported on Mac OS X at the moment, and also
note that your distribution of GHC may not have been supplied with
shared libraries)."

Right now, macports doesn't provide those libraries. It would be great
if it could, this link should be helpful:

http://hackage.haskell.org/trac/ghc/wiki/DynamicLinking

Thanks for such a good work including ghc in macports :)

Alfonso Acosta



More information about the macports-users mailing list