mleglise/dotfiles-public — Issue #2: RVM Install with Lion and XCode 4.2.1
Author: jspooner
Created: 2012-02-08 19:34:54+00:00
State: open

When using xcode 4.2.1 I had to pass --with-gcc=clang

rvm install 1.9.3 --with-gcc=clang
rvm install 1.9.2 --with-gcc=clang

FYI

wl00030835:~ jspooner$ ls -al /Developer/usr/bin/ | grep gcc
lrwxr-xr-x 1 root wheel 12 Feb 8 10:08 cc -> llvm-gcc-4.2
lrwxr-xr-x 1 root wheel 12 Feb 8 10:08 gcc -> llvm-gcc-4.2
lrwxr-xr-x 1 root wheel 28 Feb 8 10:08 gcov-4.2 -> ../llvm-gcc-4.2/bin/gcov-4.2
lrwxr-xr-x 1 root admin 52 Feb 8 10:07 i686-apple-darwin11-llvm-g++-4.2 -> ../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-g++-4.2
lrwxr-xr-x 1 root admin 52 Feb 8 10:07 i686-apple-darwin11-llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-cpp-4.2 -> ../llvm-gcc-4.2/bin/llvm-cpp-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-g++ -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-g++-4.2 -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-gcc -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2