[Haskell-cafe] Profiling

Patai Gergely patai_gergely at fastmail.fm
Sun Feb 21 12:08:05 EST 2010


> 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.

Gergely

-- 
http://www.fastmail.fm - mmm... Fastmail...



More information about the Haskell-Cafe mailing list