porting ghc-6.4 to x86_64
Andrei A. Voropaev
av at simcon-mt.com
Tue Mar 22 04:23:37 EST 2005
On Tue, Mar 22, 2005 at 10:06:13AM +0100, Andrei A. Voropaev wrote:
> 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.
Even worse. This file gets overwritten on subsequent steps as well. So,
my attempts to copy the correct one from the T machine again and again
fail.
--
Minds, like parachutes, function best when open
More information about the Glasgow-haskell-users
mailing list