> On Wed, Sep 03, 2003 at 11:43:44AM +0100, Simon Marlow wrote:
> >
> > In light of this, I might amend the instructions to recommend using
> > hc-build even for an unregisterised bootstrap, because
> copying across
> > the .hi files isn't guaranteed to work when cross-compiling (I'm not
> > certain that the .hi format is platform-independent enough).
>
> Hmmm, I'm working with a slightly adapted hc-build - perhaps I should
> resync myself. I am curious what you mean by "platform-independent
> enough" though - how does it differ? It seems to work in practise for
> 32-bit arches at least.
There's at least one problem I know about: an Int will take up 8 bytes
in a .hi file on a 64-bit arch. I don't think there are any endianness
issues, though.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users