Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore</quote>
This is not true. gcc-4.2 is still there, but it's no longer symlinked to /usr/bin/gcc.
Put export CC=gcc-4.2 in your shell's start-up files, and you should be good to go.
telemachus —
Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore
This is not true. gcc-4.2 is still there, but it’s no longer symlinked to /usr/bin/gcc.
Put export CC=gcc-4.2 in your shell’s start-up files, and you should be good to go.
telemachus —
No, it wasn’t there. This is fresh Lion install with fresh XCode 4.2 install. You probably upgraded system that previously had it. I’m not the only one: https://github.com/sstephenson/ruby-build/issues/62
dejan —
Hmm. Well, yes and no. The machine I’m on is a brand new installation (wiped the disk, installed Lion, then installed Xcode). However, I installed it in September, and I now see that it’s Xcode 4.1. Xcode was just updated again, so maybe 4.2.1 (or whatever the exact number of the update is) no longer installs vanilla gcc-4.2.
telemachus —
Exactly. “Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore”
Comments
/usr/bin/gcc
. Putexport CC=gcc-4.2
in your shell's start-up files, and you should be good to go.This is not true. gcc-4.2 is still there, but it’s no longer symlinked to
/usr/bin/gcc
.Put
export CC=gcc-4.2
in your shell’s start-up files, and you should be good to go.No, it wasn’t there. This is fresh Lion install with fresh XCode 4.2 install. You probably upgraded system that previously had it. I’m not the only one: https://github.com/sstephenson/ruby-build/issues/62
Hmm. Well, yes and no. The machine I’m on is a brand new installation (wiped the disk, installed Lion, then installed Xcode). However, I installed it in September, and I now see that it’s Xcode 4.1. Xcode was just updated again, so maybe 4.2.1 (or whatever the exact number of the update is) no longer installs vanilla
gcc-4.2
.Exactly. “Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore”
Post a comment