Where to find nm tool (compiled or source code) for Android

倖福魔咒の 提交于 2019-12-01 01:30:06

nm is part of binutils. You can get the source code from http://ftp.gnu.org/gnu/binutils.

You can also find arm supporting binary (compiled for host, linux-x86) in Android NDK.

If you need a binary for Android target, you can try to build it by obtaining latest Android repository, navigating to external/elfutils. However I don't think there is an Android.mk building it, so it might not be trivial. You can see that nm.c on github mirror of Android repository.

nm is available in all ndk toolchains, for example:
< ndk >/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-nm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!