clang 1.7 - os x - bjam

classic Classic list List threaded Threaded
3 messages Options
er
Reply | Threaded
Open this post in threaded view
|

clang 1.7 - os x - bjam

er
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...

*** Additionally,

usr $ find . -name "clang++" -print
[nothing]
usr $ find . -name "clang" -print
./bin/clang
./lib/clang
usr $ find . -name "clang" -type d -print
./lib/clang

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang 1.7 - os x - bjam

Eric Christopher-2

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?
>
> *** Additionally,
>
> usr $ find . -name "clang++" -print
> [nothing]
> usr $ find . -name "clang" -print
> ./bin/clang
> ./lib/clang
> usr $ find . -name "clang" -type d -print
> ./lib/clang

Problem with your clang install?

-eric
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: clang 1.7 - os x - bjam

Douglas Gregor
In reply to this post by er

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
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev