[Haskell-cafe] cabal repl fails with GHC 7.8.2

Omari Norman omari at smileystation.com
Sun May 4 01:34:50 UTC 2014


> I had a look at deka. It seems you need to list the decContext.c and
> decQuad.c in the other order in the cabal file to make the .o files
> show up in the right order in the call to ghc (you can see it with
> cabal repl -v).

Indeed, flipping the two and adding -fPIC to cc-options: in the cabal
file made cabal repl work.  Thanks a bunch.

The version I'm working on now links in several more C object files
and I'm having the same problem there; I am reading up on linkers and
fiddling around with it.


More information about the Haskell-Cafe mailing list