Re: [Firebird-devel] Firebird for Android

2012-08-03 Thread JLM
On 02/08/2012 13:51, Alex Peshkoff wrote: > Probably worth trying with O1& O2? > I understand that client is not (typically) time critical, but we will > need to compile server for that platform. It stops to run from the O1 parameter. J-L M ---

Re: [Firebird-devel] Firebird for Android

2012-08-02 Thread JLM
> Quite possible. > Please try to decrease optimization level in > builds/posix/make.android.arme. There is line > OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer > -O0 instead -O3 will be good first attempt. It runs ! So the O3 gcc optimization was the problem. We can now say that the libfbclient for

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
I've got news ! When I use the Debug version of libfbclient, there is no errors, it runs perfectly, all the time. So, maybe the optimization of the release's code go a bit too far ? PS : How to see debug messages ? There is no more message in the console than the release version... Jean-Louis

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
On 01/08/2012 13:13, Alex Peshkoff wrote: Looks like races. They are random. Can you get stack traces for Android? In many cases they are enough to fix a bug. I get stack traces of Android. I send a version with error and a version without error. Jean-Louis Meuriot D/AndroidRuntime(21125):

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
> It's very bad idea to try to open database, created with 3.0, using 2.5 > server. It will never open. Of course... I didn't give expression to that... So, in the fact I can't do a make install of Firebird 3.0, I've tried the server 2.5, with the 2.5 employee database, with Qt Necessitas using

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
> It's very bad idea to try to open database, created with 3.0, using 2.5 > server. It will never open. Of course... I didn't react to that... But I can't do a make install of Firebird 3.0, it freezes. So I can't have a Firebird 3.0 server. -

Re: [Firebird-devel] Firebird for Android

2012-08-01 Thread JLM
On 01/08/2012 09:02, Alex Peshkoff wrote: On 07/31/12 20:06, JLM wrote: Sooner of all wireshark does not recognize an attempt to talk using new protocol, FB13. That extensions are silently ignored by old servers, but may drive packet dumper crazy. In hex form packets look OK for me

Re: [Firebird-devel] Firebird for Android

2012-07-31 Thread JLM
On 31/07/2012 09:48, Alex Peshkoff wrote: The most interesting question now is - what fixes do we need to make fbclient work? I've tried to use the libfbclient with Necessitas. I used the IBase driver compiled for Android Arm. The libfbclient is load, seems to apparently runs. The libfbclie

Re: [Firebird-devel] Firebird for Android

2012-07-30 Thread JLM
On 27/07/2012 13:45, Alex Peshkoff wrote: > > Yes. And BTW - we need this file for Android anyway. > Did you have a chance to build ICU for Android? > I have tried to compile ICU but it's seems not ready to runs on Android. The configure is not predicted to compile on Android-ARM, there is still

Re: [Firebird-devel] Firebird for Android

2012-07-27 Thread JLM
Hello, It's OK, I succeed in cross-compile the libfbclient. But there is 2 errors during the compilation : 1. There is missing the platform.h file in the extern/icu/source/common/unicode/ repertory of the firebird sources. 2. In the NDK, the libsupc++.a library isn't in the platforms/android-9

Re: [Firebird-devel] Building Firebird for Android

2012-07-26 Thread JLM
On 25/07/2012 15:01, Alex Peshkoff wrote: > >> checking for gcc... arm-linux-androideabi-gcc > >>> Thanks for your response, but it's still not running, this parameter has >>> changed nothing > > Default compiler should be your native gcc, not cross-compiler. > That means I can't cross-compile

Re: [Firebird-devel] Building Firebird for Android

2012-07-25 Thread JLM
On 25/07/2012 15:01, Alex Peshkoff wrote: > >> checking for gcc... arm-linux-androideabi-gcc > >>> Thanks for your response, but it's still not running, this parameter has >>> changed nothing > > Default compiler should be your native gcc, not cross-compiler. > > > -

Re: [Firebird-devel] Building Firebird for Android

2012-07-25 Thread JLM
On 25/07/2012 14:23, Alex Peshkoff wrote: > On 07/25/12 16:04, JLM wrote: >> It's an error of my last trial, but even with ./autogen.sh >> --with-cross-build=android.arme it not succeed : >> >> >>> ./configure --with-cross-build=android.arme >

Re: [Firebird-devel] Building Firebird for Android

2012-07-25 Thread JLM
: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details On 25/07/2012 13:28, Alex Peshkoff wrote: > On 07/25/12 13:44, JLM wrote: > > >>> Running ./configure --enable-binreloc --with-cross-buil

Re: [Firebird-devel] Building Firebird for Android

2012-07-25 Thread JLM
Hello, I'm trying again to compile libfbclient but I can't. The configure script dot not succeed, because I'am cross-compiling. > echo $CC > arm-linux-androideabi-gcc > Running ./configure --enable-binreloc --with-cross-buil=android.arme ... > configure: WARNING: unrecognized options: --with-cros

Re: [Firebird-devel] Building Firebird for Android

2012-07-24 Thread JLM
On 20/07/2012 15:09, Alex Peshkoff wrote: > On 07/20/12 16:20, JLM wrote: > Checkout trunk and use the following configure (autogen.sh) parameter > --with-cross-build=android.arme > > BTW - I did not find any VM in android's NDK. What is the best way to > check/debug a

Re: [Firebird-devel] Building Firebird for Android

2012-07-23 Thread JLM
On 23/07/2012 04:03, Adriano dos Santos Fernandes wrote: > I tried it, with official NDK but got error compiling common/CharSet.cpp > which needs ICU. So not even the client compiled. > > --- > asfernandes:~/fb/dev/trunk.git$ echo $NDK > /home/asfernandes/androi

[Firebird-devel] Building Firebird for Android

2012-07-20 Thread JLM
Hello, Thanks all for your answers. I didn't know that it was possible to build client library for Android. It's for ARM ? How do buil that ? Cross-compilation of Firebird runs with difficulty. Do you use a classic gcc cross-compiler of do you use the NDK toolset ? Regards, Jean-Louis Meuriot

[Firebird-devel] [FB-Tracker] Created: (CORE-3885) FIrebird for Android

2012-07-05 Thread JLM (JIRA)
Environment: Android 4 Reporter: JLM Priority: Minor Hello, I'm trying to build Firebird 2.1 for Android ARM. For the moment, I am compiling, step by step, by correcting builds issues. To compile, I use the custom NDK R7 by Crystax in order to use the standard libc instead o