> I have tried (unsuccessfully, obviously :) ) to get profiling to work under
> GHC 4.08 for Win32. As the sesion captures below the sig show, even the
> suggested example from the manual doesn't work.
Thanks for doing this so carefully. It looks as though you've done
everything right, and one other person has reported an identical problem.
I don't understand why it doesn't work, because timeBeginPeriod is defined
in winmm, which is definitely being linked to:
> egcs-2.91.57\..\..\.. main.o -lHSstd_p -lHSstd_cbits -lHSrts_p -lwinmm
^^^^^^^
At the moment there are no profiling DLLs, for the stupid reason that
"dll" and "profiling" are separate "ways" in the build system, and can't
be mixed. I'm in the process of sorting that out. Another problem is that
the static libraries released with 4.08 are only compatible with the
mingwin supplied with Cygwin B20.1, and not with the newer version
supplied with Cygwin 1.1.
Since there is going to be a 4.08pl1, I'll try to get profiling sorted out
for that. The most likely way this will happen is in DLLs: we are probably
going to stop supporting static libraries under Windows in any case,
partly because of this sort of versioning problem, and partly because it's
yet another combination to go wrong.
--
http://sc3d.org/rrt/ | violence, n. bravery for cowards