-
Notifications
You must be signed in to change notification settings - Fork 37
Improve documentation for cross compilation #513
Comments
@chitrak7 Yes, sure, go ahead! Documentation improvements are very welcome. Please coordinate with @angerman and @izgzhen who are taking care of cross compilation. I myself will not be able to properly review the suggested changes, since I've never done cross compilation. Also note that @angerman and @alpmestan are working on a huge PR that improves cross compilation: #445. We hope to merge this PR soon, so some things may be changing soon. |
BTW, I tried the newest source today, and met some problems finding submodule like Cabal. I fixed it by cloning from haskell.org instead of github. |
I would strongly suggest removing any mention of cloning GHC from github. |
Agreed |
In the documentation for building cross-compiling GHC, the steps mentioned are :
git clone https://github.com/ghc/ghc
cd ghc
git clone https://github.com/snowleopard/hadrian
this step will result in an error at multiple sub-repositories with the error similar this :
fatal: repository 'https://github.com/ghc/packages/deepseq.git/' not found.
It is because of GitHub's policy to not include '/' in names. This can be easily removed by the following command.
git config --global url."https://github.com/ghc/packages-".insteadOf https://github.com/ghc/packages/
I think this should be included in the documentation.
@snowleopard
Also, if this change is approved, can I put the PR myself?
The text was updated successfully, but these errors were encountered: