#3658: Dynamically link GHCi on platforms that support it
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:                                 
        
        Type:  task              |      Status:  new                            
        
    Priority:  high              |   Milestone:  7.8.1                          
        
   Component:  GHCi              |     Version:  6.10.4                         
        
    Keywords:                    |          Os:  Unknown/Multiple               
        
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown                   
        
  Difficulty:  Unknown           |    Testcase:                                 
        
   Blockedby:  5987              |    Blocking:  781, 1883, 2283, 3242, 7097, 
7134, 7207
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 Problem 3 is that Cabal doesn't track ways properly yet, although
 hopefully the [wiki:GSocMultipleInstances] project will address that.

 I quite like the idea of building `.o` and `.dyn_o` at the same time, and
 sharing the `.hi` file between the two.  That would at least reduce the
 pain of having to build things twice.  This could then be the default mode
 of compilation in Cabal.

 I still think the right way to fix this is to enable `-dynamic` by default
 on Unix systems (pending some performance measurements), after we have
 fixed Cabal to track ways.  On Windows, Ian's idea of building with
 `-dynamic` but linking statically sounds interesting.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to