Cross compilers

Simon Marlow simonmar@microsoft.com
Thu, 28 Feb 2002 14:24:33 -0000


> Look what came up when I tried to make a cross compiler.
>=20
> GHC configuration does not support differing host/target (i.e.,
> cross-compiling)
>=20
> Now what do I do?  Can I make a cross compiler?

Never been done, certainly would be an adventure :-)

Cross compilation in GHC is usually done by taking .hc files generated =
on a machine with a working GHC and compiling them on the target machine =
using only gcc.  This is how we bootstrap GHC on new machines.

Cheers,
	Simon