2015-12-03 10:59 GMT+01:00 John Paul Adrian Glaubitz <
[email protected]>:

> I'm cross-posting this to [email protected]., maybe someone else here
> has an idea how to build ghc for sparc64 without having to mess around
> with cross-compilers on an amd64 host.
>

Apparently you don't need a cross-compiler:

<https://wiki.haskell.org/GHC:FAQ#How_do_I_port_GHC_to_platform_X.3F>

I quote:

 "Both ways require you to bootstrap from intermediate HC files: these are
the stylised C files generated by GHC when it compiles Haskell source.
Basically the idea is to take the HC files for GHC itself to the target
machine and compile them with gcc to get a working GHC, and go from there."

So basically, hack a working compiler and then rebuild the package
cleanly...

Cordially,

-- 
Romain Dolbeau

Reply via email to