问题
Is it possible to install clang 3.1 on xcode 4.2 (Snow Leopard)?
回答1:
You can also build and install it yourself.
Instructions can be found here.
I'm not sure if this (or the MacPorts solution... +1 to @trojanfoe) will easily be callable from Xcode though. After moving everything from "/Developer
" into & within the Xcode package, I'm thinking Apple is trying to keep Xcode a "walled garden" as well.
回答2:
Yes, try the macports version.
You can also download the binaries, if you can't be bothered to build it.
来源:https://stackoverflow.com/questions/11277347/clang-3-1-on-xcode-4-2-snow-leopard