On 05/14/13 14:19, Piotr Piwko wrote:
> Hi,
>
> I was trying to build the latest version of Firebird to the ARM based
> platform using cross-compiler. Basically, I'm only interested in client
> library in order to write application which will be able to connect to
> external database server.
>
> I execute following command to generate the configuration script:
> ./autogen.sh --host=arm-linux CC=arm_v5t_le-gcc CXX=arm_v5t_le-g++
>
> After few information lines, finally I get the following error:
> ...
> checking for /proc/self/maps... configure: error: cannot check for file
> existence when cross compiling
>
> Do I do something wrong, or maybe there is no possibility to use Firebird
> client on ARM platform (I don't believe in that) ?

What do you mean under latest? You should use svn's trunk (or FB3 snapshot).

Next, you should not
./autogen.sh --host=arm-linux CC=arm_v5t_le-gcc CXX=arm_v5t_le-g++

Instead please (on linux)
./autogen.sh --with-cross-build=android.arme && make
Something like path to NDK should be exported, it will inform what it 
wants during build. Keep default gcc native - it will switch to NDK one 
when needed!
That should build native client for Android (but was not tested for a 
long time, i.e. problems possible).
And yes, client from FB3 can talk to older servers (checked with 2.5).


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to