Firebird News

Monday, February 16, 2015

Building Firebird 3.0 Client / Embedded for Android

Download and install ndk  unzip in your home
install firebird build dependencies
sudo apt-get build-dep firebird2.5
sudo apt-get install libtommath-dev

export NDK=$HOME/android-ndk-r10e
echo $NDK

get the Firebird 3.0 source code

git clone
cd core 
./  --with-cross-build=android.arm --without-editline --enable-binreloc
There was a libedit.a linking error so i had to copy it manually
cp extern/editline/src/libedit.a gen/Release/firebird/lib/libedit.a
after that the is created for arm

file  gen/buildroot/opt/firebird/lib/ 
gen/buildroot/opt/firebird/lib/ ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b6cb7db07fcad2475aa79352fb515cbe3ac44eea, stripped

Soon i will add a download link

ps: in 3.0 can be used as embedded
Post a Comment