小编Chi*_*its的帖子

在带有Homebrew的Mac上使用所有目标安装GDB

我无法使用Homebrew(2.0.0)在Mac OSX Mojave(10.14)上启用所有目标的情况下安装gdb。

我已经试过: brew install gdb --enable-targets=allbrew install gdb --with-all-targets 和接收Error: invalid option: --enable-targets=allError: invalid option: --with-all-targets

brew info gdb 返回:

gdb: stable 8.2.1 (bottled), HEAD
GNU debugger
https://www.gnu.org/software/gdb/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gdb.rb
==> Dependencies
Build: pkg-config ?
==> Options
--HEAD
    Install HEAD version
==> Caveats
gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:

  https://sourceware.org/gdb/wiki/BuildingOnDarwin

On 10.12 (Sierra) or later with SIP, you need …
Run Code Online (Sandbox Code Playgroud)

macos homebrew gdb

5
推荐指数
1
解决办法
995
查看次数

标签 统计

gdb ×1

homebrew ×1

macos ×1