我已经尽力在osx 10.11上用HomeBrew安装binutils,最后成功了,但是objdump仍然不起作用。终端给出的响应如下:
MacBook-Pro:~ Mars$ brew install binutils
==> Downloading https://homebrew.bintray.com/bottles/binutils-2.26.el_capitan.bo
Already downloaded: /Library/Caches/Homebrew/binutils-2.26.el_capitan.bottle.tar.gz
==> Pouring binutils-2.26.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/binutils/2.26: 109 files, 140.3M
MacBook-Pro:~ Mars$ objdump
-bash: objdump: command not found
有人可以帮忙吗?
最佳答案
为了避免与Apple分发的实用程序发生冲突,由Homebrew安装的binutils可执行文件的名称都带有“ g”前缀(例如,objdump
变为gobjdump
)。
关于homebrew - 我已经在osx 10.11中安装了binutils,但是objdump仍然不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/36417358/