
When run ghcprof under Windows XP I get this message in uDraw: "Error: Cannot start application C:/TEMP/ghcprof30164.sh". That file does exist as a shell script: bash-3.00$ ls -l C:/TEMP/ghcprof30164.sh -rwxr-xr-x 1 Conal None 109 Jan 7 12:12 C:/TEMP/ghcprof30164.sh bash-3.00$ cat C:/TEMP/ghcprof30164.sh #!/bin/sh /usr/local/cgprof C:/TEMP/ghcprof30164 0 "i386-unknown-mingw32" "" 10.0 12.0 13.0 0.0 0 1 1 2 1900 bash-3.00$ Any idea what's going wrong and how to fix? Thanks, - Conal

Conal Elliott wrote:
When run ghcprof under Windows XP I get this message in uDraw: "Error: Cannot start application C:/TEMP/ghcprof30164.sh". That file does exist as a shell script:
bash-3.00$ ls -l C:/TEMP/ghcprof30164.sh -rwxr-xr-x 1 Conal None 109 Jan 7 12:12 C:/TEMP/ghcprof30164.sh bash-3.00$ cat C:/TEMP/ghcprof30164.sh #!/bin/sh /usr/local/cgprof C:/TEMP/ghcprof30164 0 "i386-unknown-mingw32" "" 10.0 12.0 13.0 0.0 0 1 1 2 1900 bash-3.00$
Any idea what's going wrong and how to fix?
cgprof is likely to have bitrotted (if it ever worked). Perhaps you can get by with basic time profiling (+RTS -p)? Cheers, Simon
participants (2)
-
Conal Elliott
-
Simon Marlow