Re: [Haskell] ghc as a library and profiling

2007-08-30 Thread Simon Marlow
Sönke Hahn wrote: I am working on a program that uses ghc as a library to typecheck code. I want to profile the program (compiling with '-prof -auto-all' and running with '+RTS -p'). Trying to compile, results in the following message: Could not find module `GHC': Perhaps you haven't

Re: [Haskell] ghc as a library and profiling

2007-08-30 Thread Rene de Visser
Simon Marlow [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Yes, by default we don't build or supply the GHC package with profiling, because of the extra bloat it would add to the downloads and the time taken to build it. Why is a program so large when I use the GHC module?