开发者

is it binary compatible for emdebian and android?

开发者 https://www.devze.com 2023-01-01 01:04 出处:网络
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 inemdebian (arch is armel) and the

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开发者_开发知识库?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号