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
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.