Install gcc on mac os x lion without xcode


If you're on either one of these operating systems, then head over to the Apple Developers website.

  • mac dvd ripper os x lion?
  • ouba the great journey for mac?
  • virus protection on mac os x?
  • c++ - How can I install GCC on Mac OS X Lion without Xcode? - Super User;

You'll need to have a free developer account to login and access the downloads. Just search for Command Line Tools and download the appropriate file. The download size is pretty small, and from here, the procedure is pretty standard. Just mount the DMG file and run the package installer. The process shown above actually works for all supported versions of OS X.

Sources for GCC, compatibility with 10.8

However, for more recent versions of OS X version You can find and open Terminal via Spotlight Search, from the Utilities folder in Applications, or from your Launchpad. Once Terminal is up, you will need to type in the following command then press the Enter key:. You should now see a software update popup asking you the following: Would you like to install the tools now? Now, you just play the waiting game.

Old Mac? Find old versions of XCode

Go ahead and take a break; the installer should take over and pretty much handle the rest by itself. Depending on your connection speed, it shouldn't take too long since the file size isn't too big. Click on Done and you're all set.

Apple Footer

Mac OS X or later is required to use the package installer. Install GCC without XCode in Mac OS X. The download is less than MB. The osx-gcc-installer allows you to install the essential compilers from You can install just the Xcode Command Line Tools, which includes a.

Mac OS X has an atrocious packaging system. Apple packages overwrite files installed by other packages.

Install GCC Without XCode in Mac OS X

While the install script does not overwrite existing files, the uninstall script does not check if a file has been overwritten by an Apple package, and therefore, is still needed. It is possible to list all the files in the package receipt database and check if a file that is about to be deleted is still needed by another package and skip it. The uninstall script may be amended in the future to do so at the expense of speed. To install a new major version of the developer tools, it will be necessary to first uninstall, then create a new archive from the new Xcode Install.

Your Answer

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Skip to content.

Dismiss Join GitHub today GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together. Sign up. Find file.

For users who can download from Apple a build of Xcode, but not the command line tools

Download ZIP. Launching GitHub Desktop Go back.

Launching Xcode Launching Visual Studio Fetching latest commit….