From 044c5b5572b66a209059553101bae2a7b5799fc2 Mon Sep 17 00:00:00 2001 From: MoroccanMalinois Date: Thu, 13 Jul 2017 01:28:56 +0000 Subject: [PATCH] Readme: add android docker build instruction --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4ab20367..8df764c2 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: