-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: suggest xcode-select --install #13264
Conversation
It looks like it works from 10.9 (mavericks), so I think we should be fine. IMHO it's unnecessary to go into any more detail, or to consider the full Xcode install for |
BUILDING.md
Outdated
@@ -83,8 +83,10 @@ Prerequisites: | |||
|
|||
On macOS, you will also need: | |||
* [Xcode](https://developer.apple.com/xcode/download/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we reword this a bit? At the moment it says "On macOS, you will also need -> Xcode -> You also need to install the Xcode Command Line Tools
...".
A full installation of Xcode is not required, so maybe this can be changed to
On macOS, you will also need:
- The
Xcode Command Line Tools
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, PTAL.
d2bc186
to
93f8ecf
Compare
BUILDING.md
Outdated
On macOS you will need to install the `Xcode Command Line Tools` by running | ||
`xcode-select --install`. If you already have the full Xcode installed you can | ||
find them under the menu `Xcode -> Open Developer Tool -> More Developer | ||
Tools...`. This step will install `clang`, `clang++`, and `make`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems confusing. Should I run the command line or should I open the GUI and "find them"? (I imagine the answer is "either will work" but I'm not sure that's clear from this text. If xcode-select --install
will work everywhere all the time, then maybe let's just leave it at that? Or preface the GUI content with "Alternatively, " so that people know it's one or the other?
Can someone who doesn't have the full XCode installed confirm that this actually works (that is, they can compile node this way)? |
@Trott can confirm I've always used this way. |
@Trott I went with this. Technically you can install both and switch between them with LGTY? |
BUILDING.md
Outdated
|
||
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh) | ||
On macOS you will need to install the `Xcode Command Line Tools` by running | ||
`xcode-select --install`. Alternatively if you already have the full Xcode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: comma after Alternatively
BUILDING.md
Outdated
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh) | ||
On macOS you will need to install the `Xcode Command Line Tools` by running | ||
`xcode-select --install`. Alternatively if you already have the full Xcode | ||
installed you can find them under the menu `Xcode -> Open Developer Tool -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: comma after installed
Text looks good to me. (Left a couple of punctuation nits, but whatever.) I don't know enough about the actual correctness of the content to provide a review/approval. I don't doubt that it's correct, but I'm not knowledgable enough to put a stamp on it. If you and @lpinca both say it's correct, that's good enough for me. |
8c686ca
to
7c3cc26
Compare
If you don't have the full Xcode installed, the command-line tools are all you need. PR-URL: nodejs#13264 Fixes: nodejs#6449 Refs: nodejs#9215 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
If you don't have the full Xcode installed, the command-line tools are
all you need.
Fixes: #6449
Refs: #9215
cc/ @nodejs/platform-macos
Checklist
Affected core subsystem(s)
doc, build