[commit: hadrian] master: Update cross-compiling doc (#586) (7c04521)

git at git.haskell.org git at git.haskell.org
Fri Jun 8 00:02:14 UTC 2018

Repository : ssh://git@git.haskell.org/hadrian

On branch  : master
Link       : http://git.haskell.org/hadrian.git/commitdiff/7c045215719b151a154f14e9eb6f8416419203af


commit 7c045215719b151a154f14e9eb6f8416419203af
Author: Zhen Zhang <izgzhen at gmail.com>
Date:   Fri Apr 27 18:59:47 2018 +0800

    Update cross-compiling doc (#586)


 doc/cross-compile.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/cross-compile.md b/doc/cross-compile.md
index 5611d2a..724d0e1 100644
--- a/doc/cross-compile.md
+++ b/doc/cross-compile.md
@@ -16,11 +16,13 @@ After all the dependencies are in place:
 - `git submodule update --init`
 - `./configure --target=arm-linux-gnueabihf`
 - `cd hadrian`
-- Modify `src/UserSettings.hs`, set `stage1Only` and `crossCompiling` to `True`.
+- Modify `src/UserSettings.hs`, set `stage1Only` to `True`.
 - Build the compiler by e.g. `./build.sh --flavour=quickest --integer-simple -V -j`
 After that, you should have built `inplace/bin/ghc-stage1` cross compiler. We will go to the next section to validate this.
+**NOTE**: Use of `-c` to configure the target is currently not supported. Please manually run `./configure` like above.
 ## Test run
 Write a simple hello world haskell program:

More information about the ghc-commits mailing list