Re: compiling a dynamic executable
Hi Markus, just saw your question - maybe you already got an answer?
> xxx.hs:1:1:
> Dynamic linking required, but this is a non-standard build (eg. prof).
> You need to build the program twice: once the normal way, and then
> in the desired way using -osuf to set the object file suffix.
My guess is you're linking with Template Haskell?
Then in this case ghc-7.4 Cabal needs to be patched:
http://pkgs.fedoraproject.org/cgit/ghc.git/tree/Cabal-fix-dynamic-exec-for-TH.patch
I believe this is already fixed in ghc-7.6.
Hope that helps,
Jens
Reply to: