[GHC] #3550: Dynamic libraries don't work on Mac OS/X

GHC trac at galois.com
Tue Sep 29 10:27:48 EDT 2009


#3550: Dynamic libraries don't work on Mac OS/X
----------------------------------------------------------------+-----------
    Reporter:  StephenBlackheath                                |        Owner:  StephenBlackheath
        Type:  bug                                              |       Status:  new              
    Priority:  normal                                           |    Milestone:                   
   Component:  Compiler                                         |      Version:  6.11             
    Severity:  major                                            |   Resolution:                   
    Keywords:  dynamic mac osx                                  |   Difficulty:  Unknown          
    Testcase:  http://upcycle.it/~blackh/ghc/test-case.tar.bz2  |           Os:  MacOS X          
Architecture:  Unknown/Multiple                                 |  
----------------------------------------------------------------+-----------
Changes (by simonmar):

  * difficulty:  => Unknown

Comment:

 The patches are generally fine.  I wonder whether `-install-name` is the
 best name for the flag: it's a bit generic.  Perhaps `-dylib-install-
 name`?

 The `sed` stuff is indeed unsightly, but I don't see any easy way to fix
 it, because the knowledge about where a library is finally installed lives
 in Cabal at the moment.

 I presume this patch subsumes the patch "rejig dylib names on Mac only"
 sent to the `cvs-ghc` list by `mwotton at gmail.com`?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3550#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list