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