
6 Apr
2013
6 Apr
'13
12:02 p.m.
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