
On Mon, Mar 21, 2005 at 02:20:25PM -0000, Simon Marlow wrote: [...]
Did you copy across ghc/includes/DerivedConstants.h and ghc/includes/GHCConstants.h from the target to the host? I think that should fix the above error (the docs do say you have to do this, so perhaps it's something else).
Sure enough I did. As I said, I carefully followed the instructions. I repeated the whole process 3 times to make sure I didn't forget something :)
So could you check the values of SIZEOF_VOID_P (in ghcautoconf.h) and SIZEOF_mp_limb_t (in DerivedConstants.h)? They should both be 8 in the versions of these files copied from the target.
Aha. The values are different. Carefull watching of the DerivedConstants.h showed that it was overwritten when I did 'cd H/ghc && make boot'. And yes, I did touch of all the copied files. -- Minds, like parachutes, function best when open