Hello,

Recently I was trying to profile some code, and GHC complained that it
could not find profiling versions of some 3rd party libraries I was
using. According to the GHC manual:

  5.2. Compiler options for profiling
    -prof:
    To make use of the profiling system all modules must be compiled and linked 
with the -prof option. 

Cabal already supports profiling (from the cabal manual section 3.1.3):

   --enable-library-profiling or -p
    
       Request that an additional version of the library with
       profiling features enabled be built and installed (only for
       implementations that support profiling).

So, perhaps in addition to the libghc6-*-dev packages, we should be
providing libghc6-*-prof packages by default? Or is there some trick
that will let me profile my application even if I link against some
non-profiling-enabled modules?

j.

_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to