2011 Rubyist’s guide to a Mac OS X development environment
robots.thoughtbot.com
robots.thoughtbot.com
The default GCC installed by Xcode is no longer GCC you expect it too be, it's actually a hybrid of LLVM and GCC
/usr/bin/gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
A non-hybrid version in installed at:
/usr/bin/gcc-4.2 --version i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1
It's a rather important change to GCC on mac, it even broke `brew install mysql` for awhile:
https://github.com/mxcl/homebrew/issues/6277
Some great hackers found out it was linking to Apple's internal pthread library.
Code-softly hackers.
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! :)
Thanks!
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).
Aquamacs is what I use for all Gambit-C Scheme and Common Lisp coding.
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.
I think a better grep mode could be written but it doesn't exist yet afaik.
It's cross platform (Windows, Linux and Mac), but still feels excellent on OS X.
But I haven't used Emacs as my primary editor in Lion yet. In might feel more out of place once apps start supporting restore and all that stuff.
* Vico ( http://www.vicoapp.com/ )
* Kod ( http://kodapp.com/ )
* Chocolat (Alpha) ( http://chocolatapp.com/ )
also don't forget SubEthaEdit ( http://www.codingmonkeys.de/subethaedit ) and Espresso ( http://macrabbit.com/espresso/features/edit/ ).
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.
BBEdit kicks ass. Yes, it has great HTML tools(http://www.barebones.com/products/bbedit/benefitsstandards.h...) which were updated and enhanced recently in version 10 (http://www.macworld.com/article/161180/2011/07/bbedit_10.htm...). But it can also handle the hairiest tasks you can throw at it. Being a hardcore text editor is great and all; where it has always shined is supporting Mac OS X technologies: AppleScript(http://macosxautomation.com/lion/applescript.html) (scriptable, recordable, and attachable), Automator(http://www.barebones.com/products/bbedit/automator.html) without sacrificing the Unix goodies--it's scriptable using Perl, Ruby, Python, etc. I don't know of another editor that has a document type (Unix worksheets http://www.barebones.com/products/bbedit/benefitsintegrate.h...) just for executing shell commands without leaving the editor itself.
I would put BBEdit's feature set against any editor on any platform.
I have no affiliation with BareBones; just a satisfied customer for many years.
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.