Compiling haskell-src-exts with -prof

Lemmih lemmih at
Mon Dec 5 22:41:27 EST 2005

On 12/2/05, cschmidt at <cschmidt at> wrote:
> One of the packages that I use depends on Language.Haskell.Hsx
> from haskell-src-exts. I want to profile my code, so I need
> to compile Language.Haskell.Hsx for profiling.
> I tried to figure out how to compile haskell-src-exts with -prof,
> but so far I could not.
> Can anyone point me in the right direction?
> I am building on Windows with GHC 6.4, if that matters.

Cabal versions above 1.0 supplies an --enable-library-profiling option.
You can get it here:


More information about the Libraries mailing list