4 Sep
2009
4 Sep
'09
7:25 p.m.
Hi John, This patch runs into a problem with cross-compiling that I don't know if you have a solution to. The (portable) clock function returns a clock_t, which may be different sizes on different systems. I used hsc2hs to get the size (since Foreign.C.Types is just a stub), but this will fail on cross-compilation. What is the recommended approach? Do we need two copies of the libraries, or is the data from targets.ini somehow available to us, or a way to generate clock_t directly in the C code? David Fri Sep 4 07:20:20 EDT 2009 David Roundy <roundyd@physics.oregonstate.edu> * fix System.CPUTime.