aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authoraccraze <accraze@gmail.com>2016-03-30 07:29:56 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-31 13:49:36 +0200
commit4d035bcc9aa3388dc7f37cf81451e55f0b6270ee (patch)
tree9c56431c3cc94be7c1756101478826bd05b7d15c /doc
parentba80ceef59bdfb7e0a42da4df81335698047fbce (diff)
downloadbitcoin-4d035bcc9aa3388dc7f37cf81451e55f0b6270ee.tar.xz
[doc] added depends cross compile info
Conflicts: doc/build-unix.md Github-Pull: #7747 Rebased-From: 3e55b3a00450279522900ca96e5cf79162169019
Diffstat (limited to 'doc')
-rw-r--r--doc/build-unix.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/build-unix.md b/doc/build-unix.md
index 31bbab7f0f..74863c3ecf 100644
--- a/doc/build-unix.md
+++ b/doc/build-unix.md
@@ -236,3 +236,31 @@ In this case there is no dependency on Berkeley DB 4.8.
Mining is also possible in disable-wallet mode, but only using the `getblocktemplate` RPC
call not `getwork`.
+
+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.
+>>>>>>> 3e55b3a... [doc] added depends cross compile info