[cfe-dev] libcxx+clang ToT Build Failures

Dean Michael Berris mikhailberis at gmail.com
Fri Apr 13 05:36:27 PDT 2012

On Fri, Apr 13, 2012 at 7:34 PM, Jean-Daniel Dupas
<devlists at shadowlab.org> wrote:
> Le 13 avr. 2012 à 09:38, Dean Michael Berris a écrit :
>> I'm following the instructions at http://libcxx.llvm.org/ -- I've also
>> been trying to build it using CMake but I'm not getting far with clang
>> either.
>> Build environment is Mac OS X 10.6.8, clang is built with the stock GCC.
> Don't get issue with the same config and clang TOT.
> Make sure you are using the freshly build clang binary (using clang --version).

Oh, D'oh -- yes, you're right. I had been assuming that `sudo make
install` for clang was replacing the clang installed in /usr/bin when
in fact the newly built clang is clang-3.1.

I've remedied this by doing:

CXX=clang-3.1 ./buildit

Instead of the instructions from the website.

Thanks for the hint!


Dean Michael Berris

More information about the cfe-dev mailing list