Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

--enable-executable-profiling does not behave as expected on windows #1146

Closed
haas opened this Issue · 2 comments

3 participants

@haas

Dear cabal maintainers,

First of all, thank you for maintaining this wonderful software package.

I might have spotted a bug in cabal. I tried to build an profiling executable on the windows x64 platform using GHC 7.6.1, but it appears that cabal does not set the -prof flag. I've assembled a minimal working example. When I install a very small executable "htime" (http://hackage.haskell.org/package/htime) with --enable-executable-profiling, the executable tells me that I should build with -prof (see error here http://hpaste.org/79109 , and the cabal -v log here: http://hpaste.org/79108). When I set the flag manually with --ghc-option=-prof, I get a warning from cabal that I should use --enable-executable-profiling, but I can profile the executable. For convenience I also attach my cabal config file (http://hpaste.org/79110)

Thanks.

Best,
Bas de Haas

@23Skidoo
Collaborator

Looks like a duplicate of #1199.

@ttuegel
Collaborator

Closing, as this is a duplicate of a closed issue.

@ttuegel ttuegel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.