jemurray@dsg:~ $ gcc-bash: gcc: command not found
In order to get all your open source compilers back you need to:
- Download the latest version of Xcode. You can do that from the Apple App Store.
- Once Xcode is downloaded and installed, you need to install the Xcode Command Line Tools.
- Start Xcode
- Go to Xcode -> Preferences -> Downloads
- Click Install on Command Line Tools (see screen shot below)
That is it:
jemurray@dsg:~ $ which gcc/usr/bin/gccjemurray@dsg:~ $ which clang/usr/bin/clangjemurray@dsg:~ $ ls -ald /usr/includedrwxr-xr-x 281 root wheel 9554 Mar 15 13:53 /usr/include
No comments:
Post a Comment