
17 Nov
2005
17 Nov
'05
5:02 p.m.
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? I am thinking of something like: runhaskell Setup.hs configure --ghc --with-profiling * remembers that we want profiling libraries) runhaskell Setup.hs build * compile as usual * if 'with-profiling' compile again with some additional options, (e.g., -prof etc) and then proceed as usual. -Iavor