From e5f852d7d5fbd18b3702cabaf5e5ba981a6540ad Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 13 Jul 2015 15:26:35 -0700 Subject: [PATCH] docs: Adds the dependencies of arm target Close #2181 --- docs/development/build-instructions-linux.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index 161f77d9..3fe3b53c 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -48,7 +48,15 @@ $ ./script/bootstrap.py -v ### Cross compilation -If you want to cross compile for `arm` or `ia32` targets, you can pass the +If you want to build for `arm` target, you should also install following +dependencies: + +```bash +$ sudo apt-get install libc6-dev-armhf-cross linux-libc-dev-armhf-cross \ + g++-arm-linux-gnueabihf +``` + +And to cross compile for `arm` or `ia32` targets, you should pass the `--target_arch` parameter to the `bootstrap.py` script: ```bash -- 2.43.0