From: Cheng Zhao Date: Mon, 13 Jul 2015 22:26:35 +0000 (-0700) Subject: docs: Adds the dependencies of arm target X-Git-Tag: v0.30.0~24 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e5f852d7d5fbd18b3702cabaf5e5ba981a6540ad;p=electron.git docs: Adds the dependencies of arm target Close #2181 --- 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