ref: 885b31f2f6986ea7b98cf766c291a3477ce75b62
parent: 87471b6501e3a6d7279316292f008bb3c58388d8
parent: 62e4d27ee6a4d97f0344dc69b7f8ef7747f59ba1
author: guangwei <GuangweiWang@users.noreply.github.com>
date: Fri Jul 31 06:18:12 EDT 2020
Merge pull request #3316 from fermay/master support build binaries for aarch64 Linux
--- a/README.md
+++ b/README.md
@@ -93,6 +93,24 @@
For other details on building using make on the command line, see
'For All Platforms' below.
+For Linux Builds
+--------------
+
+You can build the libraries (but not the demo applications) using the
+make based build system from the command line. Build with
+
+ make OS=linux ARCH=**ARCH**
+
+ You can set `ARCH` according to your linux device .
+`ARCH` specifies the architecture of the device. Currently `arm`, `arm64`, `x86` and `x86_64` are supported
+
+ NOTICE:
+ If your computer is x86 architecture, for build the libnary which be used on arm/aarch64 machine, you may need to use cross-compiler, for example:
+ make OS=linux CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ ARCH=arm64
+ or
+ make OS=linux CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ ARCH=arm
+
+
For Windows Builds
------------------