[GHC] #10871: Implement "fat" interface files which can be directly compiled without source

GHC ghc-devs at haskell.org
Fri Oct 16 08:24:23 UTC 2015


#10871: Implement "fat" interface files which can be directly compiled without
source
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  ezyang
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:  backpack
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Edward can correct me but I think it's about more than time/efficiency.
 To start again from source you need to have all your import paths, CPP
 settings, etc etc recorded so that you can replay them.  You need to copy
 all the source files, including any C bits, into the installation tree.
 There's a LOT of front-end stuff to worry about.

 But this way all that is gone. We simply have Core; and any C bits are
 compiled to .o files.  Nice!

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


More information about the ghc-tickets mailing list