3 Oct 2005 15:02
making with profiling, 6.4.1, cabal-1.1.3
Serge D. Mechveliani <mechvel <at> botik.ru>
2005-10-03 13:02:50 GMT
2005-10-03 13:02:50 GMT
People,
I need help on making for profiling,
and cannot decide whether the question is on GHC or on Cabal.
I have ghc-6.4.1, and Cabal-1.1.3-September-12
installed in my user directory, under Debian Linux,
and need to make a project for profiling.
ghci -package Cabal
says
...
Loading package base-1.0 ... linking ... done.
...
Loading package Cabal-1.1.3 ... linking ... done.
I start with a contrived example project of M1.hs, M2.hs, Main.hs:
---------------------------------------
module M1 where m1 = True
module M2 where import M1; m2 = m1 && m1
Main.hs: import M2l; main = putStr $ shows m2 "\n"
---------------------------------------
For this, ghc --make -prof -auto-all Main
works as needed -- without packages.
Now, try to make a package for profiling:
(Continue reading)
RSS Feed