Hi,

a version of ghc for cygwin32 that includes profiling libraries can be
found at

   ftp://laysan.dcs.gla.ac.uk/fran/ghc-2.06-win32.tar.gz

(It says 2.06, but it's more or less 2.08(+) )

Mildly tested profiling bits, but -p known to work (i.e., I just tried
it on `hello, world' and it didn't break :-)

HTH,
--Sigbjorn

David Elworthy writes:
> I've been building GHC 2.08 on Win32 (having managed to get a 0.29 build
> first). The basic thing seems to work, but I can't get the profiling
> version up. The first problem was three missing symbols timeBeginPeriod,
> timeSetEvent and timeKillEvent. They're Windows functions which gynus
> provide an interface for. The headers are missing, but I managed to
> pinch the relevant bits from Visual C++, and (after some hacking around
> with libraries) got a link. When I run a program compiled with -prof but
> run without +RTS, it is OK, but when +RTS -p, it goes into
> cygnus_except_handler and locks up.
> 
> Does anyone have any pertitent experience which could help resolve this?
> I should perhaps be directing the question at cygnus, too.
> 
> -- David Elworthy
> 
> P.S. Can we have keyword searching on the mailing list archives? The
> subject lines that people use aren't always very illuminating.
> 
> _______________________________________________________________________
> David Elworthy <[EMAIL PROTECTED]>
> Canon Research Centre Europe Ltd., Guildford, Surrey, UK
> URL: http://www.cre.canon.co.uk/
> Phone: +44 1483 448844; Fax: +44 1483 448845

Reply via email to