aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-31 13:25:26 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-31 13:25:30 +0200
commit209dbeb05f88b23019f7d1612f63f17bad63a268 (patch)
tree714ed98a0041170481e89468eb9f82990afe3a7c
parent3081fb9a31054224759453c3ca400b9076ab8004 (diff)
parent3e55b3a00450279522900ca96e5cf79162169019 (diff)
downloadbitcoin-209dbeb05f88b23019f7d1612f63f17bad63a268.tar.xz
Merge #7747: [docs] added depends cross compile info
3e55b3a [doc] added depends cross compile info (accraze)
-rw-r--r--doc/build-unix.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index 5b519b8044..c1e92d8d15 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -248,3 +248,26 @@ Additional Configure Flags
A list of additional configure flags can be displayed with:
./configure --help
+
+
+
+ARM Cross-compilation
+-------------------
+These steps can be performed on, for example, an Ubuntu VM. The depends system
+will also work on other Linux distributions, however the commands for
+installing the toolchain will be different.
+
+First install the toolchain:
+
+ sudo apt-get install g++-arm-linux-gnueabihf
+
+To build executables for ARM:
+
+ cd depends
+ make HOST=arm-linux-gnueabihf NO_QT=1
+ cd ..
+ ./configure --prefix=$PWD/depends/arm-linux-gnueabihf --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++
+ make
+
+
+For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory. \ No newline at end of file