[Haskell-cafe] cabal install vs. profiling

Gwern Branwen gwern0 at gmail.com
Wed Apr 15 11:20:12 EDT 2009

On Wed, Apr 15, 2009 at 11:21 AM, David F. Place <d at vidplace.com> wrote:
> Hi,
> Suppose I have installed a number of libraries and have written a
> program using them.  Now, I want to profile my program.  What is the
> best way to get the profiling versions of the libraries installed?
> Thanks,
> David

I'd chuck 'library-profiling: True' into my .cabal/config, and do 'cabal install --reinstall <list of libraries>' (being careful to exclude the core libraries like unix and process).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 270 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090415/40db4178/signature.bin

More information about the Haskell-Cafe mailing list