I use stack version 1.1.2 on Win7 64 bits and want to profile my program. I 
stack build --executable-profiling --library-profiling 
--ghc-options="-fprof-auto -rtsopts" <- no errors
and then run: stack exec -- renameUnit-exe  +RTS -p  -RTS <- the program 
runs, but no profiling info and no *.prof file.
I tried stack exec --renameUnit-exe  +RTS -p -RTS <- I get the error: the 
-p flag - requires the program to be build with -prof

What am I doing wrong?


You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-stack+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-stack@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to