[GHC] #3345: Support reading .a files in GHCi to reclaim some disk space

GHC cvs-ghc at haskell.org
Tue Sep 21 11:51:43 EDT 2010


#3345: Support reading .a files in GHCi to reclaim some disk space
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  high              |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  6.10.2      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 I suggest we make the GHCi .o files optional, on all platforms, and make
 the linker fall back to using the .a file if it can't find the .o file.
 Then we simply disable the .o file for the GHC package unconditionally,
 thus saving a lot of space in the binary distributions in exchange for a
 slower loading of the GHC package - a fair tradeoff I think.

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


More information about the Glasgow-haskell-bugs mailing list