problem with ghcprof on windows

Simon Marlow simonmar at microsoft.com
Mon Jan 9 05:47:18 EST 2006


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



More information about the Glasgow-haskell-users mailing list