> I most probably forgot something, but neither the manual nor the
> installation documentation nor ghc itself could help me.
> 
> When I compile with the `-prof' option switched on, ghc 
> cannot find the
> standard .hi files any more. I tried the 4.00 intel linux binaries and
> the 3.02 and 2.10 sparc solaris binaries, always with the same result:
> could not find valid interface file `Prelude' (and all others).

You need to download the profiling libraries for GHC in order to use
profiling.  If you're using GHC < 4.00 then these are probably available on
the ftp site, for GHC > 4.00 you'll have to build them yourself (profiling
is a little flaky in GHC 4.xx, as we're re-implementing it).

Cheers,
        Simon

-- 
Simon Marlow 
Microsoft Research Ltd., Cambridge, U.K.

Reply via email to