[Hackage] #869: patch to make --enable-executable-dynamic work for TemplateHaskell

Hackage cvs-ghc at haskell.org
Fri Aug 5 11:57:00 CEST 2011

#869: patch to make --enable-executable-dynamic work for TemplateHaskell
  Reporter:  juhp           |        Owner:            
      Type:  defect         |       Status:  new       
  Priority:  normal         |    Milestone:  Cabal-1.12
 Component:  Cabal library  |      Version:  HEAD      
  Severity:  normal         |     Keywords:            
Difficulty:  unknown        |   Ghcversion:            
  Platform:                 |  
 The attached patch fixes --enable-executable-dynamic failing when building
 a executable that uses template-haskell.

 The patch just makes ghc output .dyn_hi and .dyn_o files
 and builds like for executable profiling:
 ie first build a vanilla executable for ghci loading
 and then the dynamic executable to keep ghc happy.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/869>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list