From: Alex P. <pes...@ma...> - 2012-07-27 11:45:40
|
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... |