Mac OS Lion上消失的Developer Tools
来源:互联网 发布:大数据清洁是什么意思 编辑:程序博客网 时间:2024/05/16 14:10
转自:http://www.scicoder.org/2012/03/developer-tools-on-os-x-10-7-lion/
Developer Tools on OS X 10.7 (Lion)
Apple has made some big changes to their developer tools lately. The new Xcode 4 is a huge change from Xcode 3. I’ll admit that I’ve moved from “I hate it!!” to “I don’t hate it anymore.” But that took some time.
The other big change is that Xcode is now available only from the Mac App Store, of course for free. In previous versions when you installed the Developer Tools package, you'd get gcc, make, and all the usual developer tools you’d expect as part of the installation. Now “Developer Tools” means “the Xcode app.” If you install it and go to the command line, you might be a little surprised to still see this:
%
make
-
bash
:
make
:
command
not found
% gcc
-
bash
: gcc:
command
not found
% cc
-
bash
: cc:
command
not found
You need to perform one more step. Open Xcode, and then go to Preferences ➔ Downloads and select the “Components” tab. There you can click the install button next to “Command Line Tools”.
That’s it!
For those of you who miss the contents of the old /Developer directory read on. Its contents are not gone, but they now live inside the Xcode application itself. In the Finder, if you control-click (or right-click) on the Xcode icon and select “Show Package Contents”. But there are other ways to get to what you need; you don’t really need to go there. For example, to access the very handy File Merge tool, you get to it from the Xcode menu:
It’s rather annoying that Apple has “hidden” FileMerge like that, but hey, now you know where it is. What, you’ve never used it before?? It’s perfect for comparing two text files visually. Give a try — it’s a lot nicer than diff on the command line.
- Mac OS Lion上消失的Developer Tools
- PC上安装Mac OS X Lion
- 在VMWare装Mac OS Lion后装VMWare Tools的解决办法
- Mac OS Mountain Lion 下的Wireshark
- Mac OS Mountain Lion 下的Wireshark
- 在 Mac OS X Lion 10.7 上 下载Android 源码(froyo)的全部过程!!!!
- Mac OS X Lion 10.7.2上配置svn服务器
- mac mountain lion ORACLE SQL Developer 打不开的解决方法
- mac+os+lion+安装+tomboy
- Mac OS X Lion 快捷键
- mac os lion 卸载MySQL
- Mac OS X Lion使用指南
- VMWare中安装Mac OS Lion和XCode的注意事项
- Mac OS X Lion 的 Sandbox 技术初探
- VMWare8运行Mac OS Lion时安装VMTools的问题
- Mac OS X Lion下找不到GCC 的解决方法
- VMWare8运行Mac OS Lion时安装VMTools的问题
- 显示Mac OS X Lion中隐藏的Library文件夹
- 使用事件驱动模型实现高效稳定的网络服务器程序
- struts2文件上传笔记
- 使用 Lua 编写可嵌入式脚本
- luaL_loadbuffer
- mysqldump 导出的时候忽略某些表|排除某些表
- Mac OS Lion上消失的Developer Tools
- JS时间格式 GMT格式转换
- Hash Join, Nested Loop, Sort-Merge Join
- mysql获取数据库表最后更新时间,update_time 为null
- vc/c++/c#语言总结
- Hibernate Blob数据类型映射的一个例子
- release 版 crash后 根据dump文件调试。。。。。。
- 软件测试之路
- java 说明