Hi all,
I want to profile a Haskell program. I have tons of libraries
installed without profiling enabled, and some of them are installed
with my Linux distribution's package mangaer.
So I tried installing the program in a fresh cabal-dev environment
with profiling enabled, so that all dependenci
Hi Ömer,
I've replied in-line below.
On Mon, Jul 1, 2013 at 2:34 PM, Ömer Sinan Ağacan wrote:
> So I tried installing the program in a fresh cabal-dev environment
> with profiling enabled, so that all dependencies would be also
> installed with profiling enabled. But for some reason even after
>
Hi Rogan,
Thanks for your reply.
> I don'th think the -prof flag is necessary; but if it is, then it may also
> be misinterpreted by cabal-dev; generally, you need to pass flags that only
> use a single leading "-" to cabal-dev with the --flags=... option. (eg:
> 'cabal-dev install --enable-libra
On Tue, Jul 02, 2013 at 09:07:18AM +0300, Ömer Sinan Ağacan wrote:
> OK, so I removed `cabal-dev` directory, and installed again with this
> command. But it still failed with same error message("the flag -p
> requires the program to be built with -prof").
Maybe you are running into this:
https
> Maybe you are running into this:
>
> https://github.com/haskell/cabal/issues/1199
>
> Check your version of the Cabal library (cabal --version should tell
> you). I think this was only broken for a few releases, but I don't
> remember which ones.
Great, it worked. I first updated Cabal librar