Dear GHC developers,
Can you, please tell me how to add -prof -auto-all
as dynamic option for a chosen source module?
This is in ghc-6.6.
I `make' my large program (of many modules) via Cabal, under -prof.
The Main module contains the test example main.
`main' calls for
Dear GHC developers, dear users,
I am starting to doubt in the GHC time profiling.
Why can advise, please, on the following example?
This is important for me: I need to find who eats time in this
particular example.
This is for ghc-6.6.
I `make' my large program (of many modules) via Cabal,
Yep, that works well. Thanx!
On 12/1/06, Deborah Goldsmith [EMAIL PROTECTED] wrote:
I can get this to work if I compile it with ghc, rather than try to
run it with ghci or hugs.
ghc --make Alpha3D.hs
./Alpha3D
works fine with no hangs.
Deborah
On Dec 1, 2006, at 6:49 PM, Deborah Goldsmith
| I was recently presented with the problem of writing a function like so
|
| seqInt__ :: forall a . a - Int# - Int#
| seqInt__ x y = x `seq` y
|
| which seems fine, except 'seq' of type forall a b . a - b - b cannot
| be applied to an unboxed value.
Actually it works fine. Did you try it? Seq
Had a go today building GHC on a multcore linux box, with -j, just to
see how fast it would go.
Summary: you can build GHC from scratch in less than 10 minutes these days!
More details here:
http://cgi.cse.unsw.edu.au/~dons/blog/2006/12/03#build_ghc_fast
-- Don