[GHC] #12218: Implement -fexternal-interpreter via static linking

GHC ghc-devs at haskell.org
Wed Jun 22 09:39:39 UTC 2016


#12218: Implement -fexternal-interpreter via static linking
-------------------------------------+-------------------------------------
           Reporter:  simonmar       |             Owner:
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.2.1
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 An interesting idea from @hvr.  When using `-fexternal-interpreter`, we
 can statically link the required packages and object files into a new
 iconv binary, and use that as our external interpreter.

 This would mean we could support TH and even limited GHCi without needing
 a dynamic linker of any kind, which is extremely cool.  Apparently this
 would be useful for AIX where doing dynamic linking is hard.

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


More information about the ghc-tickets mailing list