[GHC] #8104: By default GHC API looks for .dyn_o but only creates .o

GHC ghc-devs at haskell.org
Tue Jul 30 18:13:18 CEST 2013


#8104: By default GHC API looks for .dyn_o but only creates .o
-------------------------------------+------------------------------------
        Reporter:  edsko             |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:  invalid           |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by igloo):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Thanks for the report. However, this is behaving as expected. By default
 GHC (and the GHC API) will compile the 'vanilla' way, but ghci (and TH,
 quasi-quotes, etc) need dependencies to be compiled with the 'dynamic'
 way.

 `doDynamicToo` does happen to set the way to 'dynamic', but that's not
 what it's intended to be used for. I'll rename it to make it less likely
 to cause confusion in the future.

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




More information about the ghc-tickets mailing list