From: <cod...@go...> - 2009-08-12 14:08:32
|
Status: Accepted Owner: wolfgang...@gmx.net Labels: Type-Defect Priority-Low New issue 16 by wolfgang...@gmx.net: Cabal build uses ugly hacks http://code.google.com/p/hoc/issues/detail?id=16 The cabal build currently uses ugly hacks to work around limitations of Cabal. See also issue #12. The Objective-C source is built by code in Setup.hs; the resulting HOC_cbits.o file is then passed to Cabal as a "C source file". Cabal attempts to "compile" this .o file by passing it to GHC; a separate hack prevents this. Finally, HOC_cbits.o is added to all GHC command lines for compiling Haskell code, so that GHC can load the Template Haskell compile time code. Cabal feature request ticket concerning Objective-C compilation support: http://hackage.haskell.org/trac/hackage/ticket/188 -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings |