Skip to content

Commit e4b0200

Browse files
committed
added alternative clang output for gcc c compiler setup instructions for MacOS
1 parent 82ee64a commit e4b0200

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

website/_containers/begin/2013-10-30-setup-your-machine.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,18 @@ For Mac OS X 10.9 and higher (Mavericks and later): Within your terminal, run `x
5252

5353
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”.
5454

55-
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:
55+
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):
5656

5757
```bash
5858
$ gcc
5959
i686-apple-darwin11-llvm-gcc-4.2: no input files
6060
```
6161

62+
```bash
63+
$ gcc
64+
clang: error: no input files no input files
65+
```
66+
6267
### pip
6368

6469
[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.

website/_site/assets/pdfs/setup/mac-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $ sudo pip install --upgrade setuptools
6060

6161
<h5 style="text-align:center"><span style="color:#8c8c8c">virtualenv & virtualenvwrapper</span></h5>
6262

63-
virtualenv\[9] creates isolated environments for each of your Python projects. It helps to solve version & dependency problems with multiple Python installations and/or multiple versions of different Python packages. We’ll use `pip` to install it:
63+
virtualenv\[9] creates isolated environments for each of your Python projects. It helps to solve version & dependency problems with multple Python installations and/or multiple versions of different Python packages. We’ll use `pip` to install it:
6464

6565
```bash
6666
$ sudo pip install virtualenv

0 commit comments

Comments
 (0)