Tested with 3.0 branch and fails at one moment
export NDK=$HOME/android-ndk-r17c
./autogen.sh --prefix=/opt/firebird --enable-binreloc
--with-cross-build=android.arm64 --without-editline  --with-builtin-tommath

make yvalve
make[4]: Entering directory '/home/ubuntu/firebird/gen'
/home/ubuntu/android-ndk-r17c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-g++
-I/home/ubuntu/firebird/src/include/gen -I/home/ubuntu/firebird/src/include
 -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DARM64 -pipe -MMD
-fPIC -fmessage-length=0 -I/home/ubuntu/firebird/extern/libtommath
--sysroot=/home/ubuntu/android-ndk-r17c/platforms/android-24/arch-arm64
-I/home/ubuntu/android-ndk-r17c/platforms/android-24/arch-arm64/usr/include
-I/home/ubuntu/firebird/gen/cross -fsigned-char -fno-omit-frame-pointer
-I/home/ubuntu/firebird/extern/libtommath -pthread -fno-rtti   -c
/home/ubuntu/firebird/src/yvalve/MasterImplementation.cpp -o
/home/ubuntu/firebird/temp/Release/yvalve/MasterImplementation.o
In file included from /home/ubuntu/firebird/src/include/firebird.h:70:0,
                 from
/home/ubuntu/firebird/src/yvalve/MasterImplementation.cpp:29:
/home/ubuntu/firebird/src/include/../common/common.h:53:20: fatal error:
string.h: No such file or directory
 #include <string.h>
                    ^
compilation terminated.

On Mon, Aug 24, 2020 at 1:29 PM Alex Peshkoff via Firebird-devel <
firebird-devel@lists.sourceforge.net> wrote:

> On 2020-08-18 22:06, Karel Rys via Firebird-devel wrote:
> > Hello,
> >
> > I have an application for Android (runs on mobile phones and barcode
> > mobile scanners). Application is written in Delphi, uses Embedded
> > Firebird 3.0.6 and is build for 32 bit.
> > I would like to publish the application in Google Play, so I have to
> > build it for 64 bit Android, too.
> >
> > Please is there a binary build of Firebird 3 for Android 64 bit? Or
> > are there instructions so that I can build it myself? Unfortunatelly,
> > I have almost zero experience with builds of C++ and no tools for it
> > on my Windows machine, so binary version would be much easier to use,
> > but I am able to compile from source on linux (but never tried
> > cross-platform compilation there).
> >
>
> Time to try :-)
> Approximately this way:
>
> ./autogen.sh --prefix=/opt/firebird --enable-binreloc
> --with-cross-build=android.arm64 --without-editline && make
>
>
>
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to