在OS X上没有Xcode的GCC [英] GCC without Xcode on OS X

查看:119
本文介绍了在OS X上没有Xcode的GCC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚打开了我的新MacBook Pro( yay !),现在正在为开发进行正确设置。因为我想避免混乱,所以我想知道是否真的需要安装Xcode工具(我从来不使用IDE或Mac特定的工具),因为我会安装更新版本的GCC,使用 MacPorts

I've just unwrapped my new MacBook Pro (yay!) and am now setting it up properly for development. Since I want to avoid clutter, I'm wondering if I really need to install the Xcode tools at all (I never use the IDE or Mac specific tools), since I'll install a newer version of GCC anyway, using MacPorts.

那么,安装Xcode有什么好处吗?有必要吗?它在幕后做了什么样的设置?基本上:我可以跳过这个问题还是会回来困扰我,因为一些Unix开发工具只是假设OS X总是以这种方式设置?

So, is there any benefit in installing Xcode? Is it necessary? What kind of set-up does it do behind the scenes? Basically: can I skip this or will it come back to haunt me because some Unix development tools just assume that OS X is always set up in this way?

推荐答案

为了执行简单且成功的MacPorts安装,已经有了来自xCode安装程序的工具。您只需要将xix之外的unix /头文件副本放置的安装选项;其他一切都可以保持卸载。

In order to perform an easy and successful install of MacPorts, already having tools from the xCode installer is necessary. You only need the install option that places a copy of the unix/header files outside of xcode; everything else can remain uninstalled.

这篇关于在OS X上没有Xcode的GCC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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