Error when building cabal package with template haskell configured for profiling

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Jan 27 15:14:07 CET 2012


On Fri, Jan 27, 2012 at 12:06 PM, Bas van Dijk <v.dijk.bas at gmail.com> wrote:
> $ cabal configure --ghc-options="-O2 -prof -auto-all -caf-all"

Why aren't you using the specific options for profiling?

$ cabal configure --help | grep profiling
 -p --enable-library-profiling     Enable Library profiling
    --disable-library-profiling    Disable Library profiling
    --enable-executable-profiling  Enable Executable profiling
    --disable-executable-profiling Disable Executable profiling

Cheers, =)

-- 
Felipe.



More information about the Glasgow-haskell-users mailing list