Unreg/registerised hc booting success

Simon Marlow simonmar@microsoft.com
Thu, 4 Sep 2003 14:33:19 +0100

> On Wed, Sep 03, 2003 at 11:43:44AM +0100, Simon Marlow wrote:
> > =20
> > In light of this, I might amend the instructions to recommend using
> > hc-build even for an unregisterised bootstrap, because=20
> 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.