aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-07 15:21:00 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-07 15:21:01 +0200
commita4151bed586f40bc7f194b3e2151aa4d06de8919 (patch)
tree12a63b907db754c5e611b85be77e2371f2813933 /README.md
parentMerge pull request #2126 (diff)
parentReadme: add android docker build instruction (diff)
downloadmonero-a4151bed586f40bc7f194b3e2151aa4d06de8919.tar.xz
Merge pull request #2138
044c5b55 Readme: add android docker build instruction (MoroccanMalinois) 82836be4 Utils: Add dockerfile for android NDK build (MoroccanMalinois)
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4ab203671..8df764c23 100644
--- a/README.md
+++ b/README.md
@@ -322,6 +322,15 @@ You will have to add the serialization, date_time, and regex modules to Boost wh
To build: `env CC=egcc CXX=eg++ CPP=ecpp DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/path/to/the/boost/you/built make release-static-64`
+### On Linux for Android (using docker):
+
+ # Build image (select android64.Dockerfile for aarch64)
+ cd utils/build_scripts/ && docker build -f android32.Dockerfile -t monero-android .
+ # Create container
+ docker create -it --name monero-android monero-android bash
+ # Get binaries
+ docker cp monero-android:/opt/android/monero/build/release/bin .
+
### Building Portable Statically Linked Binaries
By default, in either dynamically or statically linked builds, binaries target the specific host processor on which the build happens and are not portable to other processors. Portable binaries can be built using the following targets: