From 27010467984dcef481e5b05113a6fbcf74b4df45 Mon Sep 17 00:00:00 2001
From: Shenghou Ma
-On OS X, a C compiler can be installed as part of
-Xcode.
+On OS X, a C compiler is bundled in the command line tools for
+Xcode,
+and you don't need to install the whole Xcode to compile Go.
+If you have already installed Xcode 4.3+, you can install command
+line tools from the Components tab of the Downloads preferences panel.
+To verify you have a working compiler, just invoke gcc
+in a freshly created Terminal window, unless you see the
+"gcc: command not found
" error, you are ready to go.
diff --git a/doc/install.html b/doc/install.html index ec78d2a5a8b..39de519b08d 100644 --- a/doc/install.html +++ b/doc/install.html @@ -42,12 +42,17 @@ proceeding. If your OS or architecture is not on the list, it's possible that
-†gcc
is required only if you plan to use cgo.
+†gcc
is required only if you plan to use
+cgo.
+‡You only need to install the command line tools for
+Xcode. If you have already
+installed Xcode 4.3+, you can install it from the Components tab of the
+Downloads preferences panel.