Thursday, September 26, 2013

Building Firebird Client for Android

Download and install ndk  unzip in your home
install firebird build dependencies

sudo apt-get build-dep firebird2.5

unzip ~/Downloads/
export NDK=$HOME/android-ndk-r13d
echo $NDK

get the Firebird 3.0 source
tar -jxvf Firebird-

cd Firebird-

cp /usr/include/x86_64-linux-gnu/unicode/platform.h extern/icu/source/common/unicode
cp /usr/include/x86_64-linux-gnu/unicode/uvernum.h extern/icu/source/common/unicode

./ --with-system-editline --enable-binreloc --with-cross-build=android.arme

after that the is created for arm

cd gen/Release/firebird/lib
file ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, not stripped

You can download from here