Skip to content

Instantly share code, notes, and snippets.

@jasonm
Created January 17, 2013 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonm/4554159 to your computer and use it in GitHub Desktop.
Save jasonm/4554159 to your computer and use it in GitHub Desktop.
[/tmp/sbarro] xcodebuild -version
Xcode 4.2.1
Build version 4D502
[/tmp/sbarro] which gcc
/usr/bin/gcc
[/tmp/sbarro] gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[/tmp/sbarro] brew list | grep gcc
apple-gcc42
[/tmp/sbarro] brew info apple-gcc42
apple-gcc42: stable 4.2.1-5666.3
http://r.research.att.com/tools/
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3 (104 files, 75M) *
https://github.com/homebrew/homebrew-dupes/commits/master/apple-gcc42.rb
==> Caveats
NOTE:
This formula provides components that were removed from XCode in the 4.2
release. There is no reason to install this formula if you are using a
version of XCode prior to 4.2.
This formula contains compilers built from Apple's GCC sources, build
5666.3, available from:
http://opensource.apple.com/tarballs/gcc
All compilers have a `-4.2` suffix. A GFortran compiler is also included.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment