Question

the Android ndk is hard to use for the old autoconf based code, so i employed scratchbox2/emdebian to have a complete build environment. can i build a shared library in emdebian (arch is armel) and then use it in android?

Was it helpful?

Solution

The official NDK comes with a version of GCC that works with Google's custom Bionic libc. If you are using a version of GCC that is intended to work with the GNU libc then you must statically link it in (as is done by the Crystax NDK). So even if your compiler generates the correct instructions, it may be worthwhile to rework your build environment to avoid bloating your application unnecessarily.

OTHER TIPS

armel is Arm Eabi. Android is ARMv5 eABI. They will probably be compatible.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top