Dynamic libraries don't work on Mac OS/X
GHC doesn't build properly on Mac OS/X when dynamic library support is enabled. And, when GHC is successfully built with dynamic library support (with tweaks), it doesn't build or link dynamic libraries properly.
I've provided a set of patches, broken up with explanations. We need to discuss whether adding an -install-name option to GHC is acceptable to the GHC team.
Note: A separate patch for Cabal uses the new -install-name option. Without this applying this in the ghc tree, the Cabal installed along with ghc will not generate shared libraries on Mac OS/X with the right install name.
Trac metadata
Trac field | Value |
---|---|
Version | 6.11 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | mwotton |
Operating system | |
Architecture |