Skip to content
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

fix MacOS setup for c compiler output to include clang as an acceptable output #165

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion website/_containers/begin/2013-10-30-setup-your-machine.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,18 @@ For Mac OS X 10.9 and higher (Mavericks and later): Within your terminal, run `x

For Mac OS X 10.8 and lower (Mountain Lion and earlier), you will need to download the Command Line Tools from Apple [here](https://developer.apple.com/downloads/index.action#). A (free) developer’s account is required. Search for your OS version (which can be found by clicking on the Apple in the top left of your menu bar, and selecting “About this Mac”) and select “Command Line Tools for XCode”.

This gives you the [GCC][7] or the GNU Compiler Collection. To test installation, within the Terminal application, type `gcc` and you should get the following:
This gives you the [GCC][7] or the GNU Compiler Collection. To test installation, within the Terminal application, type `gcc` and you should get one of the following outputs (depending upon whether your machine defaults gcc to clang):

```bash
$ gcc
i686-apple-darwin11-llvm-gcc-4.2: no input files
```

```bash
$ gcc
clang: error: no input files no input files
```

### pip

[pip][9], stands for “python install python”, is a tool for installing and managing Python packages. Within your Terminal application, use the following commands (ignore the leading `$` as that is your terminal prompt) for downloading & installing. It may prompt you for your computer login password.
Expand Down