OS X v10.9 (Mavericks) 中缺少 GDB [英] GDB missing in OS X v10.9 (Mavericks)

查看:18
本文介绍了OS X v10.9 (Mavericks) 中缺少 GDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 OS X v10.9 (Mavericks) 中使用了 GDB,但它不存在.去哪儿了?

I went to use GDB in OS X v10.9 (Mavericks), and it's not there. Where has it gone?

# /usr/lib/gdb
-bash: /usr/bin/gdb: No such file or directory
# gdb
-bash: gdb: command not found

我还推出了 Xcode 5.0.1:

I also launched Xcode 5.0.1:

首选项 > 下载

..并且不再有可用的命令行工具 - ffs!

..and there's no longer command line tools available — ffs!

推荐答案

gdb 已被 lldb 取代,不再支持.gccllvm-gcc 也不见了,取而代之的是 clang.

gdb has been replaced by lldb, and is no longer supported. gcc and llvm-gcc are also gone, replaced by clang.

这篇关于OS X v10.9 (Mavericks) 中缺少 GDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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