On 07/27/12 12:03, JLM wrote:
> 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.
>

Yes. And BTW - we need this file for Android anyway.
Did you have a chance to build ICU for Android?

> 2. In the NDK, the libsupc++.a library isn't in the 
> platforms/android-9/arch-arm/usr/lib, so the linker can't find it. I 
> make a symlink from platforms/android-9/arch-arm/usr/lib to 
> sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/libsupc++.a of the NDK, 
> where the file is present. And it's OK.
>

There is a line in

LDFLAGS += --sysroot=$(CROSS_PLATFORM)
-L$(NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi

I suppose the difference is that my NDK misses 4.4.3 before libc. And it
builds w/o such symlink. Even not sure how to fix this issue better...


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to