Cabal with profiling
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Thu Nov 17 17:49:09 EST 2005
On Thu, 2005-11-17 at 14:02 -0800, Iavor Diatchki wrote:
> Hello,
> I am sure this was asked before, but I could not find any answers...
> How can I use Cabal to build a package that includes both normal and
> profiling versions of my library for GHC?
$ runhaskell Setup.lhs configure --help
Usage: Setup.lhs configure [FLAGS]
Flags for configure:
-h, -? --help Show this help text
-g --ghc compile with GHC
-n --nhc compile with NHC
--hugs compile with hugs
[snip]
-p --enable-library-profiling Enable library profiling
--disable-library-profiling Disable library profiling
--enable-executable-profiling Enable executable profiling
--disable-executable-profiling Disable executable profiling
[snip]
Duncan
More information about the Libraries
mailing list