[Haskell-cafe] Profiling

Andrew Coppin andrewcoppin at btinternet.com
Sun Feb 21 12:22:07 EST 2010


Patai Gergely wrote:
>> I tried to compile my program with -prof, but GHC just whines at me 
>> that the packages I'm using haven't been compiled for profiling. Do I 
>> really need to go recompile every single package I'm using with 
>> profiling support before I can profile my program? How do I tell Cabal 
>> to install the necessary code? (I really hope this doesn't involve 
>> uninstalling and reinstalling everything...)
>>     
> Almost. You don't need to uninstall anything, just run cabal install
> <package> --reinstall -p for every relevant package.
>   

Oh, right. So I actually need cabal.exe to do this then?



More information about the Haskell-Cafe mailing list