I use stack version 1.1.2 on Win7 64 bits and want to profile my program. I 
did:
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?

Kees

-- 
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 
https://groups.google.com/d/msgid/haskell-stack/db246b27-62f8-46f7-af37-539f3c514a5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to