Look what came up when I tried to make a cross compiler.
GHC configuration does not support differing host/target (i.e., cross-compiling)
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
"Simon Marlow" <simonmar@microsoft.com> writes:
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.
So then it reduces to getting a GCC cross compiler? (Which shouldn't be insurmountable) -kzm -- If I haven't seen further, it is by standing in the footprints of giants
participants (2)
-
ketil@ii.uib.no -
Simon Marlow