[GHC] #4153: GHCi linker should load archives

GHC cvs-ghc at haskell.org
Fri Jun 25 06:49:38 EDT 2010


#4153: GHCi linker should load archives
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  GHCi              |      Version:  6.12.3      
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by simonmar):

 * cc: chak@… (added)


Comment:

 I thought we had a feature request for this already, but I can't find it
 now.  We've certainly discussed it before though.  So there's no good
 reason why we can't do this at the moment since a `.a` is just a
 collection of `.o`s, but if we were to switch to a dynamically linked GHCi
 then it would be much more difficult to load static libraries.

 For the case of LLVM, you can convince GHCi to load the dynamic version of
 the library - I believe Manuel Chakravarty has just spent some time
 getting this to work on OS X.

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


More information about the Glasgow-haskell-bugs mailing list