[Haskell-cafe] ghc profiling
Jeff Briggs
ephemeral.elusive at gmail.com
Fri Aug 25 15:21:11 EDT 2006
On 25/08/06, Jeff Polakow <jeff.polakow at db.com> wrote:
> However when I compile with profiling:
>
> bash-3.1$ ghc --make -auto-all -prof -O -o analysis analysis.hs
> Chasing modules from: analysis.hs
> Could not find module `Data.ByteString.Lazy.Char8':
> use -v to see a list of the files searched for
> (imported from analysis.hs)
>
> ghc complains about not finding the ByteString library.
>
> Is this supposed to hapen, and if so, is there a way to get profiling to
> work?
Have you tried recompiling Data.ByteString with profiling support?
cd fps
runhaskell Setup.hs configure --enable-library-profiling
runhaskell Setup.hs build
runhaskell Setup.hs install
More information about the Haskell-Cafe
mailing list