Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GCC without Xcode on OS X

Tags:

xcode

macos

gcc

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.

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?

like image 813
Konrad Rudolph Avatar asked Feb 24 '09 20:02

Konrad Rudolph


2 Answers

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.

like image 144
Jeremy L Avatar answered Oct 05 '22 07:10

Jeremy L


A friend of mine recently released this:

https://github.com/kennethreitz/osx-gcc-installer

Have fun :)

like image 31
shanemcd Avatar answered Oct 05 '22 06:10

shanemcd