doc: suggest xcode-select --install

If you don't have the full Xcode installed, the command-line tools are
all you need.

PR-URL: https://github.com/nodejs/node/pull/13264
Fixes: https://github.com/nodejs/node/issues/6449
Refs: https://github.com/nodejs/node/pull/9215
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Gibson Fahnestock 2017-05-28 11:57:35 +01:00
parent 163c0780ea
commit fc102d0197
No known key found for this signature in database
GPG Key ID: B01FBB92821C587A

View File

@ -81,13 +81,12 @@ Prerequisites:
* Python 2.6 or 2.7 * Python 2.6 or 2.7
* GNU Make 3.81 or newer * GNU Make 3.81 or newer
On macOS, you will also need: On macOS you will need to install the `Xcode Command Line Tools` by running
* [Xcode](https://developer.apple.com/xcode/download/) `xcode-select --install`. Alternatively, if you already have the full Xcode
- You also need to install the `Command Line Tools` via Xcode. You can find installed, you can find them under the menu `Xcode -> Open Developer Tool ->
this under the menu `Xcode -> Preferences -> Downloads` More Developer Tools...`. This step will install `clang`, `clang++`, and
- This step will install `gcc` and the related toolchain containing `make` `make`.
* You may want to setup [firewall rules](tools/macosx-firewall.sh)
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh)
to avoid popups asking to accept incoming network connections when running tests: to avoid popups asking to accept incoming network connections when running tests:
```console ```console