哪里可以找到纳米工具(编译或源$ C ​​$ C)为Android [英] Where to find nm tool (compiled or source code) for Android

查看:103
本文介绍了哪里可以找到纳米工具(编译或源$ C ​​$ C)为Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个应用程序,它能够列出Android的动态库.so文件的所有符号。我想询问是否有针对Android precompiled纳米或至少波长的光源$ C ​​$ C,这样我可以编译它自己。

I want to create an application that is able to list all symbols of a dynamic library .so file in Android. I want to ask if there is precompiled nm for Android or at least nm's source code so that I can compile it myself.

推荐答案

纳米是的 binutils的的。您可以从 http://ftp.gnu.org/gnu/binutils

您还可以找到在手臂的 Android的NDK

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

如果你需要一个二进制为Android的目标,你可以尝试通过获得最新的Andr​​oid库,导航到外部/的elfutils来构建它。不过,我不认为这是一个Android.mk构建它,所以它可能不会是微不足道的。你可以看到Android的库 github上镜nm.c

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.

这篇关于哪里可以找到纳米工具(编译或源$ C ​​$ C)为Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆