diff --git a/build-ain-arm64.md b/build-ain-arm64.md index 72959c6..22214f7 100644 --- a/build-ain-arm64.md +++ b/build-ain-arm64.md @@ -11,7 +11,7 @@ Download the latest source code from DefiCh/ain and extract them to your `/home/ - [Source code (tar.gz)](https://github.com/DeFiCh/ain/releases) -## Build ain-2.11.1 +## Build ain-3.0.1 ### Install all dependencies @@ -33,19 +33,19 @@ sudo apt-get install g++-aarch64-linux-gnu ### Build Berkeley DB It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use installation script included in contrib: ``` -cd /home/pi/ain-2.11.1/ -./contrib/install_db4.sh /home/pi/ain-2.11.1/ +cd /home/pi/ain-3.0.1/ +./contrib/install_db4.sh /home/pi/ain-3.0.1/ ``` ### Build executables ``` -cd /home/pi/ain-2.11.1/depends +cd /home/pi/ain-3.0.1/depends make HOST=aarch64-linux-gnu NO_QT=1 cd .. ./autogen.sh ``` ``` -export BDB_PREFIX='/home/pi/ain-2.11.1/db4' +export BDB_PREFIX='/home/pi/ain-3.0.1/db4' ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" CXXFLAGS="-march=armv8-a+crc+crypto" --prefix=$PWD/depends/aarch64-linux-gnu --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++ ``` And finally: