Adam Vandenberg a22bf17857 Add command "brew --env"
"brew --env" will set up a build environment and then dump certain ENV
variables (CC, CXX, LD, CFLAGS, CXXFLAGS, MAKEFLAGS).

If any of CC, CXX, LD are symlinks, now also output the target compiler.
(Typically these will be symlinks from eg /usr/bin/cc to /usr/bin/gcc-4.2).

This is a diagnostic command which may be merged into --config, turned
into an external command, or removed if it doesn't turn out to be useful.
2010-07-13 14:20:52 -07:00
2010-07-13 14:20:52 -07:00
2010-07-13 14:20:52 -07:00
2010-06-13 21:46:24 -07:00
2010-06-22 09:47:25 -07:00

Homebrew

Features and usage are summarized on the homepage.

Quick Install to /usr/local

This script will prompt for confirmation before it does anything:

ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"

Afterwards, install Xcode.

Umm… I thought I could install it anywhere?

Indeed, you can. Refer to our complete installation instructions.

Dude! Just give me a one-liner!

Okay then, but please note this installs Homebrew as root and we recommend against that.

curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1

More Documentation

The wiki is your friend.

Who Are You?

I'm Max Howell and I'm a splendid chap.

Languages
Ruby 98.2%
Shell 0.7%
HTML 0.6%
Roff 0.5%