Added Android x86_64 cross and makefile
file libfbclient.so.3.0.2
libfbclient.so.3.0.2: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, not stripped
https://github.com/FirebirdSQL/firebird/pull/59/commits/3cc28b0286527bef39f369d0aec3a8687a3d65fd
What is left is x86 and then cherry picked to master
On Mon, Oct 24, 2016 at 4:43 PM, marius adrian popa <map...@gmail.com>
wrote:
> Seems that timeb.h is deprecated in android-2x
>
> https://github.com/FirebirdSQL/firebird/pull/59/commits/
> 8fd0edd4b81fccfb2e1f949374f0f46c11337192
>
> I have added a pull request for arm64
> https://github.com/FirebirdSQL/firebird/pull/59
>
> I will add for x86 and x86-64 also
>
> On Mon, Oct 24, 2016 at 12:17 PM, marius adrian popa <map...@gmail.com>
> wrote:
>
>> android-14 doesn't have the x86-64 folder with headers replaced with
>> android-24
>>
>> CROSS_PLATFORM:=$(NDK)/platforms/android-24/arch-x86_64
>>
>> On Mon, Oct 24, 2016 at 1:01 AM, marius adrian popa <map...@gmail.com>
>> wrote:
>>
>>> With a few tweaks i have created a build configuration file for
>>> android-x86_64
>>> needs to be added in builds/posix
>>>
>>> https://gist.github.com/mariuz/3f99730f1230a1f07088f61794275fe3
>>>
>>> ps: what you have created is arm 32 bit build
>>>
>>> but i have some errors with tommath
>>> make tommath
>>> make[4]: Entering directory '/tmp/Firebird-3.0.1.32609-0/gen'
>>> /home/mariuz/android_ndk/toolchains/x86_64-4.9/prebuilt/linu
>>> x-x86_64/bin/x86_64-linux-android-gcc
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include/gen
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include -ggdb
>>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DAMD64 -pipe -MMD -fPIC
>>> -fmessage-length=0 -I/tmp/Firebird-3.0.1.32609-0/extern/libtommath
>>> --sysroot=/home/mariuz/android_ndk/platforms/android-14/arch-x86_64
>>> -I/home/mariuz/android_ndk/platforms/android-14/arch-x86_64/usr/include
>>> -I/tmp/Firebird-3.0.1.32609-0/gen/cross -fno-omit-frame-pointer
>>> -pthread -c ../extern/libtommath/bncore.c -o ../extern/libtommath/bncore.o
>>> /home/mariuz/android_ndk/toolchains/x86_64-4.9/prebuilt/linu
>>> x-x86_64/bin/x86_64-linux-android-gcc
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include/gen
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include -ggdb
>>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DAMD64 -pipe -MMD -fPIC
>>> -fmessage-length=0 -I/tmp/Firebird-3.0.1.32609-0/extern/libtommath
>>> --sysroot=/home/mariuz/android_ndk/platforms/android-14/arch-x86_64
>>> -I/home/mariuz/android_ndk/platforms/android-14/arch-x86_64/usr/include
>>> -I/tmp/Firebird-3.0.1.32609-0/gen/cross -fno-omit-frame-pointer
>>> -pthread -c ../extern/libtommath/bn_mp_add_d.c -o
>>> ../extern/libtommath/bn_mp_add_d.o
>>> /home/mariuz/android_ndk/toolchains/x86_64-4.9/prebuilt/linu
>>> x-x86_64/bin/x86_64-linux-android-gcc
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include/gen
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include -ggdb
>>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DAMD64 -pipe -MMD -fPIC
>>> -fmessage-length=0 -I/tmp/Firebird-3.0.1.32609-0/extern/libtommath
>>> --sysroot=/home/mariuz/android_ndk/platforms/android-14/arch-x86_64
>>> -I/home/mariuz/android_ndk/platforms/android-14/arch-x86_64/usr/include
>>> -I/tmp/Firebird-3.0.1.32609-0/gen/cross -fno-omit-frame-pointer
>>> -pthread -c ../extern/libtommath/bn_mp_to_signed_bin.c -o
>>> ../extern/libtommath/bn_mp_to_signed_bin.o
>>> /home/mariuz/android_ndk/toolchains/x86_64-4.9/prebuilt/linu
>>> x-x86_64/bin/x86_64-linux-android-gcc
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include/gen
>>> -I/tmp/Firebird-3.0.1.32609-0/src/include -ggdb
>>> -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DANDROID -DAMD64 -pipe -MMD -fPIC
>>> -fmessage-length=0 -I/tmp/Firebird-3.0.1.32609-0/extern/libtommath
>>> --sysroot=/home/mariuz/android_ndk/platforms/android-14/arch-x86_64
>>> -I/home/mariuz/android_ndk/platforms/android-14/arch-x86_64/usr/include
>>> -I/tmp/Firebird-3.0.1.32609-0/gen/cross -fno-omit-frame-pointer
>>> -pthread -c ../extern/libtommath/bn_mp_to_signed_bin_n.c -o
>>> ../extern/libtommath/bn_mp_to_signed_bin_n.o
>>> In file included from ../extern/libtommath/bncore.c:1:0:
>>> /tmp/Firebird-3.0.1.32609-0/extern/libtommath/tommath.h:18:19: fatal
>>> error: stdio.h: No such file or directory
>>> #include <stdio.h>
>>> ^
>>> compilation terminated.
>>> make.rules:91: recipe for target '../extern/libtommath/bncore.o' failed
>>> make[4]: *** [../extern/libtommath/bncore.o] Error 1
>>> make[4]: *** Waiting for unfinished jobs....
>>> In file included from ../extern/libtommath/bn_mp_add_d.c:1:0:
>>> /tmp/Firebird-3.0.1.32609-0/extern/libtommath/tommath.h:18:19: fatal
>>> error: stdio.h: No such file or directory
>>> #include <stdio.h>
>>> ^
>>> compilation terminated.
>>> In file included from ../extern/libtommath/bn_mp_to_signed_bin.c:1:0:
>>> /tmp/Firebird-3.0.1.32609-0/extern/libtommath/tommath.h:18:19: fatal
>>> error: stdio.h: No such file or directory
>>> #include <stdio.h>
>>> ^
>>> compilation terminated.
>>> make.rules:91: recipe for target '../extern/libtommath/bn_mp_add_d.o'
>>> failed
>>> make[4]: *** [../extern/libtommath/bn_mp_add_d.o] Error 1
>>> make.rules:91: recipe for target
>>> '../extern/libtommath/bn_mp_to_signed_bin.o'
>>> failed
>>> make[4]: *** [../extern/libtommath/bn_mp_to_signed_bin.o] Error 1
>>> make[4]: *** wait: No child processes. Stop.
>>> Makefile:232: recipe for target 'cross2' failed
>>> make[3]: *** [cross2] Error 2
>>> make[3]: Leaving directory '/tmp/Firebird-3.0.1.32609-0/gen'
>>> Makefile:203: recipe for target 'cross_process' failed
>>> make[2]: *** [cross_process] Error 2
>>> make[2]: Leaving directory '/tmp/Firebird-3.0.1.32609-0/gen'
>>> Makefile:66: recipe for target 'firebird' failed
>>> make[1]: *** [firebird] Error 2
>>> make[1]: Leaving directory '/tmp/Firebird-3.0.1.32609-0/gen'
>>> Makefile:6: recipe for target 'firebird' failed
>>> make: *** [firebird] Error 2
>>>
>>>
>>>
>>> On Sun, Oct 23, 2016 at 6:57 PM, USB, d.o.o Miran <usb...@gmail.com>
>>> wrote:
>>>
>>>>
>>>> Distributor ID: Debian
>>>> Description: Debian GNU/Linux 8.5 (jessie)
>>>> Release: 8.5
>>>> Codename: jessie
>>>>
>>>> https://dl.google.com/android/repository/android-ndk-r13-bet
>>>> a1-linux-x86_64.zip
>>>> wget http://web.firebirdsql.org/download/prerelease/source/Firebi
>>>> rd-3.0.0.32483-0.tar.bz2
>>>>
>>>>
>>>> sudo apt-get install libtommath-dev
>>>>
>>>> export NDK=/home/usb/arm/android-ndk-r13-beta1
>>>> echo $NDK
>>>> cd /home/usb/arm/Firebird-3.0.0.32483-0
>>>> ./autogen.sh --with-cross-build=android.arme --without-editline
>>>> --enable-binreloc
>>>> make
>>>>
>>>>
>>>> I get no erros
>>>> Result is
>>>> /home/usb/arm/Firebird-3.0.0.32483-0/gen/Release/firebird/lib
>>>>
>>>> I did successfully libfbclient.so.3.0.0 32-bit
>>>>
>>>> The question is: How to make libfbclient.so.3.0.0 64-bit , x86-64
>>>>
>>>> Any help is welcome.
>>>> Regars
>>>> Miran from Slovenia
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel