2016-04-05 89 views
2

我試圖用HomeBrew在osx 10.11上安裝binutil,終於成功了,但objdump仍然不起作用。終端給出的響應如下:我已經在osx 10.11中安裝了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 

任何人都可以提供幫助嗎?

回答

10

爲了避免與蘋果發佈的公用事業衝突,通過自制全部安裝binutils的可執行文件有前綴,以他們的名字「G」(所以,例如,objdump變成gobjdump)。

相關問題