From e4b020002b656bffbd5ac14012f4ccb238cf8b46 Mon Sep 17 00:00:00 2001 From: Tam Blood Date: Sat, 28 Feb 2015 16:58:48 -0800 Subject: [PATCH 1/2] added alternative clang output for gcc c compiler setup instructions for MacOS --- website/_containers/begin/2013-10-30-setup-your-machine.md | 7 ++++++- website/_site/assets/pdfs/setup/mac-setup.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/website/_containers/begin/2013-10-30-setup-your-machine.md b/website/_containers/begin/2013-10-30-setup-your-machine.md index 82413ad0..0d9c49f4 100644 --- a/website/_containers/begin/2013-10-30-setup-your-machine.md +++ b/website/_containers/begin/2013-10-30-setup-your-machine.md @@ -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. diff --git a/website/_site/assets/pdfs/setup/mac-setup.md b/website/_site/assets/pdfs/setup/mac-setup.md index 667191eb..4ad952c3 100644 --- a/website/_site/assets/pdfs/setup/mac-setup.md +++ b/website/_site/assets/pdfs/setup/mac-setup.md @@ -60,7 +60,7 @@ $ sudo pip install --upgrade setuptools
virtualenv & virtualenvwrapper
-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: +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: ```bash $ sudo pip install virtualenv From fbc1a455076bdb67c7fd244e1e6611d122a448d1 Mon Sep 17 00:00:00 2001 From: Tam Blood Date: Sat, 28 Feb 2015 17:05:23 -0800 Subject: [PATCH 2/2] fixed typo in multiple --- website/_site/assets/pdfs/setup/mac-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/_site/assets/pdfs/setup/mac-setup.md b/website/_site/assets/pdfs/setup/mac-setup.md index 4ad952c3..667191eb 100644 --- a/website/_site/assets/pdfs/setup/mac-setup.md +++ b/website/_site/assets/pdfs/setup/mac-setup.md @@ -60,7 +60,7 @@ $ sudo pip install --upgrade setuptools
virtualenv & virtualenvwrapper
-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: +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: ```bash $ sudo pip install virtualenv