Compilation error with -prof

Ian Lynagh igloo at earth.li
Thu Aug 18 11:39:36 EDT 2005


On Thu, Aug 18, 2005 at 05:28:37PM +0200, Jan Christiansen wrote:
> If I add the -prof option to the call of ghc I get a compilation error like
> 
> Could not find module `System.Environment':
>   use -v to see a list of the files searched for
>   (imported from Prof.hs)
> 
> although the compilation is successful without the option.
> ghc version is 6.4

You probably need to install a package like ghc6-prof with the profiling
versions of the standard libraries.


Thanks
Ian




More information about the Glasgow-haskell-bugs mailing list