Notes on cross-compiling GHC for a Darwin target.
TL;DR I managed to get most of a stage1 to build. I got a linker failure during
but most of the libraries had already built successfully, including some C FFI-heavy
bytestring. I suspect my toolchain was just in the wrong spot, and/or libraries
- We need a normal host GCC toolchain (
alex, and a platform copy of GHC (the Stage0).
- As per the GHC CrossCompiling page on Trac, we need a GCC crosschain. I used