Having a standalone GCC installer is a nice option (especially if you have an Air with limited disk space), but if you want to avoid the hassle of debugging the occasional compilation failure, Xcode is the way to go.
Does anyone know of a site that collects these sorts of stories? I was recently looking to set up an environment to start experimenting with a new language and I have the ability to do it on ubuntu, os x, or windows 7, but I had trouble finding advice on the tradeoffs of them, beyond the stereotypical "use linux!" type stuff.
Man, I was looking for something like that just a few weeks ago, and somehow completely failed to find it.
The exact phrase I sued was "install GCC without XCode", which turns up, not the project, but a bunch of stackoverflow questions asking whether such a thing is possible. Most of the answers are pessimistic or involve copying it from installation CDs that didn't come with my Air.
The first result now has the correct answer, but said answer is but a few days old! :)
Just too bad 2011 OS X is hurting even more than ever for a competent programmers editor. TextMate is dying by inches and it never really had the powers of the Unix ones anyway. As for BBedit, it's pretty much a HTML editor with syntax highlighting for some other things. You might as well use Dashcode.
Yeah, Emacs blah Vim bleh, but those are not really OS X editors. I do be using Emacs, but I crave real Mac-iness and integration.
You're not going to get a better editor than vim or emacs. If you really refuse to learn either, there's always SublimeText 2, which is in beta right now. It's what most imagine TextMate 2 would have been (and yes, I'm aware that TM2 is being developed, but it's nothing more than vaporware to me at this point).
I have no problems with the current MacVim and I like that it isn't "better integrated". I would rather it work the same on every platform that I use it on.
I really like Sublime Text 2. My only complaint thus far is that in order to change colors in themes -- in my case, I only change the comment color in Monokai Bright from grey to green -- you have to find and manually edit the config files. Which, honestly, is pretty easy. I like the fact that I can use it both at work on Win7 and at home on my macs.
It's interesting, but my hands keep trying to use emacs key bindings. Unfortunately, there are no pre canned settings and I didn't want to spend the time making an emacs binding override.
I felt exactly this way until a few months ago when I tried Sublime Text 2. Love it; keeps getting better every build (which actually happen quite frequently).
Just too bad 2011 OS X is hurting even more than ever for a competent programmers editor.
Seriously? Mac OS X has the best of both worlds: vim and emacs come pre-installed and we have the best of the GUI editors like BBEdit, TextMate, Espresso, SubEthaEdit, Fraise, Vico, etc.
As for BBedit, it's pretty much a HTML editor with syntax highlighting for some other things.
Yeah, bbedit has tons of ways of running scripts and stuff. It just sucks at editing text. It doesn't know how to indent code, or even format stuff like bulleted lists in plain text.
That's the problem with Mac editors, they have fancy sidebars and think opening a directory of files or running a Unix pile is hot stuff, but they're not much better than a text box in Safari at actually editing text.
+1. I find that Textmate and aquamacs in tandem provide enough coverage for different coding tasks. Also, I find IntelliJ, RubyMine, and PyCharm great when I need auto-completion and a full IDE environment. (Some of my Clojure using friends may laugh, but IntelliJ with the Clojure plugin is my favorite Clojure hacking environment.)
Aquamacs is what I use for all Gambit-C Scheme and Common Lisp coding.
Wow, I do almost exactly the same thing. I thought I was weird cause I don't know anyone else that does it.
But, I get frustrated with clojure in intellij because it doesn't understand leiningen. The clojure repl, for example, doesn't load the dependencies from lein.