Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam for Mac OS X - LLVM-1.5
From: er (er.ci.2020_at_[hidden])
Date: 2011-03-05 10:45:21


On 3/4/11 11:10 PM, er wrote:
> On 2/22/11 4:29 PM, er wrote:
>>
>>>
>>> Please try
>>> sudo bjam toolset=darwin-4.4 -a
>>> and let us know what happens.
>>
>> Thank you, the matter is indeed resolved by following the steps above.
>>
>
> To recap:
>
> using darwin : 4.0 : g++-4.0 ;
> using darwin : 4.2 : g++-4.2 ;
> using darwin : 4.4 : g++-4 : <linkflags>\"-L/sw/bin\" ; # fink ;
> using clang : 4.2 : "/usr/llvm-gcc-4.2/bin/llvm-g++-4.2" ;
>
> and they all seem to do fine.
>
> As for for LLVM-1.5 (known as clang), I believe the relevant file is
> /usr/bin/clang. Tried variations on the above such as
>
> user-config.jam:
> using clang : 1.5 : clang ;
>
> $ sudo bjam clang-1.5 -a
>
> but it has only spat out junk:
>
> ...patience...
> ...patience...
> ...found 1812 targets...
> ...updating 37 targets...
> clang-darwin.compile.c++
> ../../../../../bin.v2/libs/assign/v2/test/unit_testing/detail.test/clang-darwin-1.5/debug/detail.o
>
> clang: warning: not using the clang compiler for C++ inputs
> /tmp/cc-97ZBwS.s:43:suffix or operands invalid for `push'
> /tmp/cc-97ZBwS.s:70:suffix or operands invalid for `push'
> /tmp/cc-97ZBwS.s:79:suffix or operands invalid for `pop'
> /tmp/cc-97ZBwS.s:102:suffix or operands invalid for `push'
> /tmp/cc-97ZBwS.s:117:suffix or operands invalid for `call'
> /tmp/cc-97ZBwS.s:129:suffix or operands invalid for `push'
> /tmp/cc-97ZBwS.s:152:suffix or operands invalid for `call'
> etc.
>

PS:

using clang : 1.5 : /usr/bin/clang ;

$sudo bjam clang-1.5 -a

clang: error: assembler command failed with exit code 1 (use -v to see
invocation)

     "/usr/bin/clang" -x c++ -O0 -g -O0 -fno-inline -Wall -pedantic -g
-DBOOST_ALL_NO_LIB=1 -I"../../../../.." -c -o
"../../../../../bin.v2/libs/test/build/clang-darwin-1.5/debug/link-static/unit_test_monitor.o"
"../../../../../libs/test/src/unit_test_monitor.cpp"

...failed clang-darwin.compile.c++
../../../../../bin.v2/libs/test/build/clang-darwin-1.5/debug/link-static/unit_test_monitor.o...

> Any suggestion?
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk