[cfe-dev] clang 1.7 - os x - bjam
Douglas Gregor
dgregor at apple.com
Mon Apr 11 17:21:25 PDT 2011
On Mar 29, 2011, at 1:49 PM, er wrote:
> I'm unable to exec bjam clang on some test suite. I have no such
> problems with other configurations. Any suggestion, please?
>
> *** Platform : OS X 10.6.7
>
> *** ~/user-config.jam :
>
> #Invoke $sudo bjam clang-4.2 -a
> using clang : 4.2 : /usr/llvm-gcc-4.2/bin/llvm-g++-4.2 ; # PASSES
>
> #Invoke $sudo bjam clang -a
> using clang ; # FAILS
>
> OR
>
> #Invoke $sudo bjam clang-1.7 -a
> using clang : 1.7 : clang : /usr/bin ; #FAILS
> OR
> using clang : 1.7 : clang : <linkflags>\"-L/usr/bin\" ; # FAILS
>
> In each case, error similar to:
> command not found
> ...patience...
> ...patience...
> ...found 1687 targets...
> ...updating 61 targets...
> clang-darwin.compile.c++
> ../../../../../bin.v2/libs/some_test/clang-darwin/debug/ref.o
> /bin/sh: line 1: clang++: command not found
>
> ...some assembler faults...
(Apple) Clang (aka Apple LLVM Compiler) version 1.7 does not contain support for C++. You'll need a more recent Apple LLVM Compiler.
- Doug
More information about the cfe-dev
mailing list