
Hello, When I compile my program without profiling: bash-3.1$ ghc --make -auto-all -prof -O -o analysis analysis.hs Chasing modules from: analysis.hs Compiling Main ( analysis.hs, analysis.o ) Linking ... everything works fine. 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? thanks, Jeff -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

On 25/08/06, Jeff Polakow
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
participants (2)
-
Jeff Briggs
-
Jeff Polakow