I switched to profiling through Cabal as you suggested, but now I have
the error:

bench\HLogo\Custom\Custom.hs:1:1:
    cannot find normal object file 
`dist\build\custom\custom-tmp\Framework\Keyword.o'
    while linking an interpreted expression

So, I removed managing the executables directly from Cabal
(--enable-executable-profiling) , and only enabled library profiling.  

Then I manually compiled each executable twice as:

ghc --make Custom.hs
ghc --make -prof -osuf p_o  Custom.hs

Profiling now works. Thank you.

Regards,
Nikos

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to