GHC native bootstrap

Igor Chudov nir at altlinux.org
Mon Jul 22 08:48:32 UTC 2019


Hello!

I want to bootstrap GHC on an exotic architecture and I have GCC-compatible compiler but miss cross-compiling toolchain. I was able to bootstrap Hugs98 (with manual fixes) and guys on IRC channel pointed me to GHC bootstrap articles:

- https://elephly.net/posts/2017-01-09-bootstrapping-haskell-part-1.html
- http://www.joachim-breitner.de/blog/748-Thoughts_on_bootstrapping_GHC

which I read and plan to give it a try.

I also read articles about cross-compiling GHC on Haskell wiki but the problem is complex so I don't know where to start.

Are there anyone who has experience with GHC compiling (cross-compiling?) and bootstrap on new architectures who could possibly help me to solve the problem or describe the steps needed?

-- 
With best regards, Igor Chudov



More information about the ghc-devs mailing list