Skip to content

Commit

Permalink
Update build-ain-armv7l.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin8617 authored Nov 5, 2021
1 parent 8f8fe7e commit 0289482
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build-ain-armv7l.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

## Source Code
Download source code and extract them to your /home/user/ directory:
- ain-1.8.4 (https://github.com/DeFiCh/ain/releases)
- Source Code (https://github.com/DeFiCh/ain/releases)


## Build ain-1.8.4
## Build ain-2.0.0

### Install all dependencies

Expand All @@ -33,19 +33,19 @@ sudo apt-get install g++-arm-linux-gnueabihf
### 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-1.8.4/
./contrib/install_db4.sh /home/pi/ain-1.8.4/
cd /home/pi/ain-2.0.0/
./contrib/install_db4.sh /home/pi/ain-2.0.0/
```

### Build executables
```
cd /home/pi/ain-1.8.4/depends
cd /home/pi/ain-2.0.0/depends
make HOST=arm-linux-gnueabihf NO_QT=1
cd ..
./autogen.sh
```
```
export BDB_PREFIX='/home/pi/ain-1.8.4/db4'
export BDB_PREFIX='/home/pi/ain-2.0.0/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --prefix=$PWD/depends/arm-linux-gnueabihf --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++
```
And finally:
Expand Down

0 comments on commit 0289482

Please sign in to comment.