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

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

问题描述

我在OS X v10.9(Mavericks)中使用了GDB,但它不在那里。



pre $ #/ usr / lib / gdb
-bash:/ usr / bin / gdb:没有这样的文件或目录
#gdb
-bash:gdb:command not found



<我也推出了Xcode 5.0.1:

lockquote

首选项>下载


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

解决方案

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


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

I also launched Xcode 5.0.1:

Preferences > Downloads

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

解决方案

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中缺少GDB(小牛)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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